| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
| |
ok claudio@
|
| |
|
|
| |
ok dlg@
|
| |
|
|
| |
we now know the interface has already been stopped
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by..
RAMDISK - 2176 bytes
RAMDISKB - 1504 bytes
RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users.
Build tested on almost all archs by todd@/brad@
ok naddy@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch case.
Thus allowing drivers to define their own ioctl handlers and then
falling back on ether_ioctl(). The only functional change this results
in at the moment is having all Ethernet drivers returning the proper
errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown
ioctl's.
Shrinks the i386 kernels by..
RAMDISK - 1024 bytes
RAMDISKB - 1120 bytes
RAMDISKC - 832 bytes
Tested by martin@/jsing@/todd@/brad@
Build tested on almost all archs by todd@/brad@
ok jsing@
|
| |
|
|
|
|
|
| |
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
From the Sundance Linux driver.
|
| |
|
|
|
| |
outbound), using a new BIOCSDIRFILT ioctl;
guidance, feedback and ok canacar@
|
| |
|
|
|
|
|
|
| |
- remove spl's from attach
- removing redundant checks before pci_mapreg_map()
- fix dmesg printing
- de-allocate resources on failure to attach
- remove unused VLAN input code from vge(4)
|
| |
|
|
|
| |
- make use of pci_mapreg_map()
- ensure driver cleans after itself if ste_attach() fails
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
irq (for shared irq's) on failure. (should other drivers do the same?)
o if it's a rev 0x12 card, only use the first phy as it reports a
non-existent one as well (From FreeBSD).
o remove splimp/splx from ste_attach().
o some cleanup.
thanks to matt at mattroberts dot org and paolo at actcom dot net dot il
for testing; commit deraadt@.
|
| | |
|
| |
|
|
|
|
|
|
| |
From NetBSD
NetBSD PR 27678 for details
ok mcbride@
|
| |
|
|
| |
- Accept VLAN sized frames. based on diff from canacar@
|
| |
|
|
|
| |
patch submitted and tested by Steffen Schütz, schuetz.steffen at melle de
ok tedu@
|
| |
|
|
|
|
| |
{ether,atm,fddi}_ifattach already does this.
ok mcbride@ markus@ henning@
|
| |
|
|
|
|
| |
already disabled and the status update function fails to clear the overflow,
causing high interrupt load. Reported and tested by Arvid Grøtting.
ok deraadt@
|
| |
|
|
|
| |
FreeBSD if_ste.c revisions 1.28, 1.29, 1.38, 1.43, 1.63, 1.68, 1.70
ok henning@
|
| |
|
|
|
|
|
|
| |
- make multicast ranges work
- replace handrolled crc code with ether_crc32_{be,le}()
- add missing calls to ether_{add,del}multi()
ok deraadt@
|
| |
|
|
|
|
| |
crawl under mbuf starvation, making the situationmuch worse, and don't make
sense in the first place.
ok tdeval@ millert@ beck@ deraadt@
|
| | |
|
| |
|
|
| |
ok tedu@
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
(Look ma, I might have broken the tree)
|
| |
|
|
|
|
|
|
|
|
|
| |
All callers actually took all arguments to pci_intr_map from pci_attach_args
structs, so this simplifies code.
This also allows more complicated interrupt assignment schemes like the one
on sparc64.
This makes sparc64 pci interrupts work.
Inspired by the same change in NetBSD.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
- use the new queue macros.
- use IFQ_POLL() to peek at the next packet.
- use IFQ_IS_EMPTY() for empty check.
- drivers should always check if (m == NULL) after IFQ_DEQUEUE(),
since it could return NULL even when IFQ_IS_EMPTY() is FALSE
under rate-limiting.
- drivers are supposed to call if_start from tx complete interrupts
(in order to trigger the next dequeue under rate-limiting).
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
out. :-( It was never noticed until now since I didn't have an actual D-Link
550TX card to test with. Thanks to Gardner Cohen for sending me one of these.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
- Use TX descriptor polling, similar to the xl driver, to reduce TX overhead.
- As in if_sf, reset PHY when switching modes.
- Remove unused code that was #ifdef foo'd out.
|
| | |
|
| |
|