#
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 |
#
298955 |
|
03-May-2016 |
pfg |
sys/dev: minor spelling fixes.
Most affect comments, very few have user-visible effects.
|
#
260050 |
|
29-Dec-2013 |
marius |
- Switch to using the common MII bitbang'ing code instead of duplicating it. - Based on lessons learnt with dc(4) (see r185750), add bus space barriers to the MII bitbang read and write functions as well as to instances of page switching. - Add missing locking to ed_ifmedia_{upd,sts}(). - Canonicalize some messages. - Based on actual functionality, ED_TC5299J_MII_DIROUT should be rather named ED_TC5299J_MII_DIRIN. - Remove unused headers. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers.
MFC after: 1 week
|
#
190811 |
|
07-Apr-2009 |
imp |
More chip types, and fix a comment.
|
#
190559 |
|
30-Mar-2009 |
imp |
This is a major reworking of the AX88x90 support.
o Introduce new chip_type AX88790. There's a few places we need to know the exact chip for workaronds. o Explain the AX88190 workaround for the ISR bits being stuck, and don't apply them to the AX88790. The datasheet says the bits are fixed, and experience confirms. o Fix mii bit-bang read code to read and discard the 'floating' bit. o Remove empty ed_pccard_ax88x90_mii_reset routine o Report error from mii_phy_probe o Don't use ed_probe_Novel_generic for ax88x90 chips. It puts them into an odd state sometimes. Instead, use a more stream-lined version that avoids the trouble spots. This was copied and tweaked from the original. o Move chip reset into its own routine. o Minor code optimiation on getting MAC address o Add code for coping with AX88790 cards that are in power down state and need to be kicked before the PHY registers for the internal phy read right. o Remove ugly cap of PHYs at 17. o For AX88790, we need to set a special bit for accessig phy 16 (the internal phy) and clear it for all others according to a chip erratum. o streamline the bit-bang code for AX88x90: the delays aren't needed according to the datasheet timing diagrams and also the Linux driver o Fix minor bit definition for direction bit. o Generally: Some comments reformatted o Only try the toshiba probe on cards labelled as toshiba
# From another Akihabara card (this one from a few years ago from a # friend in Japan). Fix the Corega FEther II PCC-TXD. This one is # still on sale new, as of a few weeks ago. should fix all other AX88x90 # based cards, but I have some testing left to finish on my collection...
|
#
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
|
#
150108 |
|
13-Sep-2005 |
imp |
MFp4: Omnibus ed changes
o Attach AX88x90's MII bus to system, and require its presence. o Reorg the mii code a little, and move more of it into pccard attachment. o Eliminate ed_pccard_{read,write}_attrmem in favor of a more appropriate function in the pccard layer. o Update comments to reflect knowledge gained. o Update how re recognize a NE-2000 ROM. I found a couple of different datasheets that define the structure of the PROM data, so the code's old heuristics have been removed, and comments updated to reflect the structure. o Eliminate work around for EC2T. It is no longer needed, and was wrong headed since the EC2T has a Winbound 82C926C in it, not a AX88x90. o Add copyright to if_ed_pccard.c, since I believe I've re-written more than 3/4 of it.
# With these changes, all of my 20-odd ed based cards work, except for the # NetGear FA-410, and I'm pretty sure that's a MII/PHY problem.
|
#
149842 |
|
07-Sep-2005 |
imp |
Consistancy is the hobgoblin of small minds: o DLINK -> DL100XX
|
#
141931 |
|
14-Feb-2005 |
imp |
Move the #defines from edreg to edvar which don't have anything to do with talking to the hardware.
|
#
141881 |
|
14-Feb-2005 |
imp |
Rework DL10019/DL10022 support. This tries to reset things in a more proper way, or at least the same way that NetBSD and Linux do things (I've been unable to obtain datasheets for these parts to know for sure). This has some marginal improvement in the DL10022 and DL10019 cards that I have. Also, report which type, exactly.
# There's one or two ed cards that I have which still don't work, but I think # that's due to MII losage on the card that's not presently compensated # for in the MII drivers.
|
#
141880 |
|
14-Feb-2005 |
imp |
MFp4: Merge in AX88790 support from my p4 tree. I've had this in my tree since 2003/02/20, and I recently cleaned it up. I'd even closed the PR that I obtained this from Fri Jul 18 23:25:08 MDT 2003 since I looked at my p4 tree.
PR: 46889 Submitted by: HASEGAWA Tomoki
|
#
141681 |
|
11-Feb-2005 |
imp |
Eliminate the ED_VENDOR_{PCCARD,LINKSYS} types. These cards really 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.
|
#
139749 |
|
05-Jan-2005 |
imp |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
#
121118 |
|
15-Oct-2003 |
shiba |
Add Allied Telesis SIC-AT boards support. Discussed in from [FreeBSD-tech-jp 3396] to [FreeBSD-tech-jp 3407] at FreeBSD-tech-jp@jp.freebsd.org.
NOTE: We must put ed_probe_SIC() function into if_ed_isa.c because this is a bus dependent code. But the ed driver code is not separated explicitly whether it is bus dependent or independent now.
Refer to: http://plaza17.mbn.or.jp/~chi/myprog/FreeBSD/sicat.html Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
#
80159 |
|
22-Jul-2001 |
iedowse |
Attach the miibus for Linksys/Dlink cards from the attach routine, not from the probe routine. This was an oversight when I originally ported the miibus support to -current, though it was mostly harmless.
We now set the vendor code to the new value ED_VENDOR_LINKSYS in ed_pccard_Linksys() at probe time. Then ed_pccard_attach() checks the vendor code, and sets up the miibus if appropriate.
Reviewed by: imp
|
#
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>
|
#
70154 |
|
18-Dec-2000 |
toshi |
Linksys Fast Ethernet PCCARD cards supported by the ed driver now require the addition of flag 0x80000 to their config line in pccard.conf(5). This flag is not optional. These Linksys cards will not be recognized without it.
Reviewed by: imp, iwasaki
|
#
63775 |
|
23-Jul-2000 |
tanimura |
MFPAO: Add support for AX88190, equipped in MELCO LPC3-TX.
|
#
50808 |
|
02-Sep-1999 |
kato |
- Added new macros ED_P1_MAR(i) and ED_P1_PAR(i) that replace `ED_P1_MAR + i' and `ED_P1_PAR + i', respectively. - convert ED_PC_RESET and ED_PC_MISC into relative offset from ED_PC_ASIC_OFFSET (those macros are not used in current source).
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
40072 |
|
08-Oct-1998 |
kato |
Discard previous commit.
|
#
40068 |
|
08-Oct-1998 |
kato |
Add SMC EtherEZ98 support to ed driver (PC-98).
Reviewed by: kato Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
#
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.
|
#
17465 |
|
07-Aug-1996 |
dg |
This diff adds support for the HP PC Lan+ cards (model numbers: 27247B and 27252A) in FreeBSD's `ed' driver.
Submitted by: A JOSEPH KOSHY <koshy@india.hp.com>
|
#
13765 |
|
30-Jan-1996 |
mpp |
Fix a bunch of spelling errors in the comment fields of a bunch of system include files.
|
#
11016 |
|
26-Sep-1995 |
phk |
if_ze.c was derived from if_ed.c about 42 (!) versions ago. It is now scheduled for demolition. This is a first step: get rid of if_zereg.h, by adding the five extra definitions to if_edreg.h. Also add some definitions which will become needed when if_ze.c gets replaced entirely by pccard and if_ed.c. (this is a 2.1.0 candidate)
|
#
8876 |
|
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
#
5807 |
|
23-Jan-1995 |
dg |
Much better fix/support for the 83c795 based cards (the new SMC EtherEZ) by steve@simon.chi.il.us (Steven E. Piette). Minor changes by me.
|
#
1831 |
|
04-Aug-1994 |
dg |
Updated to include improvements from FreeBSD 1.1.5. Fixed brokeness with multicast support and BPF.
|
#
1817 |
|
02-Aug-1994 |
dg |
Added $Id$
|
#
1349 |
|
10-Apr-1994 |
dg |
Fixed brokeness in the support of the 83C790/Elite Ultra (now that I finally have the f**king documentation!):
1) Changed all the numeric register offsets to symbolic ones (it should have been this way originally). 2) If 16 bit, disable the shared memory when not using it. Apparantly switching between 8/16bit mode makes the Ultra unhappy unless this is done (i.e. it trashes the bus).
|
#
1075 |
|
02-Feb-1994 |
dg |
Added 8003EB board type. Clue from Gerard J van der Grinten (gvdg@cdc.com)
|
#
1073 |
|
02-Feb-1994 |
dg |
Added type code for 8003W.
|
#
1015 |
|
25-Jan-1994 |
ats |
Put some more info about the toshiba ethernet cards into if_edreg.h. Changed some numeric constants to defines in if_ed.c for the toshiba cards.
|
#
968 |
|
11-Jan-1994 |
ats |
Thrown out the obsolete drivers in the TODO list. Added the Toshiba board-id's into the if_edreg.h file and the different checksum for the Toshiba ethernet-boards.
|
#
808 |
|
29-Nov-1993 |
dg |
* Revision 2.16 1993/11/29 16:55:56 davidg * merged in Garrett Wollman's strict prototype changes * * Revision 2.15 1993/11/29 16:32:58 davidg * From Thomas Sandford <t.d.g.sandford@comp.brad.ac.uk> * Add support for the 8013W board type
|
#
791 |
|
22-Nov-1993 |
dg |
* Revision 2.14 1993/11/22 10:55:30 davidg * change all splnet's to splimp's * * Revision 2.13 1993/11/22 10:53:52 davidg * patch to add support for SMC8216 (Elite-Ultra) boards * from Glen H. Lowe * * Revision 2.12 1993/11/07 18:04:13 davidg * fix from Garrett Wollman: * add a return(0) at the end of ed_probe so that if the various device * specific probes fail that we just don't fall of the end of the function.
|
#
520 |
|
29-Sep-1993 |
dg |
* Revision 2.2 93/09/29 13:23:25 davidg * added no multi-buffer override for 3c503 * * Revision 2.1 93/09/29 12:32:12 davidg * changed multi-buffer count for 16bit 3c503's from 5 to 2 after * noticing that the transmitter becomes idle because of so many * packets to load. * * Revision 2.0 93/09/29 00:00:19 davidg * many changes, rewrites, additions, etc. Now supports the * NE1000, NE2000, WD8003, WD8013, 3C503, 16bit 3C503, and * a variety of similar clones. 16bit 3c503 now does multi * transmit buffers. Nearly every part of the driver has * changed in some way since rev 1.30.
|
#
498 |
|
22-Sep-1993 |
dg |
rewrote interrupt code to be cleaner, fixed up some other parts to make it easier to add future board types.
|
#
426 |
|
09-Sep-1993 |
dg |
As of this revision, all known bugs have been fixed. Some of the fixes include:
1) fixed 3c503 lock-up if the thinwire cable was disconnected at boot time 2) 8013EBT boards now work (quite well!) in 16bit/16k mode 3) ED_NO_DOUBLE_BUFFERING flag now works 4) slightly higer performance (about 3%) with 16bit WD/SMC boards 5) support for WD8013WC (10BaseT) boards
Additionally, the probe code has been reorganized to be much cleaner. This revision of the driver is 1.25. The release notes have been updated as well.
|
#
172 |
|
20-Jul-1993 |
dg |
Added config file override for memory size and added flags to force 8bit or 16bit operation, and a flag to disable transmitter double buffering. See the updated "ed.relnotes" file for information about how to set the flags. This should be considered the first "production" release. It still needs a manual page, though.
|
#
43 |
|
23-Jun-1993 |
dg |
Second beta release of device driver for SMC/WD 80x3 ethernet boards + some additional comments.
|
#
42 |
|
22-Jun-1993 |
dg |
Second beta release of device driver for WD/SMC 80x3 and 3c503 ethernet boards
|
#
6 |
|
14-Jun-1993 |
dg |
Beta release of device driver for SMC/WD80x3 and 3C503 ethernet boards.
|