Dont panic if no sub-driver is found.

This commit is contained in:
Søren Schmidt 2000-02-07 22:57:11 +00:00
parent 77145a3388
commit a9ec39136b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57024

View file

@ -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