summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-08-24 22:43:11 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-08-24 22:43:11 +0000
commit79ff2e1a25b342d4c81ef87ee4fe2dfa7b061640 (patch)
tree1e609a6e3669756e7443b3a2df2ebcf34255e743 /include
parentd62a69783717cebfc1059fc4fdc6db825779f4d4 (diff)
On O2, the bootpath may omit the pci(0) component and start with scsi(); in
that case, fake the pci(0) part in order to match correctly the onboard scsi controller. While there, make sure device_register() returns early for devices attached to root; without both these changes, an O2 lacking pci(0) in its bootpath would dereference a NULL pointer when softraid would attach. Problem found the hard way by Jukka Taimisto (jtaimisto, iki dot fi), thanks for the report!
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions