Commit Graph

92 Commits

Author SHA1 Message Date
hidnplayr
ff6bf9b758 PcNET32: Handle FIFO overruns gracefully.
git-svn-id: svn://kolibrios.org@8898 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-20 20:30:44 +00:00
hidnplayr
c32ae93703 PcNET32: General cleanup
git-svn-id: svn://kolibrios.org@8897 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-20 20:28:33 +00:00
hidnplayr
07efb9321b Add chip type detection. Only QCA816x/7x supported so far.
git-svn-id: svn://kolibrios.org@7827 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-27 18:47:33 +00:00
hidnplayr
6f3b0e45fa Atheros 8161/8162/8171/8172 Ethernet driver.
Only tested on AR8171 with rev B0 chip.

git-svn-id: svn://kolibrios.org@7809 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-19 17:46:27 +00:00
hidnplayr
82e469a233 RTL8169 driver: Small bugfix, cleanup
git-svn-id: svn://kolibrios.org@7299 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-07-01 10:56:44 +00:00
hidnplayr
ade341318e Interpret 64-bit PCI BAR's properly.
git-svn-id: svn://kolibrios.org@7250 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-04-21 08:29:06 +00:00
hidnplayr
5e5c753d2f i8255x: Give device more time to perform selective reset.
git-svn-id: svn://kolibrios.org@6948 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-08-31 18:55:12 +00:00
hidnplayr
3bf057cc8d i8254x: Dont set auto-negotiation bit in transmit configuration register, it requires extra code to work properly.
git-svn-id: svn://kolibrios.org@6947 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-08-30 19:09:46 +00:00
hidnplayr
97e49e498f Fixed eeprom reading for certain chips, detect PHY ID, improved reset.
git-svn-id: svn://kolibrios.org@6717 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-15 21:34:09 +00:00
hidnplayr
0dbd422c9e Fix for rev6711.
git-svn-id: svn://kolibrios.org@6713 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-15 18:13:39 +00:00
hidnplayr
fdf02e4b52 Added more hardware diversities, refactored chip wake up procedure, set PCI_CMD_PIO bit to allow access to devices which have this bit disabled by default.
git-svn-id: svn://kolibrios.org@6711 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-14 16:28:33 +00:00
hidnplayr
b1100a5fe6 RTL8139: Do not register driver if reset failed.
git-svn-id: svn://kolibrios.org@6682 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-06 17:59:28 +00:00
hidnplayr
0e1259ffe3 RTL8169: Fixed total received byte counter.
git-svn-id: svn://kolibrios.org@6480 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-16 16:15:03 +00:00
hidnplayr
3dfbd4d145 Fixed error in TX configuration register.
git-svn-id: svn://kolibrios.org@6229 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-14 22:51:12 +00:00
hidnplayr
1486250609 RTL8139 Link status: full/half duplex detection.
git-svn-id: svn://kolibrios.org@6227 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-14 22:17:37 +00:00
hidnplayr
2f1193a112 Added some more MAC identifiers.
git-svn-id: svn://kolibrios.org@6124 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-01 20:32:42 +00:00
hidnplayr
0373dceb83 Print TxConfig register value to debug board for unlisted rtl8169 clones.
git-svn-id: svn://kolibrios.org@6119 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-02-01 18:21:55 +00:00
hidnplayr
d8d75b5cf6 PCNET32: Correctly handle interrupts when more then one device is loaded.
git-svn-id: svn://kolibrios.org@5617 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-26 11:02:45 +00:00
hidnplayr
b87cf02d06 i8254x: Link detection
git-svn-id: svn://kolibrios.org@5588 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-20 16:04:03 +00:00
hidnplayr
803d1a2842 RTL8169: Fail graciously when out of mem.
git-svn-id: svn://kolibrios.org@5567 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-06-01 22:06:51 +00:00
hidnplayr
b754cb2eae i8255x: Cleanup, Better handeling of received frames.
git-svn-id: svn://kolibrios.org@5562 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-05-29 19:12:25 +00:00
hidnplayr
c9d8d9f37b i8255x: Fail graciously when out of mem.
git-svn-id: svn://kolibrios.org@5561 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-05-28 10:43:00 +00:00
hidnplayr
c5df59af4b i8255x: Fixed memory leak when i8255x runs out of resources.
git-svn-id: svn://kolibrios.org@5560 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-05-28 10:32:10 +00:00
hidnplayr
d69ad59490 i8254x: reduced network buffer size
git-svn-id: svn://kolibrios.org@5527 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-18 13:37:41 +00:00
hidnplayr
6a6d3deaec i8255x: cleanup + support for multiple TX descriptors.
git-svn-id: svn://kolibrios.org@5525 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-18 10:57:16 +00:00
hidnplayr
0ba1fff7a7 New network buffers - phase I
git-svn-id: svn://kolibrios.org@5522 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-17 21:50:29 +00:00
hidnplayr
1f31c584e7 RTL8169: cleanup + link state detection.
Netstat: fixed some link state messages.

