git: bus: Change device_getenv_int interface a little bit

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Apr 16 03:48:40 PDT 2012


commit d8abea909bd0a9a3a2a6f0a7116a9cb5721bab36
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list