DragonFly BSD
DragonFly commits List (threaded) for 2012-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: bus: Change device_getenv_int interface a little bit


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Apr 2012 03:48:40 -0700 (PDT)

commit d8abea909bd0a9a3a2a6f0a7116a9cb5721bab36
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Mon Apr 16 17:51:14 2012 +0800

    bus: Change device_getenv_int interface a little bit
    
    - Pass in the fallback value
    - If the kgetenv fails, fallback value will be returned

Summary of changes:
 sys/bus/pci/pci.c   |    6 +++---
 sys/kern/subr_bus.c |    7 +++----
 sys/sys/bus.h       |    2 +-
 3 files changed, 7 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d8abea909bd0a9a3a2a6f0a7116a9cb5721bab36


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]