diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-10-09 03:42:06 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1999-10-09 03:42:06 +0000 |
commit | acd5d55e740e3de51e4e63a4cf80566349e13a99 (patch) | |
tree | 32486c5f0a10e5103b98fbd2ab7eb49a1e62a6bb /sys/dev/ata/wd.c | |
parent | b045744877f18cf1bb06efce9045b8f79783b17e (diff) |
wdc layer work:
Separate wdc_probe_caps into wdc_probe_caps and wdc_print_caps for more
flexibility in printing capability information.
Get rid of wdc_final_attach.
Include name of device (e.g. cd0), if possible, on errors.
atapiscsi layer work:
Put a pointer to the SCSI device into ata_drive_datas' drv_softc field
Simplify, simplify, simplify. Got rid of a bunch of fields in atapiscsi_softc
Delay printing capabilities until we know the real device name (e.g. st0)
Diffstat (limited to 'sys/dev/ata/wd.c')
-rw-r--r-- | sys/dev/ata/wd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index f246b369dbf..e79a0997065 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.7 1999/08/15 09:47:18 millert Exp $ */ +/* $OpenBSD: wd.c,v 1.8 1999/10/09 03:42:03 csapuntz Exp $ */ /* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */ /* @@ -297,6 +297,9 @@ wdattach(parent, self, aux) return; } + wdc_probe_caps(wd->drvp, &wd->sc_params); + wdc_print_caps(wd->drvp); + for (blank = 0, p = wd->sc_params.atap_model, q = buf, i = 0; i < sizeof(wd->sc_params.atap_model); i++) { c = *p++; |