git-svn-id: svn://kolibrios.org@5498 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-05 20:04:52 +00:00
hidnplayr
5bc7dd64ce Updated chip version detection with a lot of newer chips.
(From r8169.c linux driver dated feb 2015)

git-svn-id: svn://kolibrios.org@5494 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-03-03 13:31:19 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
hidnplayr
5cd0c307f0 i8255x: longer acces timing for eeprom.
git-svn-id: svn://kolibrios.org@5247 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-19 21:33:05 +00:00
hidnplayr
3054442804 Program TFA correctly.
git-svn-id: svn://kolibrios.org@5194 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-28 12:17:10 +00:00
hidnplayr
636971f000 Make all network driver service names uppercase.
(avoid loading the same driver multiple times because of different naming)

git-svn-id: svn://kolibrios.org@5186 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-22 17:01:23 +00:00
hidnplayr
e54f076e14 DEC21X4X: dont copy data when receiving.
git-svn-id: svn://kolibrios.org@5184 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-21 12:26:02 +00:00
hidnplayr
bf63b913c5 removed duplicate mii constants
git-svn-id: svn://kolibrios.org@5182 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-20 22:20:37 +00:00
hidnplayr
bf2246e564 DEC21X4X: use regular descriptors instead of chained method, better support for real cards (works on Accton EN1207B-TX card)
git-svn-id: svn://kolibrios.org@5180 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-20 22:09:33 +00:00
hidnplayr
35addf1d02 i8254x: dont crash when out of memory.
git-svn-id: svn://kolibrios.org@5156 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-11-01 18:39:23 +00:00
hidnplayr
5d2391c32e Corrected ANE bit. (Merged from Baremetal OS)
git-svn-id: svn://kolibrios.org@5140 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-23 08:27:47 +00:00
hidnplayr
1415fa22e9 set zero flag when transmit succeeded.
git-svn-id: svn://kolibrios.org@5127 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-15 11:28:35 +00:00
hidnplayr
68f4210d52 RTL8169: set zero flag when transmit succeeded
git-svn-id: svn://kolibrios.org@5126 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-15 11:23:03 +00:00
CleverMouse
cd74d1af33 switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-12 15:15:23 +00:00
hidnplayr
bb295aca38 Removed old netdrv.inc and pci.inc, replaced with newer, better versions.
git-svn-id: svn://kolibrios.org@5074 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-31 14:09:14 +00:00
hidnplayr
48b7151d43 Converted 3c59x driver to PE format.
git-svn-id: svn://kolibrios.org@5073 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-31 13:44:14 +00:00
hidnplayr
24547ca793 Converted unfinished cardbus and AGP drivers to PE, moved to drivers/unfinished
git-svn-id: svn://kolibrios.org@5066 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-29 15:09:56 +00:00
hidnplayr
5c90aa59dc debug information changes.
git-svn-id: svn://kolibrios.org@5065 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-29 13:07:07 +00:00
hidnplayr
962d0858c7 Converted RTL8169 driver to PE format.
git-svn-id: svn://kolibrios.org@5050 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-21 21:10:40 +00:00
hidnplayr
c9b26667e2 Converted DEC21x4x driver to PE format.
git-svn-id: svn://kolibrios.org@5046 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-20 13:16:24 +00:00
hidnplayr
5510d9a2d6 Converted RTL8139 driver to PE format.
git-svn-id: svn://kolibrios.org@5045 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-08-20 12:06:41 +00:00
hidnplayr
55b3e99585 Converted SIS900 driver to PE format.
git-svn-id: svn://kolibrios.org@5006 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-18 12:56:56 +00:00
hidnplayr
76a67fda03 Converted RTL8029 driver to PE format.
git-svn-id: svn://kolibrios.org@5005 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-18 12:23:41 +00:00
hidnplayr
a6d9ba12c7 Enabled all interrupt causes.
git-svn-id: svn://kolibrios.org@5004 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-07-18 09:46:58 +00:00