summaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata_wdc.c
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2011-05-24 23:18:48 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2011-05-24 23:18:48 +0000
commitefcbab8676d19c3ad2b884c8249d3e40467d940c (patch)
tree4fda484ceb97ee2d25761247b4c23aa359cac932 /sys/dev/ata/ata_wdc.c
parent74ab674d435acdab3c4aa84f2cb2e4cd6b2d6f6b (diff)
Move wdc_cd from ata/ata_wdc.c to ic/wdc.c so that you can compile a
kernel without the former. Also, eliminate two dead stores in wdcattach(). ok dlg@
Diffstat (limited to 'sys/dev/ata/ata_wdc.c')
-rw-r--r--sys/dev/ata/ata_wdc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ata/ata_wdc.c b/sys/dev/ata/ata_wdc.c
index 41d9a21fddc..46e4305b0d8 100644
--- a/sys/dev/ata/ata_wdc.c
+++ b/sys/dev/ata/ata_wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ata_wdc.c,v 1.38 2011/04/18 04:16:13 deraadt Exp $ */
+/* $OpenBSD: ata_wdc.c,v 1.39 2011/05/24 23:18:47 matthew Exp $ */
/* $NetBSD: ata_wdc.c,v 1.21 1999/08/09 09:43:11 bouyer Exp $ */
/*
@@ -98,10 +98,6 @@ int wdcdebug_wd_mask = WDCDEBUG_WD_MASK;
#define ATA_DELAY 45000 /* 45s for a drive I/O */
-struct cfdriver wdc_cd = {
- NULL, "wdc", DV_DULL
-};
-
void wdc_ata_bio_start(struct channel_softc *, struct wdc_xfer *);
void _wdc_ata_bio_start(struct channel_softc *, struct wdc_xfer *);
int wdc_ata_bio_intr(struct channel_softc *, struct wdc_xfer *, int);