summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep/if_epreg.h
Commit message (Collapse)AuthorAgeFilesLines
* Add newer commandsimp2005-07-311-2/+7
|
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* MFP4:imp2003-11-021-0/+1
| | | | o define EP_W2_ALT_EEPROM. we don't use it yet, but may soon.
* 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
* Minor style nits suggested by sam and mdodd:imp2003-10-251-1/+1
| | | | | | o give an argument to EP_BUSY_WAIT o use foo_locked rather than foo_body o Add locking assertions for extra safety.
* Whole grab-bag of changes:imp2003-10-251-46/+30
| | | | | | | | o Make the driver MPSAFE o Some changes due to diff reduction effort with vx. o Removed some obsolete junk. Reviewed by: sam, modd
* Transition to using bus_space macros rather than the inb/outb/etc.imp2003-10-181-9/+4
| | | | | | | | | | | | Use EP_{READ,WRITE}{,_MULTI}_{1,2,4} instead. I've had several people submit patches like this over the years of varying qualities, markm being the last. The names were chosen in consulation with mdodd on irc. I've tested this with only PCMCIA cards: 3CCE589EC and 3CCSH572BT. I've not tried with my more extensive ISA, EISA and cbus collection. Reviewed by: mdodd
* Style(9) cleanup. There was no consistent style in this driver, andmarkm2003-07-171-25/+28
| | | | | | | 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
* Properly detect ISA cards in EISA mode and skip them in the ISA identifymdodd2000-07-181-0/+2
| | | | | | routine so that they will be picked up by the EISA front end. PR: i386/2598
* Speedup if_start routine a little. TX threshold logic needs some moremdodd2000-01-121-0/+9
| | | | kicking but these changes get me around 1000 KB/sec.
* Add defines for additional EEPROM locations and register definitions.mdodd1999-12-061-2/+28
|
* HEADS UP! All 3c5x9 users!mdodd1999-10-271-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* - Split out the ISA and PCCARD specific code.mdodd1999-09-261-77/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* 3C574TX 16bit FastEtherlink PC-card support.hosokawa1999-07-251-1/+9
| | | | | Reviewed by: HAMADA Naoki <nao@tom-yam.or.jp> Submitted by: Osamu MIHARA <mihara@prd.fc.nec.co.jp>
* Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.des1998-04-171-2/+2
|
* Move the EP_ID_PORT out to 0x110, so it doesn't conflict with other portjoerg1997-10-271-2/+16
| | | | | | | | usage at 0x100. Quoted Justin's quotation from the manual as well, to explain the technical background. PR: kern/4559 Submitted by: Stephen J. Roznowski <sjr@home.net>
* if_ep.c clarification/simplification.itojun1997-10-141-16/+3
| | | | | | | | | | | | | | - irq = 9 problem (PR 4693) - mbuf chaining oddity fixed. (PR 4693) - trailer protocol has gone. (PR 4693) - removed mbuf kludge, we got higher performance. (PR 4693) - some indentation fixes I'm sorry that I couldn't make a 2.2.5-RELEASE deadline. PR: 4693 Reviewed by: babkin@hq.icb.chel.su Submitted by: hamada@tom-yam.or.jp
* 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.
* Fixed pessimized (short) i/o port type.bde1996-11-111-2/+2
| | | | | | The change in if_epreg.h affects if_epreg.o and 3c5x9.o. These changes are probably harmless, but I can't test them.
* Various cleanups for remanents of devconf.phk1996-09-081-3/+1
|
* Megacommit to straigthen out ETHER_ mess.phk1996-08-061-7/+1
| | | | | I'm pretty convinced after looking at this that the majority of our drivers are confused about the in/exclusion of ETHER_CRC_LEN :-(
* Add interrupt register set up with original register valueamurai1996-07-191-2/+4
| | | | | | | 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
* At long last, we know have support for the 3C589 in a FreeBSD releasenate1996-06-141-1/+8
| | | | | | | | | | | using the existing files using the existing PCCARD support. Now that this is in place I would like to fixup the PCCARD hooks and remove the if_zp driver. At this point, we support everything we used to support *AND MORE* with the PCCARD code. Submitted by: Naoki Hamada <nao@sbl.cl.nec.co.jp> (via the Nomad release) [ This works on both my 3C589B and 3C589C ]
* Fix media type determination.gibbs1996-02-281-2/+2
|
* Clean up the 3c5x9 driver and add an eisaconf probe to it. This shouldgibbs1996-02-261-6/+17
| | | | | | prevent it from conflicting with other drivers (like the aic7xxx driver). Most of the work was in spliting out common portions of the driver and making them generic enough to be called from the eisaconf probe.
* Clean up Ethernet drivers:wollman1996-02-061-2/+1
| | | | | | | | - fill in and use ifp->if_softc - use if_bpf rather than private cookie variables - change bpf interface to take advantage of this - call ether_ifattach() directly from Ethernet drivers - delete kludge in if_attach() that did this indirectly
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-301-3/+3
| | | | a bunch of system include files.
* Finally commit Serge's multicast and "misc other changes" patch. Igibbs1996-01-291-1/+14
| | | | | | don't have a network to test it on here, but it does probe my card okay. Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su>
* Remove trailing whitespace.rgrimes1995-05-301-13/+13
|
* Performance enhancements and a redesign of the transmitter code.jkh1995-04-101-1/+1
| | | | Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su>
* * Promiscuous mode added and interrupt logic slightly changedjkh1995-03-311-1/+31
| | | | | | | * to reduce the number of adapter failures. Transceiver select * logic changed to use value from EEPROM. Autoconfiguration * features added. Submitted by: "Serge A. Babkin" <babkin@hq.icb.chel.su>
* Patches from Serge Babkin to fix interrupt handling bugs.dg1995-03-231-1/+2
| | | | Submitted by: Serge Babkin
* Andres Vega Garcia's improvements to the ep driver. This driver is a merginggibbs1994-11-131-99/+200
| | | | | | | | | | of the 1.1.5 driver, a recent version of the NetBSD driver, Andres' transmission start threshold code, and all other relavent changes to the driver since it was brought into 2.0. The multicast support from NetBSD has not be folded in yet. I've tested it under high loads for two weeks and it is now robust enough to be included in the GENERIC kernel. Reviewed by: gibbs Submitted by: vega@sophia.inria.fr (Andres Vega Garcia)
* Reviewed by:ats1994-09-031-5/+16
| | | | | | | | | Submitted by: Update the if_ep driver for the 3C579 and bring over some of the changes from the netbsd driver. This is not complete: the detection of the irq in the eisa does not work and sometimes the reset for the 3C509 in ISA in an EISA bus system don't work ( Need a hard reset to be found again == reset knob).
* Committed the original NetBSD version of this driver to get the changesats1994-01-101-0/+295
made for FreeBSD as cvs diffs. This is the 3C509 ethernet driver.
OpenPOWER on IntegriCloud