aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cs/if_cs_isa.c
Commit message (Collapse)AuthorAgeFilesLines
* - Provide necessary includes.Gleb Smirnoff2013-10-291-2/+4
| | | | | | | | | | - Remove unnecessary includes. Sponsored by: Netflix Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=257324
* repair build for dev/cs.Sean Bruno2013-10-281-0/+1
| | | | | | | Reported by: Outback Dingo <outbackdingo@gmail.com> Notes: svn path=/head/; revision=257262
* Forgot to commit these files too :-(Warner Losh2008-06-061-2/+2
| | | | Notes: svn path=/head/; revision=179618
* Minor clean up to shave about 1.5k off the size of the driver:Warner Losh2008-06-061-7/+5
| | | | | | | | | | | | o remove unused fields from softc and args from cs_alloc_irq o remove some commented code that will never be implemented. o Don't try to send a packet and see if it worked. We don't need this anymore, and it doesn't add any value. o tweaks for BNC and AUI. o limit possible time hung in the kernel to 4s rather than 40s. Notes: svn path=/head/; revision=179597
* cs has detach, remove bogus ifdef.Warner Losh2008-06-061-3/+1
| | | | | | | Remove dedundant initialization of error to 0. Notes: svn path=/head/; revision=179593
* Remove unused fields in softc. If they are ever really needed again,Warner Losh2008-06-061-3/+0
| | | | | | | | | they can re-added. Remove CS_NAME. Don't whine when there's an ignored checksum error: User has said STFU, so we should S the FU. (remove mandated properties). Notes: svn path=/head/; revision=179591
* Make the cs(4) driver MPSAFE:John Baldwin2008-06-051-8/+0
| | | | | | | | | | | | - Add a mutex to the softc to protect the softc and the device hardware. - Add a private timer to manage transmit watchdogs rather than using if_timer/if_watchdog. - Setup the interrupt handler after ether_ifattach(). Tested by: imp Notes: svn path=/head/; revision=179560
* o break newbus api: add a new argument of type driver_filter_t toPaolo Pisati2007-02-231-1/+1
| | | | | | | | | | | | | | | | bus_setup_intr() o add an int return code to all fast handlers o retire INTR_FAST/IH_FAST For more info: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=465712+0+current/freebsd-current Reviewed by: many Approved by: re@ Notes: svn path=/head/; revision=166901
* Start each of the license/copyright comments with /*-, minor shuffle of linesWarner Losh2005-01-061-1/+1
| | | | Notes: svn path=/head/; revision=139749
* 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-1/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* - 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
* Additional enhancments to allow IBM Etherjet cards to be probed,Warner Losh2001-02-231-2/+4
| | | | | | | | | | | | | | | | | | | | attached and ifconfigable. The card doesn't interrupt yet. Also, move towards bus space by introducing new macros/inline functions which make such a move much easier than before. These inline functions are setup now to work around an IBM EtherJet pccard cardbus bridge incompatibility. The card works in 8 bit mode, but not in 16-bit mode when it is connected to a cardbus bridge for reasons unknown. The Linux driver also has a similar workaround in it. Future work will include making the above workaround runtime conditional rather than compile time conditional, as well as fixing the interrupts in pccards and converting it to bus space. Notes: svn path=/head/; revision=72940
* Break the isa attachment of the Crystal Semiconductor 89x0 into twoWarner Losh2001-01-211-0/+127
parts: isa and pccard. The isa one is known to work with an IBM EtherJet ISA card. The pccard one isn't known to work because the EtherJet pccard I purchased recently arrived DOA :-(. I'll commit the pccard.conf entry when the replacement card arrives. I plan on MFC this in a week or two. Notes: svn path=/head/; revision=71316