Age | Commit message (Collapse) | Author |
|
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@
|
|
creates the VLAN encapsulation from the tag stored in the mbuf
header. Idea from FreeBSD, input from claudio@ and canacar@.
Switch all hardware VLAN enabled drivers to the new function.
ok claudio@
|
|
|
|
that are 64 bytes with a VLAN header appended like ARP frames or ICMP
echos are flagged as runts when the tag is stripped.
Issue mentioned by yongari@FreeBSD, info gleaned from the Linux driver.
|
|
|
|
|
|
tag in the header. Convert TX tagging in the drivers.
Help and ok brad@
|
|
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
|
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@
|
|
suggested by dlg@ awhile ago.
ok dlg@
|
|
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@
sys/dev/pci/bktr/* ok jakemsr@
|
|
LIST_FOREACH macro.
|
|
- use if_hardmtu for MTU ioctl handlers.
ok reyk@
|
|
|
|
more drivers.
ok reyk@
|
|
appropriate.
ok reyk@
|
|
outbound), using a new BIOCSDIRFILT ioctl;
guidance, feedback and ok canacar@
|
|
|
|
support this feature was removed awhile ago.
|
|
change
|
|
- remove spl from attach
- fix dmesg printing
- de-allocate resources on failure to attach
- remove redundant checks just before pci_mapreg_map()
- use pci_mapreg_type()
|
|
|
|
|
|
pcisubmatch(); kettenis@ testing; brad@ ok
|
|
|
|
|
|
|
|
|
|
|
|
- simplify code a bit and use MEXTADD macro.
|
|
|
|
it'll wedge if you try to transmit a Jumbo frame larger than
8152 bytes.
- Rip out VLAN stripping support. From camiel@
- Only set Ok flags for receive checksum offload otherwise
fallback on software.
|
|
|
|
|
|
- When reading PHY regs over the i2c bus, the turnaround ACK bit
is read one clock edge too late. This bit is driven low by
slave (as any other input data bits from slave) when the clock
is LOW. The current code did read the bit after the clock was
driven high again.
- Do not call mii_pollstat() from within device tick routines; the status
information is updated by mii_tick().
From FreeBSD
|
|
ok krw@ canacar@
|
|
- sturct -> struct (spotted by pedro)
- elimination of consecutive 'the' words
ok jmc@, henning@, krw@, robert@, some whining by jolan@
|
|
{ether,atm,fddi}_ifattach already does this.
ok mcbride@ markus@ henning@
|
|
ETHER_MAX_LEN_JUMBO/ETHERMTU_JUMBO where appropriate.
ok mcbride@ henning@ mickey@
|
|
- remove bogus use of LLADDR
- scrap nge_crc in favour of ether_crc32_be
- accept all multicast when we encounter a multicast range
ok deraadt@
|
|
crawl under mbuf starvation, making the situationmuch worse, and don't make
sense in the first place.
ok tdeval@ millert@ beck@ deraadt@
|
|
I've skipped the GNU stuff for now. From Patrick Latifi.
|
|
|
|
- More technically correct
- Matches FreeBSD and NetBSD
- Preserved #define for 1000baseTX for backwards compatibility
ok jason@
|
|
recommended by jason
|
|
Clean up debugging printfs
Remove some old debugging code that shouldn't be there.
More changes from FreeBSD:
- ignore alignment problem on x86 platforms and don't copy.
- increase receive list to 128 to match transmit
- change a bit in the interrupt handling
|
|
|
|
|
|
|
|
|