| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
Reviewed by: imp
|
|
|
|
| |
don't panic on a NULL pointer in that case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the individual drivers and into the common routine ether_input().
Also, remove the (incomplete) hack for matching ethernet headers
in the ip_fw code.
The good news: net result of 1016 lines removed, and this should make
bridging now work with *all* Ethernet drivers.
The bad news: it's nearly impossible to test every driver, especially
for bridging, and I was unable to get much testing help on the mailing
lists.
Reviewed by: freebsd-net
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
first. This will fix a few cards that hang on the WD probe. He tells
me that PAO went one step farther and removed the WD proble completely
and none of the cards in the 2.x database broke in PAO3. Since I'm
more conservative in this code, I'm just swapping the order, which he
said also fixed his problem.
Reviewed by: mdodd, iwasaki
Submitted by: sanpai@sanpai.org
|
|
|
|
| |
Remove ~60 unneeded #include <sys/malloc.h>
|
| |
|
| |
|
|
|
|
|
|
| |
too many, so I removed the checks for the valid OUIs. We already do a
checksum of the entire ethernet address, so extra checking against the
OUI shouldn't be needed.
|
|
|
|
|
| |
PR: 16922
Submitted by: takawata@shidahara1.planet.sci.kobe-u.ac.jp
|
|
|
|
|
|
|
|
| |
Many ed-based Ethernet PC-cards can't get correct MAC address without
this patch.
Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Reviewed by: Warner Losh <imp@village.org>
|
|
|
|
|
|
|
| |
o Expose ed_stop and call it early to shutdown the hardware.
o When releasing the interrupt, pass the cookie for the irq, not
a pointer to the cookie (this is the base problem).
o Release other resources used, just like the ep driver
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
problem.
o Create new timeout routine so we don't detach the card inside a ISR
but instead drop back to spl0 via a timeout of 0.
o Actually delete the child of the pccard device rather than just faking
it badly.
o Fix sio, ed and ep to have pccard detach routines that are int rather
than void.
o Fix ep and ed pccard detach routines to use if_detach rather than just
if_down. if_detach destroys the device, while if_down just marks it
down. In this incarnation of the pccard things, we map the disable
the slot action to detach the driver, which removes the driver from the
device tree. When that is done, a panic would soon follow as the
ifconfig tried to down the device.
Didn't fix:
o Should cache the pccard dev child's pointer in struct slot
o remove now unused parts of struct slot
o Any driver using softc after detach has been called. sio's softc used
to be statically allocated, so you could check sc->gone, but that is
now gone.
o Didn't remove gone from softc of drivers that use the old pccard method.
Didn't test:
o ed driver changes
o sio driver changes on pccards
o suspend (no laptop or apm support on my desktop)
|
|
|
|
|
|
| |
from blowing up on PCMCIA systems. The hack isn't needed anymore.
Reminded by: Blaz Zupan <blaz@gold.amis.net>
|
|
|
|
|
| |
time when a strcmp against the device name was required. Sio patches
sent to peter for review.
|
|
|
|
| |
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
| |
|
|
|
|
|
| |
cards. previous order caused computers with NE2000 cards
to hang during boot.
|
|
|
|
|
|
| |
On NEC PC-98, asic_addr != nic_addr + 0x10.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
|
|
|
|
| |
the device in question.
Also fix warnings on if_ep_pccard.c
|
|
|
|
|
|
| |
Add another OUI to those acceptible to linksys (this check may need to
be removed).
A couple of style(9) nits.
|
|
|
|
|
|
| |
new code is conditionalized by the vendor's ethernet OUI
Obtained from: PAO Project
|
|
|
|
|
|
| |
Remove debug printfs.
This should allow the ed driver to work when memory mapping works again.
|
|
|
|
|
|
|
|
| |
yet, but that should be resolved shortly. Non memory mapped ed
devices should work, but I cannot test this since my only ed card is
memory mapped.
Submitted by: Matt Dodd <mdodd@freebsd.org>
|