git: twa(4): Request a bus scan after attaching the driver to CAM.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Jul 9 09:14:36 PDT 2012


commit 0ae4d753afb2286f52c01661964d0495b7e496eb
Author: Sascha Wildner <saw at online.de>
Date:   Mon Jul 9 18:04:04 2012 +0200

    twa(4): Request a bus scan after attaching the driver to CAM.
    
    Our CAM doesn't (yet) do this by default.
    
    This fixes disk detection upon kldload.
    
    Taken-from: FreeBSD (which has since moved it to CAM).
    
    While here, add a cam_simq_release() I forgot and remove a comment that
    does not apply to us.

Summary of changes:
 sys/dev/raid/twa/tw_osl_cam.c |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ae4d753afb2286f52c01661964d0495b7e496eb


-- 
DragonFly BSD source repository





More information about the Commits mailing list