diff options
author | 2010-06-28 18:31:01 +0000 | |
---|---|---|
committer | 2010-06-28 18:31:01 +0000 | |
commit | 8952d2e01a836be8c6602edcd10a105fd837aee4 (patch) | |
tree | 7f8c56b5fcd6e61d834328df10e42768fb7badee /sys/dev/ic/iha.c | |
parent | Update the Safe module to version 2.2.7 for CVE-2010-1168 and (diff) | |
download | wireguard-openbsd-8952d2e01a836be8c6602edcd10a105fd837aee4.tar.xz wireguard-openbsd-8952d2e01a836be8c6602edcd10a105fd837aee4.zip |
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/iha.c')
-rw-r--r-- | sys/dev/ic/iha.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/ic/iha.c b/sys/dev/ic/iha.c index 7ad622b13fe..df700a9808d 100644 --- a/sys/dev/ic/iha.c +++ b/sys/dev/ic/iha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: iha.c,v 1.38 2010/05/20 00:55:17 krw Exp $ */ +/* $OpenBSD: iha.c,v 1.39 2010/06/28 18:31:02 krw Exp $ */ /*------------------------------------------------------------------------- * * Device driver for the INI-9XXXU/UW or INIC-940/950 PCI SCSI Controller. @@ -60,13 +60,6 @@ struct scsi_adapter iha_switch = { NULL /* free_dev() */ }; -struct scsi_device iha_dev = { - NULL, /* Use default error handler */ - NULL, /* have a queue, served by this */ - NULL, /* have no async handler */ - NULL, /* Use default 'done' routine */ -}; - /* * SCSI Rate Table, indexed by FLAG_SCSI_RATE field of * TCS_Flags. @@ -373,7 +366,6 @@ iha_init_tulip(sc) */ sc->sc_link.adapter_softc = sc; sc->sc_link.adapter = &iha_switch; - sc->sc_link.device = &iha_dev; sc->sc_link.openings = 4; /* # xs's allowed per device */ sc->sc_link.adapter_target = pScsi->NVM_SCSI_Id; sc->sc_link.adapter_buswidth = pScsi->NVM_SCSI_Targets; |