mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
Dont panic if no sub-driver is found.
This commit is contained in:
parent
77145a3388
commit
a9ec39136b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57024
|
@ -128,7 +128,7 @@ atapi_attach(struct ata_softc *scp, int32_t device)
|
|||
atp = NULL;
|
||||
}
|
||||
/* store our softc */
|
||||
atp->controller->dev_softc[ATA_DEV(atp->unit)] = atp;
|
||||
scp->dev_softc[ATA_DEV(atp->unit)] = atp;
|
||||
}
|
||||
|
||||
int32_t
|
||||
|
|
Loading…
Reference in a new issue