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/isa/aha.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/isa/aha.c')
-rw-r--r-- | sys/dev/isa/aha.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c index 1ba599c9959..7892fb223d4 100644 --- a/sys/dev/isa/aha.c +++ b/sys/dev/isa/aha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha.c,v 1.70 2010/06/26 23:24:44 guenther Exp $ */ +/* $OpenBSD: aha.c,v 1.71 2010/06/28 18:31:02 krw Exp $ */ /* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */ #undef AHADIAG @@ -161,14 +161,6 @@ struct scsi_adapter aha_switch = { 0, }; -/* the below structure is so we have a default dev struct for out link struct */ -struct scsi_device aha_dev = { - NULL, /* Use default error handler */ - NULL, /* have a queue, served by this */ - NULL, /* have no async handler */ - NULL, /* Use default 'done' routine */ -}; - int aha_isapnp_probe(struct device *, void *, void *); int ahaprobe(struct device *, void *, void *); void ahaattach(struct device *, struct device *, void *); @@ -399,7 +391,6 @@ ahaattach(parent, self, aux) sc->sc_link.adapter_softc = sc; sc->sc_link.adapter_target = sc->sc_scsi_dev; sc->sc_link.adapter = &aha_switch; - sc->sc_link.device = &aha_dev; sc->sc_link.openings = 2; bzero(&saa, sizeof(saa)); |