#
331722 |
|
29-Mar-2018 |
eadler |
Revert r330897:
This was intended to be a non-functional change. It wasn't. The commit message was thus wrong. In addition it broke arm, and merged crypto related code.
Revert with prejudice.
This revert skips files touched in r316370 since that commit was since MFCed. This revert also skips files that require $FreeBSD$ property changes.
Thank you to those who helped me get out of this mess including but not limited to gonzo, kevans, rgrimes.
Requested by: gjb (re)
|
#
330897 |
|
14-Mar-2018 |
eadler |
Partial merge of the SPDX changes
These changes are incomplete but are making it difficult to determine what other changes can/should be merged.
No objections from: pfg
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
298307 |
|
19-Apr-2016 |
pfg |
sys/dev: use our nitems() macro when it is avaliable through param.h.
No functional change, only trivial cases are done in this sweep, Drivers that can get further enhancements will be done independently.
Discussed in: freebsd-current
|
#
292081 |
|
11-Dec-2015 |
imp |
Add PNP info for ISA and PCI to the ed driver to prove design.
Differential Review: https://reviews.freebsd.org/D3458
|
#
211792 |
|
25-Aug-2010 |
imp |
Prodded by Yongari, add support for Holtek HT80232. Add the device 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)
|
#
191234 |
|
18-Apr-2009 |
imp |
Establish the interrupt handler AFTER we successfully attach. We need to do this in case we have a shared interrupt that fires during the attach process....
|
#
190794 |
|
07-Apr-2009 |
imp |
Provide a generic ifmedia set of routines as a fallback. The DP8390-based cards have no generic way of reporting status of the link or setting the media type. Some specific versions of these cards do, however, allow for this, and we already support some of them. Make the 'ed' experience more uniform by providing "autoselect" as the meida and status "active" always. This won't affect the chips that provide more specific details.
|
#
175007 |
|
31-Dec-2007 |
imp |
Add Winbond W89C940F to the list. Also, stub in some entries for two Holtek cards that will need some special support later, but leave them commented out for now.
These ID's are transcribed from the Linux ne2k-pci.c
|
#
166901 |
|
23-Feb-2007 |
piso |
o break newbus api: add a new argument of type driver_filter_t to 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@
|
#
151300 |
|
13-Oct-2005 |
imp |
If we can't probe the RTL80x9 for some reason, fall back to probing it as a Novell NE-2000. This is necessary for unpatched qemu working correctly. qemu claims to be a RTL8029, but doesn't implement the RTL8029 specific registers at this time. I've created patches for that, but there's no reason we can't use qemu's emulation w/o these patches. This should make life easier for those folks that boot FreeBSD via qemu.
|
#
150957 |
|
05-Oct-2005 |
imp |
MFp4: o Add support for Tamarack TC5299J + MII found on SMC 8041TX V.2 and corega PCCCCTXD o Add support for ISA/PCI RTL80[12]9 chips o Improve support for the ax88790 based o minor code movement
Submitted by: (#2) David Madole
|
#
150136 |
|
14-Sep-2005 |
ru |
Make device_detach methods really work.
|
#
150102 |
|
13-Sep-2005 |
imp |
Use smaller names. The "NE2000 PCI Ethernet" is largerly redundant with edX at pciY. This removes 8*22 bytes from the strings. Not a huge win, but a cheap one.
|
#
149558 |
|
28-Aug-2005 |
imp |
Finish conversion to bus space and make ed MP safe.
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
|
#
147184 |
|
09-Jun-2005 |
imp |
Use tabs instead of spaces to indent, per style(9)
Noticed by: njl
|
#
147149 |
|
08-Jun-2005 |
imp |
My abstracting out the MAC reading code to fix pccard broke pci. Add back the reading of the MAC address in the 'standard' way.
Reported by: Jeremie Le Hen ( jeremie at le-hen dot org )
|
#
143161 |
|
05-Mar-2005 |
imp |
Use BUS_PROBE_DEFAULT for pci probe return value
|
#
142254 |
|
22-Feb-2005 |
imp |
Minor style nits missed in earlier passes
|
#
141577 |
|
09-Feb-2005 |
imp |
If either ed_probe_Novell or ed_attach returns an error, release the resources too.
|
#
141494 |
|
08-Feb-2005 |
imp |
Make it possible to unload ed. Move the ed_pccard_detach routine to if_ed and rename it to ed_detach(). Tell other busses to use this routine for detach.
Since I don't actually have any non-pccard ed hardware I can test with, I've only tested with my pccards.
More improvements in this area likely are possible.
Prodded by: rwatson
|
#
140468 |
|
19-Jan-2005 |
imp |
MFp4: u_intXX_t to uintXX_t.
|
#
130659 |
|
17-Jun-2004 |
imp |
A couple more style(9) nits I should have included in last commit
|
#
130657 |
|
17-Jun-2004 |
imp |
Style nits in the prototypes
|
#
121816 |
|
31-Oct-2003 |
brooks |
Replace the if_name and if_unit members of struct ifnet with new members if_xname, if_dname, and if_dunit. if_xname is the name of the interface and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo device creation and configuration symantics.
Approved By: re (in principle) Reviewed By: njl, imp Tested On: i386, amd64, sparc64 Obtained From: NetBSD (if_xname)
|
#
119690 |
|
02-Sep-2003 |
jhb |
Use PCIR_BAR(x) instead of PCIR_MAPS.
Glanced over by: imp, gibbs Tested by: i386 LINT
|
#
119418 |
|
24-Aug-2003 |
obrien |
Use __FBSDID(). Also some minor style cleanups.
|
#
119277 |
|
22-Aug-2003 |
imp |
Prefer new location of pci include files (which have only been in the tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
|
#
113506 |
|
15-Apr-2003 |
mdodd |
- Express hard dependencies on bus (pci, isa, pccard) and network layer (ether). - Don't abuse module names to facilitate ifconfig module loading; such abuse isn't really needed. (And if we do need type information associated with a module then we should make it explicit and not use hacks.)
|
#
92739 |
|
20-Mar-2002 |
alfred |
Remove __P.
|
#
73374 |
|
03-Mar-2001 |
imp |
Add support for Dlink DL10022 to the ed driver. This is a mii part bolted to a ne-2000 chip. This is necessary for the NetGear FA-410TX and other cards.
This also requires you add mii to your kernel if you have an ed driver configured.
This code will result in a couple of timeout messages for ed on the impacted cards. Additional work will be needed, but this does work right now, and many people need these cards.
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
|
#
70355 |
|
26-Dec-2000 |
imp |
Minor newbus/style(9) cleanups. o Move the ax88190 code to its own function. o Move all device_method_t, driver_t and DRIVER_MODULE definitions to the end of files. o Wrap a few lines > 80 characters. o Use the same devclass for all ed drivers. This allows machines with multiple types of cards to have their cards numbered correctly. Before, you could wind up with two ed0's. o Protect if_edvar.h from multiple includes because I was there.
|
#
69965 |
|
13-Dec-2000 |
imp |
Remove unnecessary includes found by phk's script. I've been building these locally for ages.
|
#
67172 |
|
15-Oct-2000 |
msmith |
Network modules are all "if_foo" not "foo". Avoid the confusing spew that ensues when ifconfig tries to load if_ed.ko when it's already in the kernel.
|
#
64777 |
|
17-Aug-2000 |
nyan |
- Fixed the conversion to bus_space interface. - Added PC-98 Cbus devices support. The original patch is submitted by chi@bd.mbn.or.jp (Chiharu Shibata) - Removed old ed driver.
|
#
53450 |
|
20-Nov-1999 |
mdodd |
I forgot to remove the "NCARD == 0" hacks that kept this driver from blowing up on PCMCIA systems. The hack isn't needed anymore.
Reminded by: Blaz Zupan <blaz@gold.amis.net>
|
#
52247 |
|
15-Oct-1999 |
mdodd |
- Remove the ISA, PCI, and PCCARD specific code from if_ed.c; it now lives in the respective bus front end files. - Add various function prototypes to if_edvar.h - Clean up some debugging code that snuck into if_ed_isa.c - Turn on the right bits in files.i386
|
#
51442 |
|
20-Sep-1999 |
peter |
Make if_ed work again on pci, isa, isapnp. The hack to make it work on PCCARD is pretty revolting but should buy us time while the pccard driver angle is sorted out. A commit for the MCA ed attachment will follow shortly.
|
#
50857 |
|
03-Sep-1999 |
peter |
Forced commit/correction: The previous commit message should have referred to Matthew Dodd, not Warner. :-/ I should be asleep..
|
#
50852 |
|
03-Sep-1999 |
peter |
Commit a checkpoint of an updated if_ed driver. This is pretty much Doug Rabson's work, with a few tweaks from Warner Losh and I. There are still some quirks to resolve, but the old driver is presently breaking the build.
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48528 |
|
03-Jul-1999 |
peter |
Eliminate a bunch of #include "pci.h" and #if NPCI > 0 around entire files. config will leave the whole file out if configured to do so.
|
#
46813 |
|
09-May-1999 |
peter |
Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add: #define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data) .. to 2.2.x and 3.x if people think it's worth it. Driver writers can do this if it's not defined. (The reason for this is that I'm trying to progressively eliminate use of linker_sets where it hurts modularity and runtime load capability, and these DATA_SET's keep getting in the way.)
|
#
46024 |
|
24-Apr-1999 |
peter |
Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn't hurt the driver portability to 3.x too much for where drivers are shared.
|
#
41766 |
|
14-Dec-1998 |
dillon |
pci_device pd_probe function changed from returning char * to returning const char *. Originally I was going to add casts from const char * to char * in some of the pci device drivers, but the reality is that the pci device probes return constant quoted strings.
|
#
34645 |
|
17-Mar-1998 |
danny |
PR: i386/6040 Submitted by: nakagawa@jp.freebsd.org Add new PCI NE2000 (VIA VT86C926)
|
#
33893 |
|
27-Feb-1998 |
se |
Add PCI device ID of Surecom NE-34
|
#
31347 |
|
22-Nov-1997 |
msmith |
Add Winbond W89C940 ID to the list. Submitted by: Micha Class <michael_class@hpbbse.bbn.hp.com>
|
#
28210 |
|
14-Aug-1997 |
danny |
Add the NetVin 5000 series NE2000 PCI card vendor and device IDs.
|
#
24995 |
|
18-Apr-1997 |
davidn |
Rearrange pci network card identification for easier additions. Added KTI NE2000 clone.
|
#
22975 |
|
22-Feb-1997 |
peter |
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not ready for it yet.
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
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.
|
#
20723 |
|
20-Dec-1996 |
se |
Add PCI IDs of the ProLAN and Compex PCI NE2000 clones. Based on information sent by Peter Mutsaers <plm@xs4all.nl>.
|
#
18946 |
|
15-Oct-1996 |
bde |
Updated #includes to 4.4lite style.
|
#
17877 |
|
28-Aug-1996 |
bde |
Use "" instead of <> for a header in the current directory.
Don't #include an unused header from i386/isa. Headers from there shouldn't be included in "isa-independent" files anyway.
|
#
16363 |
|
14-Jun-1996 |
asami |
The Great PC98 Merge.
All new code is "#ifdef PC98"ed so this should make no difference to PC/AT (and its clones) users.
Ok'd by: core Submitted by: FreeBSD(98) development team
|
#
16289 |
|
10-Jun-1996 |
alex |
Detach the device at shutdown.
Add a prototype for ed_attach_NE2000_pci (this really belongs somewhere else, but where?).
|
#
15813 |
|
18-May-1996 |
se |
Add support for NE2000 compatible PCI Ethernet cards. The PCI probe is enabled by having an "device ed0 at isa? [...]" config line. The first PCI card will get a unit number one higher than the highest defined for any ISA card of the ED type, e.g. if ed0 and ed1 are configured, then the PCI cards will be ed2, ed3, ...
BEWARE: If you have configured your kernel as ed0 with the port address as assigned by the PCI BIOS, then your card will be found by both the PCI and ISA probes, and bad things may happen. Make sure to restore the original port address form the GENERIC kernel for the ed0 device!
Reviewed by: davidg
|