version 1.5, 2002/02/18 19:22:14 |
version 1.5.10.2, 2003/01/28 05:38:39 |
Line 309 ieprobe(struct device *parent, struct cf |
|
Line 309 ieprobe(struct device *parent, struct cf |
|
|
|
/* Look for a network slot interface */ |
/* Look for a network slot interface */ |
|
|
if (matchpodule(pa, MANUFACTURER_ACORN, PODULE_ACORN_ETHER1, -1) == 0) |
return (pa->pa_product == PODULE_ETHER1); |
return(0); |
|
|
|
return(1); |
|
} |
} |
|
|
/* |
/* |
|
|
#endif |
#endif |
|
|
m_freem(m0); |
m_freem(m0); |
len = max(len, ETHER_MIN_LEN); |
if (len < ETHER_MIN_LEN - ETHER_CRC_LEN) { |
|
memset(buffer, 0, ETHER_MIN_LEN - ETHER_CRC_LEN - len); |
|
len = ETHER_MIN_LEN - ETHER_CRC_LEN; |
|
buffer += ETHER_MIN_LEN - ETHER_CRC_LEN; |
|
} |
|
|
/* When we write directly to the card we dont need this */ |
/* When we write directly to the card we dont need this */ |
if (len&1) |
if (len&1) |
host2ie(sc, txbuf, sc->xmit_cbuffs[sc->xchead], len+1 ); |
host2ie(sc, txbuf, sc->xmit_cbuffs[sc->xchead], len+1 ); |