aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/txp
Commit message (Collapse)AuthorAgeFilesLines
* network interface driver changes:Sam Leffler2002-11-141-28/+12
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=106937
* Change callers of mtx_init() to pass in an appropriate lock type name. InJohn Baldwin2002-04-041-1/+2
| | | | | | | | | | most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64 Notes: svn path=/head/; revision=93818
* Remove __P.Alfred Perlstein2002-03-201-38/+38
| | | | Notes: svn path=/head/; revision=92739
* Initialize variables before use. This was needed to pass -Werror.Jeff Roberson2002-03-191-0/+4
| | | | | | | Reviewed by: jake Notes: svn path=/head/; revision=92643
* Don't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from theBrooks Davis2001-12-031-1/+1
| | | | | | | | | mbuf instead. Suggested by: fenner Notes: svn path=/head/; revision=87276
* Have the driver announce what capabilities it supports. These areJonathan Lemon2001-09-181-6/+5
| | | | | | | currently not under user control. Notes: svn path=/head/; revision=83631
* Make vlan(4) loadable, unloadable, and clonable. As a side effect,Brooks Davis2001-09-051-17/+4
| | | | | | | | | | interfaces must now always enable VLAN support. Reviewed by: jlemon MFC after: 3 weeks Notes: svn path=/head/; revision=83115
* Re-order things slightly in the RX handler for VLAN support: we needBill Paul2001-07-311-5/+4
| | | | | | | | | | call vlan_input_tag() after stripping the ether header from the frame with m_adj(), not before. Noticed by: Brooks Davis <brooks@one-eyed-alien.net> Notes: svn path=/head/; revision=80744
* Remember to zero out certain things that we malloc() and/or contigmalloc().Bill Paul2001-07-271-0/+4
| | | | Notes: svn path=/head/; revision=80457
* Uncomment a return(ENXIO) that I commented out for debugging purposes.Bill Paul2001-07-271-3/+3
| | | | Notes: svn path=/head/; revision=80455
* Turn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alphaBill Paul2001-07-231-1/+1
| | | | | | | won't trap. Notes: svn path=/head/; revision=80229
* AIEEE! Commit the firmware image too. *blush*Bill Paul2001-07-231-0/+5089
| | | | Notes: svn path=/head/; revision=80221
* Grrr. Module depends on vlan.h, and I committed the wrong versionBill Paul2001-07-231-0/+1
| | | | | | | | of if_txpreg.h, which didn't have sc_rxbufprod defined in the softc struct. Notes: svn path=/head/; revision=80220
* You were knocked senseless by the Boomerang, spun around by the Cyclone,Bill Paul2001-07-232-0/+2593
blown over by the Hurricane and had a house dropped on you by the Tornado. Now it's time to have your parade rained on by... the Typhoon! This commit adds driver support for 3Com 3cR990 10/100 ethernet adapters based on the Typhoon I and Typhoon II chipsets. This is actually a port of the OpenBSD driver with many hacks by me. No Virginia, there isn't any support for the hardware crypto yet. However there is support for TCP/IP checksum offload and VLANs. Special thanks go to Jason Wright, Aaron Campbell and Theo de Raadt for squeezing enough info out of 3Com to get this written, and for doing most of the hard work. Manual page is included. Compiled as a module and included in GENERIC. Notes: svn path=/head/; revision=80219