summaryrefslogtreecommitdiff
path: root/sys/dev/ep/if_ep_mca.c
Commit message (Collapse)AuthorAgeFilesLines
* 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 Approved by: re (implicit?) Notes: svn path=/head/; revision=166906
* Make a pass and cleanup the printfs from this driver.Warner Losh2005-07-011-6/+2
| | | | | | | Approved by: re (scottl) blanket ep Notes: svn path=/head/; revision=147717
* u_intXX_t -> uintXX_t while I'm here.Warner Losh2005-01-201-4/+4
| | | | Notes: svn path=/head/; revision=140523
* Remove duplicate $FreeBSD$Warner Losh2004-07-221-3/+0
| | | | | | | Noticed by: njl Notes: svn path=/head/; revision=132529
* Pass sc to GO_WINDOW macro.Warner Losh2003-10-261-1/+1
| | | | | | | | | Use SET_IRQ for pccard case, rather than exapnding it inline. Requested by: mdodd Notes: svn path=/head/; revision=121588
* Whole grab-bag of changes:Warner Losh2003-10-251-1/+1
| | | | | | | | | | | o Make the driver MPSAFE o Some changes due to diff reduction effort with vx. o Removed some obsolete junk. Reviewed by: sam, modd Notes: svn path=/head/; revision=121492
* Fix LINT build by correcting a missed change.Bruce M Simpson2003-10-191-1/+1
| | | | Notes: svn path=/head/; revision=121241
* Use __FBSDID().David E. O'Brien2003-08-241-0/+3
| | | | | | | Also some minor style cleanups. Notes: svn path=/head/; revision=119418
* Style(9) cleanup. There was no consistent style in this driver, andMark Murray2003-07-171-27/+25
| | | | | | | | | | The next round of commits will be to fix up locking in it. This lot is to at least give a consistent base to work off. OK'ed by: imp, mdodd Notes: svn path=/head/; revision=117700
* - Free interrupt handler in ep_free().Matthew N. Dodd2003-03-291-0/+1
| | | | | | | | - Move ep_pccard_detach() to if_ep.c and rename to ep_detach() - Specify detach methods for all bus frontends. Notes: svn path=/head/; revision=112829
* Remove 7 unnecessary includes frmo phk's scriptWarner Losh2000-09-201-1/+0
| | | | Notes: svn path=/head/; revision=66137
* HEADS UP! All 3c5x9 users!Matthew N. Dodd1999-10-271-76/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rip out all the static softc stuff and do softc allocation the right way. - Rewrite most of the ISA code so that it provides a DEVICE_IDENTIFY method to enumerate all non-PnP ISA devices. This has the following consequences: - No 'ep' devices may be hardwired. - All hardwired devices will probably be detected twice. By hardwired I mean: device ep0 at isa? port 0x300 irq 10 - 'ep' devices are ordered by bus, slot, and then MAC address. - Make 3c509B cards work in PnP mode. Yes, they really work. - Convert over to using ifmedia for media selection. No more of this lame 'linkX' stuff. - Consolidate a lot of duplicated code. - Make a stab at not breaking MII based PCCARD devices. I doubt that the PCCARD stuff works any more than it did before my changes but theres hope. My PCCARD hardware should arrive in a week or so. - Retreive the media settings from the card EEPROM rather than guessing. I've got a 3c509-TPO that thinks its got an AUI port and if others can report similar problems I'll write a bit of clever code that will fix this but right now it works correctly on all but 1 card. - Clean up a few things and make some cosmetic changes. - Add myself as the MAINTAINER since nobody else wants to. I'm in the best position to do this as I've got an example of most of the cards: EISA 3c579 bnc/aui MCA 3c529 tp/aui ISA 3c509 tpo ISA-PnP 3c509B combo If someone wants to send me a any cards I don't have I'd appriciate it. Also welcome are 3c59x boards since I'll be folding if_vx and if_ep at some point. Notes: svn path=/head/; revision=52549
* - Split out the ISA and PCCARD specific code.Matthew N. Dodd1999-09-261-0/+219
- Split out the prototypes, externs and struct decls from if_epreg.h into if_epvar.h. - Add support for MCA based Etherlink III (3c529) devices. None of this code is used right now; the old if_ep driver is still in place and used. I will eventually get around to converting if_ep_isa.c to newbus once I've had a talk with Peter and DFR about the DEVICE_IDENTIFY() method. I have tested this code on my PS/2. It works. I would like EISA and ISA testers since my example hardware hasn't arrived yet. Add: dev/ep/if_ep.c optional ep dev/ep/if_ep_isa.c optional ep isa dev/ep/if_ep_eisa.c optional ep eisa dev/ep/if_ep_mca.c optional ep mca dev/ep/if_ep_pccard.c optional ep card to sys/conf/files Remove: i386/eisa/3c5x9.c optional ep i386/isa/if_ep.c optional ep from sys/i386/conf/files.i386 PCCARD testers wanted! I will switch off and cvs rm the old driver in favor of this copy once I've had positive feedback or have the hardware to verify that it works. Notes: svn path=/head/; revision=51673