aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ex/if_exvar.h
Commit message (Collapse)AuthorAgeFilesLines
* FCP-101: Remove ex(4).Brooks Davis2019-05-171-118/+0
| | | | | | | | | | Relnotes: yes FCP: https://github.com/freebsd/fcp/blob/master/fcp-0101.md Reviewed by: jhb, imp Differential Revision: https://reviews.freebsd.org/D20230 Notes: svn path=/head/; revision=347913
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
* Some PC Card variants of the 82365 don't seem to like setting the IRQWarner Losh2008-08-241-0/+2
| | | | | | | | | | | | | | number in the irq register. While there are other issues with these variants, avoiding writing to it helps interrupt generation on at least one card, and doesn't hurt on the others. Flag ISA attachment as needing INT_NO_REG written, and don't update the PC Card attachment (which will have the effect of not touching it for PC Cards). Document this in a comment, and tweak one or two formatting nits while I'm here. Notes: svn path=/head/; revision=182088
* Make ex(4) MPSAFE:John Baldwin2008-06-131-20/+16
| | | | | | | | | | | | | - Add a mutex to the softc to protect the softc and device hardware. - Use a private watchdog timer. - Setup interrupt handler after ether_ifattach(). - Use bus_foo() rather than bus_space_foo() and remove bus space tag and handle from softc. Tested by: imp Notes: svn path=/head/; revision=179775
* s/destory/destroy/ (except for the code in contrib/).Pawel Jakub Dawidek2007-04-161-1/+1
| | | | Notes: svn path=/head/; revision=168776
* Stop embedding struct ifnet at the top of driver softcs. Instead theBrooks Davis2005-06-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | struct ifnet or the layer 2 common structure it was embedded in have been replaced with a struct ifnet pointer to be filled by a call to the new function, if_alloc(). The layer 2 common structure is also allocated via if_alloc() based on the interface type. It is hung off the new struct ifnet member, if_l2com. This change removes the size of these structures from the kernel ABI and will allow us to better manage them as interfaces come and go. Other changes of note: - Struct arpcom is no longer referenced in normal interface code. Instead the Ethernet address is accessed via the IFP2ENADDR() macro. To enforce this ac_enaddr has been renamed to _ac_enaddr. - The second argument to ether_ifattach is now always the mac address from driver private storage rather than sometimes being ac_enaddr. Reviewed by: sobomax, sam Notes: svn path=/head/; revision=147256
* MFp4:Warner Losh2004-06-271-10/+37
| | | | | | | | | Use bus space rather than direct inb/outb. Minor style changes while I'm here. Extremely preliminary support for siliconix ethernet cards (but more work is required). Notes: svn path=/head/; revision=131192
* - Declare ex_devclass in if_ex.cMatthew N. Dodd2003-03-291-0/+2
| | | | | | | - Rename module datastructures in if_ex_isa.c to be more standard. Notes: svn path=/head/; revision=112801
* - Move ex_pccard_detach() to if_ex.c and rename it to ex_detach().Matthew N. Dodd2003-03-291-0/+1
| | | | | | | - Add detach method to ISA front end. Notes: svn path=/head/; revision=112800
* Warning police:John Baldwin2001-01-191-0/+2
| | | | | | | | - Share the ex_stop() prototype in if_exvar.h - Remove an unused local variable. Notes: svn path=/head/; revision=71235
* Split out the ISA bus front end code into its own file. PCCARD attachmentMatthew N. Dodd2000-05-011-0/+85
coming later this week. Mitsuru IWASAKI provided a patch to -mobile which I used to make sure I was doing the right thing but only a small part of the actual patch was used. Notes: svn path=/head/; revision=59816