summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-01-21 19:51:23 +0000
committerimp <imp@FreeBSD.org>2005-01-21 19:51:23 +0000
commit073c1259a4af2d9c0006b3165dfde25d96c4829f (patch)
treefad97684d404034f7f9ad386a2013af16ffb7adf
parent082eb6999014ff2e7e0043cb5500e9a3f00f79c3 (diff)
downloadFreeBSD-src-073c1259a4af2d9c0006b3165dfde25d96c4829f.zip
FreeBSD-src-073c1259a4af2d9c0006b3165dfde25d96c4829f.tar.gz
we don't need the offset in the attr memory to get the ethernet
address, nor do we need the alignment requirements, so eliminate them. This likely means that we can now collapse some of the entries as we have no need of them anymore (they match other entries and were there only to get the right attr memory offset of the enet addr).
-rw-r--r--sys/dev/fe/if_fe_pccard.c26
1 files changed, 12 insertions, 14 deletions
diff --git a/sys/dev/fe/if_fe_pccard.c b/sys/dev/fe/if_fe_pccard.c
index 8e79b8c..b887620 100644
--- a/sys/dev/fe/if_fe_pccard.c
+++ b/sys/dev/fe/if_fe_pccard.c
@@ -63,27 +63,25 @@ static int fe_pccard_match(device_t);
static const struct fe_pccard_product {
struct pccard_product mpp_product;
- uint32_t mpp_ioalign; /* required alignment */
- int mpp_enet_maddr;
int mpp_flags;
#define MPP_MBH10302 1
} fe_pccard_products[] = {
/* These need to be first */
- { PCMCIA_CARD(FUJITSU2, FMV_J181, 0), 0, -1, MPP_MBH10302},
- { PCMCIA_CARD(FUJITSU2, FMV_J182, 0), 0, 0xf2c},
- { PCMCIA_CARD(FUJITSU2, FMV_J182A, 0), 0, 0x1cc},
- { PCMCIA_CARD(FUJITSU2, ITCFJ182A, 0), 0, 0x1cc},
+ { PCMCIA_CARD(FUJITSU2, FMV_J181, 0), MPP_MBH10302 },
+ { PCMCIA_CARD(FUJITSU2, FMV_J182, 0), 0 },
+ { PCMCIA_CARD(FUJITSU2, FMV_J182A, 0), 0 },
+ { PCMCIA_CARD(FUJITSU2, ITCFJ182A, 0), 0 },
/* These need to be second */
- { PCMCIA_CARD(TDK, LAK_CD021BX, 0), 0, -1 },
- { PCMCIA_CARD(TDK, LAK_CF010, 0), 0, -1 },
+ { PCMCIA_CARD(TDK, LAK_CD021BX, 0), 0 },
+ { PCMCIA_CARD(TDK, LAK_CF010, 0), 0 },
#if 0 /* XXX 86960-based? */
- { PCMCIA_CARD(TDK, LAK_DFL9610, 1), 0, -1 },
+ { PCMCIA_CARD(TDK, LAK_DFL9610, 1), 0 },
#endif
- { PCMCIA_CARD(CONTEC, CNETPC, 0), 0, -1 },
- { PCMCIA_CARD(FUJITSU, LA501, 0), 0x20, -1 },
- { PCMCIA_CARD(FUJITSU, LA10S, 0), 0, -1 },
- { PCMCIA_CARD(FUJITSU, NE200T, 0), 0, -1, MPP_MBH10302},/* Sold by Eagle */
- { PCMCIA_CARD(RATOC, REX_R280, 0), 0, 0x1fc },
+ { PCMCIA_CARD(CONTEC, CNETPC, 0), 0 },
+ { PCMCIA_CARD(FUJITSU, LA501, 0), 0 },
+ { PCMCIA_CARD(FUJITSU, LA10S, 0), 0 },
+ { PCMCIA_CARD(FUJITSU, NE200T, 0), MPP_MBH10302 },/* Sold by Eagle */
+ { PCMCIA_CARD(RATOC, REX_R280, 0), 0 },
{ { NULL } }
};
OpenPOWER on IntegriCloud