aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/txp
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the setting of the pci config variables on power state changes.Warner Losh2004-06-281-23/+0
| | | | | | | The bus does this now. Notes: svn path=/head/; revision=131255
* Add missing <sys/module.h> includesPoul-Henning Kamp2004-05-301-0/+1
| | | | Notes: svn path=/head/; revision=129879
* We don't need to initialize if_output, ether_ifattach() does itMaxime Henrion2004-05-231-1/+0
| | | | | | | for us. Notes: svn path=/head/; revision=129616
* Convert callers to the new bus_alloc_resource_any(9) API.Nate Lawson2004-03-171-3/+3
| | | | | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde Notes: svn path=/head/; revision=127135
* Announce ethernet MAC addresss in ether_ifattach().Matthew N. Dodd2004-03-141-3/+0
| | | | Notes: svn path=/head/; revision=126966
* Replace the if_name and if_unit members of struct ifnet with new membersBrooks Davis2003-10-311-2/+1
| | | | | | | | | | | | | | | | if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance. This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics. Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname) Notes: svn path=/head/; revision=121816
* Use __FBSDID().David E. O'Brien2003-08-241-0/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* All current uses of pci_set_powerstate are bogus, at least in theory.Warner Losh2003-07-031-2/+2
| | | | | | | | | | | | | However, they are presently necessary due to bigger bogusness in the pci bus layer not doing the right thing on suspend/resume or on initial device probe. This is exactly the sort of thing that the BURN_BRIDGES option was invented for. Mark all of them as BURN_BRIDGES. As soon as I have the powerstate stuff properly integrated into the pci bus code, I intend to remove all these workarounds. Notes: svn path=/head/; revision=117198
* - Don't call pci_enable_io() in drivers (unless needed for resume).Matthew N. Dodd2003-04-161-18/+0
| | | | | | | | - Don't test memory/port status and emit an error message; the PCI bus code will do this now. Notes: svn path=/head/; revision=113545
* - Express hard dependencies on bus (pci, isa, pccard) andMatthew N. Dodd2003-04-151-1/+3
| | | | | | | | | | | network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.) Notes: svn path=/head/; revision=113506
* Use __FBSDID rather than rcsid[].David E. O'Brien2003-04-031-1/+3
| | | | Notes: svn path=/head/; revision=113038
* Back out M_* changes, per decision of the TRB.Warner Losh2003-02-191-6/+6
| | | | | | | Approved by: trb Notes: svn path=/head/; revision=111119
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.Alfred Perlstein2003-01-211-6/+6
| | | | | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT. Notes: svn path=/head/; revision=109623
* 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