diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-04 10:34:05 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-06-04 10:34:05 +0000 |
commit | e3b8f0e33e350d79d720bc14dc8076e8fc653e13 (patch) | |
tree | 25633eb3012d656fb4d1ac2dcec201cb9b4a6175 /sys/dev/usb/if_auereg.h | |
parent | 9de2d85fb9a6ed44d53a03d680c99999da003cfc (diff) |
Last part of FreeBSD/NetBSD sepcific code removal.
ok jsg@
Diffstat (limited to 'sys/dev/usb/if_auereg.h')
-rw-r--r-- | sys/dev/usb/if_auereg.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/dev/usb/if_auereg.h b/sys/dev/usb/if_auereg.h index 83d7bda4b91..2c2760cf8d4 100644 --- a/sys/dev/usb/if_auereg.h +++ b/sys/dev/usb/if_auereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_auereg.h,v 1.10 2007/05/06 04:08:47 krw Exp $ */ +/* $OpenBSD: if_auereg.h,v 1.11 2007/06/04 10:34:04 mbalmer Exp $ */ /* $NetBSD: if_auereg.h,v 1.16 2001/10/10 02:14:17 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -227,22 +227,10 @@ struct aue_cdata { struct aue_softc { USBBASEDEVICE aue_dev; -#if defined(__FreeBSD__) - struct arpcom arpcom; - device_t aue_miibus; -#define GET_IFP(sc) (&(sc)->arpcom.ac_if) -#define GET_MII(sc) (device_get_softc((sc)->aue_miibus)) -#elif defined(__NetBSD__) - struct ethercom aue_ec; - struct mii_data aue_mii; -#define GET_IFP(sc) (&(sc)->aue_ec.ec_if) -#define GET_MII(sc) (&(sc)->aue_mii) -#elif defined(__OpenBSD__) struct arpcom arpcom; struct mii_data aue_mii; #define GET_IFP(sc) (&(sc)->arpcom.ac_if) #define GET_MII(sc) (&(sc)->aue_mii) -#endif usb_callout_t aue_stat_ch; |