summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed/if_ed_novell.c
Commit message (Collapse)AuthorAgeFilesLines
* On second thought, we need to force 16-bit modeimp2010-08-251-0/+3
|
* Prodded by Yongari, add support for Holtek HT80232. Add the deviceimp2010-08-251-24/+35
| | | | | | | | | ID, plus the ability to force '16-bit mode' which really means NE-2000 mode. Other open source drivers suggest that the Holtek misbehaves if you allow the 8-bit probe. Also, all of the PCI chips emulate NE-2000ish cards, so always force 16-bit mode for memory transfers. PR: 84202 (patch not used)
* MFp4:imp2006-06-121-2/+4
| | | | | | | | | | | | o Implement a bunch of sysctl's to report the information that's now always reported. Mvoe reporting of that info to bootverbose, but maybe it can go away entirely. dev.ed.X.type: string name dev.ed.X.TxMem: amount of memory used for tx side of the card dev.ed.X.RxMem: amount of memory used for rx side of the card dev.ed.X.Mem: Total amount of mem on card. o Better comments about where NE-2000 (and clones) gets their MAC address from.
* Have a function pointer to the routine to call for writing an mbufimp2006-01-271-0/+1
| | | | | | | | | | into the card's memory. # this eliminates a more of the ifdef soup in if_ed and if_edvar # I've fixed the cbus drivers, but can't test them all easily. If I've broken anything, please let me know.
* o Expose ed_probe_Novel_generic, it is useful for pccard case.imp2005-09-071-5/+2
| | | | | o Fix a now stale comment. There are likely many others like them, but this one definitely hasn't been true since DELAY was introduced into the tree.
* Finish conversion to bus space and make ed MP safe.imp2005-08-281-6/+9
| | | | | | | | | | | | | | | | | o Lock ed o Fix extra newline in probe messages o Eliminate gone. o Make detach less-racy. o Eliminate spl* o Switch from timeout/untimeout to callout interface. o Read/write card memory using bus_space calls. o generalize readmem so that we don't need ifs in the code. o Fix memory stuff to be consistant. o Remove OLDCARD compat stuff. o Mark interrupt as MPSAFE. # sic, hpp not tested at all # ISA and PCI attachments lightly tested
* Stop embedding struct ifnet at the top of driver softcs. Instead thebrooks2005-06-101-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* Move the harvesting of the MAC address out of the generic novell probeimp2005-02-141-13/+18
| | | | | | | | | and into the bus front ends. For ISA and C-BUS cards, we always need to grab it. For PC Card, already committed, we need to do some sanity checking on the data that's in the ROMs before we decide that they are OK to use. The PC Card code has already been committed and is independent of this code (which also has to work on NE-1000 cards, assuming that those cards still work :-).
* Eliminate the ED_VENDOR_{PCCARD,LINKSYS} types. These cards reallyimp2005-02-111-0/+1
| | | | | | are NOVELL NE2000 with just a tiny quirk that's non vendor specific. Instead, use the chip_type of DL100XX instead. This is more inline with how the AX88190 support was added, and seems a little cleaner.
* Extricate probing of the gwether card (Gateway AT) from the middle ofimp2005-02-101-64/+74
| | | | | | | | | | | | | | | | probing the novell ne[12]000 cards. It should be its own thing, ala how we do the dl100xx support doing its own thing at the right time. For the moment, it is just a function, which makes the mainline of the generic probe easier to follow. Also, correct a couple of comments that looked wrong. # there may be a bug in setting up gwether, in that we set # sc->rec_page_stop based on memsize, rather than sc->mem_size, so if # these two are different, then the rec_page_stop will be wrong. I'm # hesitant to fix it without real hardware to test with. Since # gwether isn't in the hardware list of the man page nor in the commit # messages, it is hard to know for sure.
* Remove an ifdef that's been here for a long time. So long, in fact,imp2005-02-101-7/+0
| | | | | | | that it references a function parameter that's not been passed in for more than 4 years. This has been if 0'd since 1994.
* Break out obscure ISA cards into their own files, as well as ne2000imp2005-02-091-0/+288
and wd80x3 support. Make the obscure ISA cards optional, and add those options to NOTES on i386 (note: the ifdef around the whole code is for module building). Tweak pc98 ed support to include wd80x3 too. Add goo for alpha too. The affected cards are the 3Com 3C503, HP LAN+ and SIC (whatever that is). I couldn't find any of these for sale on ebay, so they are untested. If you have one of these cards, and send it to me, I'll ensure that you have no future problems with it... Minor cleanups as well by using functions rather than cut and paste code for some probing operations (where the function call overhead is lost in the noise). Remove use of kvtop, since they aren't required anymore. This driver needs to get its memory mapped act together, however, and use bus space. It doesn't right now. This reduces the size of if_ed.ko from about 51k to 33k on my laptop.
OpenPOWER on IntegriCloud