CAM - Auto unit number start based on device
commitc6a64e8b67e95fcc040c3dfed938e02a8b68f728
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 25 Jun 2009 19:35:14 +0000 (25 12:35 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 25 Jun 2009 19:35:14 +0000 (25 12:35 -0700)
tree405aee26959ebe1c624d73f4567cbc3c61dfbbf7
parentfb5735f992a1038f4ffb77ce10513e40c8ad3a6b
CAM - Auto unit number start based on device

If no SCSI devices are wired CAM now automatically starts any umass sim
attachments at unit #8 instead of unit #0.  This reduces interference
between usb mass storage attachments and ahci/sili attachments.  Otherwise
the usb mass storage can steal "da0" away from ahci/sili.
sys/bus/cam/cam_periph.c