CVSROOT: /cvs Module name: src Changes by: [email protected] 2011/07/16 10:48:43
Modified files:
sys/arch/sparc64/sparc64: autoconf.c
Log message:
device_register() is called on the scsibus(4) devices before
scsibusattach() is called, so saa_sc_link->bus hasn't been initialized
to a valid pointer yet.
Easy fix: Use dev->dv_unit instead of poking into the attach args.
ok krw@, jsing@
