summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep/if_ep_eisa.c
Commit message (Collapse)AuthorAgeFilesLines
* o break newbus api: add a new argument of type driver_filter_t topiso2007-02-231-2/+2
| | | | | | | | | | | | | 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@
* Simplify names.imp2005-08-291-6/+6
|
* u_intXX_t -> uintXX_t while I'm here.imp2005-01-201-1/+1
|
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Remove duplicate $FreeBSD$imp2004-07-221-3/+0
| | | | Noticed by: njl
* Minor style nitimp2004-07-221-1/+1
|
* Convert callers to the new bus_alloc_resource_any(9) API.njl2004-03-171-2/+1
| | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
* Pass sc to GO_WINDOW macro.imp2003-10-261-1/+1
| | | | | | Use SET_IRQ for pccard case, rather than exapnding it inline. Requested by: mdodd
* Whole grab-bag of changes:imp2003-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
* Fix a typo. The module has the EISA front-end commented out, therefore thebms2003-10-181-1/+1
| | | | | | | error may not have been picked up right away. Reviewed by: mdodd Submitted by: Stuart Walsh
* Use __FBSDID().obrien2003-08-241-0/+3
| | | | Also some minor style cleanups.
* Style(9) cleanup. There was no consistent style in this driver, andmarkm2003-07-171-86/+73
| | | | | | | 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
* Revert 1.21; this was local code that should not have beenmdodd2003-03-301-5/+5
| | | | committed.
* - Free interrupt handler in ep_free().mdodd2003-03-291-0/+1
| | | | | - Move ep_pccard_detach() to if_ep.c and rename to ep_detach() - Specify detach methods for all bus frontends.
* - Return error status instead of value in get_e().mdodd2003-03-291-5/+5
| | | | | - Modify ep_get_macaddr() to return an error status. - Reverse the return value logic of eeprom_rdy().
* Remove __P.alfred2002-03-201-1/+1
|
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* Pre 4.0 tidy up.peter2000-01-141-1/+1
| | | | | | | | | | | | Collect together the components of several drivers and export eisa from the i386-only area (It's not, it's on some alphas too). The code hasn't been updated to work on the Alpha yet, but that can come later. Repository copies were done a while ago. Moving these now keeps them in consistant place across the 4.x series as the newbusification progresses. Submitted by: mdodd
* HEADS UP! All 3c5x9 users!mdodd1999-10-271-99/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* Add newbus attachment for pccard driver. Heavily tested by me, andimp1999-10-251-1/+1
| | | | | | | | | | | I'm committing this from a laptop running this driver. Have only one devclass for all ep devices (at least for pccard and eisa) so unit numbering is sane. Might not work with both isa and non-isa devices on the same system until ep is updated (Matt has some patches in the pipeline which should resolve this, he wanted me to commit this so he can resolve any conflicts against cvs rather than my patches). Reviewed by: Matt Dodd <mdodd@freebsd.org>
* Fix includes. I missed this the first time around.mdodd1999-10-021-1/+3
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Move the specification of EDGE/LEVEL triggered interrupts tomdodd1999-08-011-2/+2
| | | | | | | | | | | | | | | | | eisa_add_intr() which now takes an additional arguement (one of EISA_TRIGGER_LEVEL or EISA_TRIGGER_EDGE). The flag RR_SHAREABLE has no effect when passed to bus_alloc_resource(dev, SYS_RES_IRQ, ...) in an EISA device context as the eisa_alloc_resource() call (bus_alloc_resource method) now deals with this flag directly, depending on the device ivars. This change does nothing more than move all the 'shared = inb(foo + iobsse)' nonesense to the device probe methods rather than the device attach. Also, print out 'edge' or 'level' in the IRQ announcement message. Reviewed by: dfr
* Move the declaration of the interrupt type from the driver structuredfr1999-05-081-3/+2
| | | | to the BUS_SETUP_INTR call.
* Implement an EISA new-bus framework. The old driver probe mechanismpeter1999-04-181-120/+131
| | | | | | | | | had a quirk that made a shim rather hard to implement properly and it was just easier to convert the drivers in one go. The changes to the buslogic driver go beyond just this - the whole driver was new-bus'ed including pci and isa. I have only tested the EISA part of this so far. Submitted by: Doug Rabson <dfr@nlsystems.com>
* Add shared EISA interrupt support.gibbs1997-09-211-4/+8
| | | | Clean up the match routines so that they return const char *
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Removed nested include if <sys/socket.h> from <net/if.h> andbde1996-10-121-1/+2
| | | | | | | <net/if_arp.h> and fixed the things that depended on it. The nested include just allowed unportable programs to compile and made my simple #include checking program report that networking code doesn't need to include <sys/socket.h>.
* Staticized. Things exported by linker sets should always be static.bde1996-10-121-2/+2
|
* Remove devconf, it never grew up to be of any use.phk1996-09-061-21/+2
|
* Add interrupt register set up with original register valueamurai1996-07-191-1/+7
| | | | | | | before attaching. Without this fix, 3c579(EISA) never make any H/W inturrupt. Reviewed by: "Justin T. Gibbs" <gibbs@freefall.freebsd.org>, nao@sbl.cl.nec.co.jp and owner-current on mailing list ;-) Submitted by: amurai@spec.co.jp, nao@sbl.cl.nec.co.jp
* Clean up -Wunused warnings.gpalmer1996-06-121-3/+1
| | | | Reviewed by: bde
* Fix media type determination.gibbs1996-02-281-2/+3
|
* 3c5x9.c:gibbs1996-02-261-0/+308
The eisaconf probe for the 3Com 3c579 and the 3c509 when in eisa configuration mode. aha1742.c aic7770.c bt74x.c: Only call eisa_registerdev after the probe is successfully. eisaconf.c: Increase kdc->kdc_datalen during the eisa_reg* functions instead of in the eisa_add* functions since eisa_registerdev has already been called and we have a kdc to manipulate.
OpenPOWER on IntegriCloud