| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o don't strip the Ethernet header from inbound packets; pass packets
up the stack intact (required significant changes to some drivers)
o reference common definitions in net/ethernet.h (e.g. ETHER_ALIGN)
o track ether_ifattach/ether_ifdetach API changes
o track bpf changes (use BPF_TAP and BPF_MTAP)
o track vlan changes (ifnet capabilities, revised processing scheme, etc.)
o use if_input to pass packets "up"
o call ether_ioctl for default handling of ioctls
Reviewed by: many
Approved by: re
|
| |
|
| |
|
|
|
|
|
|
|
| |
an error, go ahead and m_freem the buffer.
PR: 32666
Submitted by: Chi-Fung Fan
|
|
|
|
|
|
| |
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
|
|
|
|
|
| |
Submitted by: nork
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
o Honor NE2000DVF_{AX88190,DL10019} flags by setting the ED_FLAGS_xxxx
flag.
o Mark linksys combo_ecard as ax88190
o Set the type_str to AX88190 for the ax88190 cards.
This fixes ax88190 based cards, for the most part, but doesn't seem to fix
the mii based dl10019 cards (aka linksys cards).
|
|
|
|
|
|
|
|
|
|
| |
Netgear FA-410TXC
Netgear FA-411
Lantech Fastnet TX
Linksys pcm100
Hide the total wildcard device for SVEC too :-(
Obtained from: NetBSD/OpenBSD
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
card is ejected while we're in this routine.
yamamoto-san's original patch had a small race window for AX88190
chips, which I corrected by limiting the number of iterations we'd try
to reset the bits to be about 15ms rather than forever. This seems to
work for me, but I don't have a large collections of cards based on
this chipset.
Submitted by: YAMAMOTO Shigeru
|
|
|
|
|
| |
is bad. I need to correct pccarddev, but I'm not sure how just at the
moment. So I'm firewalling the damage.
|
| |
|
| |
|
| |
|
|
|
|
| |
into stable (mostly , but not only, formatting and comments changes).
|
|
|
|
| |
the loadable bridge module.
|
|
|
|
|
|
|
| |
People with HP PCLAN+ NICs can now happily use the card again
PR: 21087
Submitted by: M. B. Buchanan <buchanan@orbitworld.net>
|
| |
|
|
|
|
|
|
| |
built without support for miibus PHYs. Most ed cards don't need
miibus support, so it's useful to be able to avoid the bloat of
all the mii devices for small fixed-purpose kernels.
|
|
|
|
| |
support.
|
|
|
|
|
|
|
| |
storing a flag in the global variable 'linksys' during the probe
routine and reading it during the attach routine. We now have the
ED_VENDOR_LINKSYS vendor code stored in sc->vendor, so check that
instead.
|
|
|
|
|
|
|
|
|
|
|
| |
not from the probe routine. This was an oversight when I originally
ported the miibus support to -current, though it was mostly harmless.
We now set the vendor code to the new value ED_VENDOR_LINKSYS in
ed_pccard_Linksys() at probe time. Then ed_pccard_attach() checks
the vendor code, and sets up the miibus if appropriate.
Reviewed by: imp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bolted to a ne-2000 chip. This is necessary for the NetGear FA-410TX
and other cards.
This also requires you add mii to your kernel if you have an ed driver
configured.
This code will result in a couple of timeout messages for ed on the
impacted cards. Additional work will be needed, but this does work
right now, and many people need these cards.
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
|
|
|
|
|
|
|
| |
* a ">" is really ">=" ;
* do not try to fetch zero-sized blocks from the card;
* make sure that bpf gets the packets it wants even with
bridging active;
|
|
|
|
| |
header, or we would have a negative length passed to ether_input().
|
|
|
|
|
|
| |
backwards in the three drivers which want to do that.
Reviewed by: mikeh
|
|
|
|
| |
There is no such thing as wierd in the english language.
|
|
|
|
|
| |
Created with: sed(1)
Reviewed by: md5(1)
|
|
|
|
|
|
|
| |
fondling implementation details.
Created with: sed(1)
Reviewed by: md5(1)
|
|
|
|
|
| |
need to verify that all the entries in pccard.conf are present in this
table.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
o Move the ax88190 code to its own function.
o Move all device_method_t, driver_t and DRIVER_MODULE definitions to the
end of files.
o Wrap a few lines > 80 characters.
o Use the same devclass for all ed drivers. This allows machines with
multiple types of cards to have their cards numbered correctly. Before,
you could wind up with two ed0's.
o Protect if_edvar.h from multiple includes because I was there.
|
| |
|
|
|
|
|
|
|
|
| |
require the addition of flag 0x80000 to their config line in
pccard.conf(5). This flag is not optional. These Linksys cards will
not be recognized without it.
Reviewed by: imp, iwasaki
|
|
|
|
|
|
| |
Remove stary blank line.
Submitted by: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
|
|
|
|
| |
these locally for ages.
|
|
|
|
| |
matching the ax88190.
|
|
|
|
|
| |
committed the wrong patch. :-( sn_pccard_products[] should have
been static anyway.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
using a cardbus based system with pccbb providing the pcic interface).
Something isn't quite right.. when the driver allocates and activates
its resources, the IO space that was requested reads as all zeros (versus
the original 0xff's as it normally is when there is no device responding).
Also, deactivate the resources before releasing them. OLDCARD doesn't
seem to care but NEWCARD/CARDBUS get rather unhappy if you release
a resource that hasn't been deactivated yet.
Make pcic_p.c only compile with oldcard kernels.
|
|
|
|
| |
ensues when ifconfig tries to load if_ed.ko when it's already in the kernel.
|
| |
|
|
|
|
| |
Reviewed by: imp
|
|
|
|
|
|
| |
This should solve the problems people were seeing with this driver.
Reported by: phk & others.
|
|
|
|
|
|
| |
- Added PC-98 Cbus devices support.
The original patch is submitted by chi@bd.mbn.or.jp (Chiharu Shibata)
- Removed old ed driver.
|
|
|
|
| |
Partly submitted by: alex
|
| |
|
|
|
|
| |
Submitted by: Alan Clegg <abc@bsdi.com>
|
|
|
|
|
|
|
|
|
| |
ether_ifdetach().
The former consolidates the operations of if_attach(), ng_ether_attach(),
and bpfattach(). The latter consolidates the corresponding detach operations.
Reviewed by: julian, freebsd-net
|
|
|
|
|
|
| |
environment. This fixes the breakage to ISA ethernet cards.
Reviewed by: peter
|