diff options
author | mav <mav@FreeBSD.org> | 2009-02-14 21:54:44 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-02-14 21:54:44 +0000 |
commit | 200ea85159a39d9b59e115227fd3a7c347e9ceaf (patch) | |
tree | 83bc5ce5082c66890ae2f7068fd3d5bed3a57594 /sys/kern/kern_descrip.c | |
parent | 130b8c14ad2ecacb715fe63397e5e867a7a7c7ec (diff) | |
download | FreeBSD-src-200ea85159a39d9b59e115227fd3a7c347e9ceaf.zip FreeBSD-src-200ea85159a39d9b59e115227fd3a7c347e9ceaf.tar.gz |
DEVICE_PROBE(9) claims that we must not initialize softc on probe stage.
Move channel softc initialization from ata_XXX_probe() to ata_XXX_attach().
Instead of calculating ata channel number as position in child device list,
pass it's real number directly from controller probe routine using ivars.
It is simpler and IMHO more correct.
Diffstat (limited to 'sys/kern/kern_descrip.c')
0 files changed, 0 insertions, 0 deletions