diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-12-31 04:27:53 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-12-31 04:27:53 +0000 |
commit | c0a51466085c4c6fdd5826b89447d1b7be4c3a85 (patch) | |
tree | 19e6d82ebcd56b3c215d5babdbd02596f8c34a4c /sys/dev/ic/atw.c | |
parent | a0f8a7c8c1d44906df87778f54b3e7322d9c80a1 (diff) |
Define atw cfdriver struct in atw.c so atw at cardbus does not
depend on atw at pci. ok millert@
Diffstat (limited to 'sys/dev/ic/atw.c')
-rw-r--r-- | sys/dev/ic/atw.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c index 9a8c1f41127..07e5da5f304 100644 --- a/sys/dev/ic/atw.c +++ b/sys/dev/ic/atw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atw.c,v 1.26 2004/07/25 13:36:08 millert Exp $ */ +/* $OpenBSD: atw.c,v 1.27 2004/12/31 04:27:52 jsg Exp $ */ /* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */ /*- @@ -285,6 +285,10 @@ void atw_si4126_write(struct atw_softc *, u_int, u_int); const struct atw_txthresh_tab atw_txthresh_tab_lo[] = ATW_TXTHRESH_TAB_LO_RATE; const struct atw_txthresh_tab atw_txthresh_tab_hi[] = ATW_TXTHRESH_TAB_HI_RATE; +struct cfdriver atw_cd = { + NULL, "atw", DV_IFNET +}; + const char *atw_tx_state[] = { "STOPPED", "RUNNING - read descriptor", |