diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-06-28 18:31:03 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-06-28 18:31:03 +0000 |
commit | 32d204697861b907520e94f82e392d3e7d6d661a (patch) | |
tree | 7bad5a228621b81780b7712982b6a979ce2df424 /sys/dev/ic/adv.c | |
parent | 12135c2c16aaab7651a7b1c48ed35586452fadcc (diff) |
Remove all adapter-specific 'struct scsi_device's. They are never used. First
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
Diffstat (limited to 'sys/dev/ic/adv.c')
-rw-r--r-- | sys/dev/ic/adv.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/ic/adv.c b/sys/dev/ic/adv.c index 5f54e023499..bd56742bc06 100644 --- a/sys/dev/ic/adv.c +++ b/sys/dev/ic/adv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adv.c,v 1.31 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: adv.c,v 1.32 2010/06/28 18:31:01 krw Exp $ */ /* $NetBSD: adv.c,v 1.6 1998/10/28 20:39:45 dante Exp $ */ /* @@ -93,16 +93,6 @@ struct scsi_adapter adv_switch = }; -/* the below structure is so we have a default dev struct for out link struct */ -struct scsi_device adv_dev = -{ - NULL, /* Use default error handler */ - NULL, /* have a queue, served by this */ - NULL, /* have no async handler */ - NULL, /* Use default 'done' routine */ -}; - - #define ADV_ABORT_TIMEOUT 2000 /* time to wait for abort (mSec) */ #define ADV_WATCH_TIMEOUT 1000 /* time to wait for watchdog (mSec) */ @@ -523,7 +513,6 @@ adv_attach(sc) sc->sc_link.adapter_softc = sc; sc->sc_link.adapter_target = sc->chip_scsi_id; sc->sc_link.adapter = &adv_switch; - sc->sc_link.device = &adv_dev; sc->sc_link.openings = 4; sc->sc_link.adapter_buswidth = 7; |