Commit Graph

96 Commits

Author SHA1 Message Date
hidnplayr
dfbe402a16 Updated i8255x driver for NET branch
git-svn-id: svn://kolibrios.org@2313 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-13 13:29:43 +00:00
hidnplayr
92f2253d7a Making SIS900 driver for net branch compileable
git-svn-id: svn://kolibrios.org@2304 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-11-08 17:24:46 +00:00
hidnplayr
d17706e476 NET branch:
- cleanup in stack.inc + re-organisation of device pointers
- i8255x driver stub
- fix in sis900 driver (still untested)


git-svn-id: svn://kolibrios.org@2220 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-22 04:08:56 +00:00
hidnplayr
4638ba887e Updated R6040 driver for net branch:
Fixed typo, cleaned up, disabled excessive debug output.

git-svn-id: svn://kolibrios.org@1893 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-28 19:20:47 +00:00
hidnplayr
1b801e1c89 Updated r6040 driver for net branch
git-svn-id: svn://kolibrios.org@1889 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-25 16:14:21 +00:00
hidnplayr
76fa3151d7 R6040 driver for net branch
git-svn-id: svn://kolibrios.org@1886 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-02-24 17:15:24 +00:00
hidnplayr
4ee220aebe Fixed bug in RTL8169 interrupt procedure.
git-svn-id: svn://kolibrios.org@1823 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-01-31 18:45:19 +00:00
hidnplayr
1d3a993b72 Fixed PCnet driver.
git-svn-id: svn://kolibrios.org@1564 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-09 15:40:52 +00:00
hidnplayr
0840e2b342 MTD80x driver for net branch:
Only mtd803 aka surecom ep-320x for now.

git-svn-id: svn://kolibrios.org@1561 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-07 21:04:24 +00:00
hidnplayr
08ea0b5f68 Latest bugfix in RTL8169 for today.
git-svn-id: svn://kolibrios.org@1559 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 22:26:00 +00:00
hidnplayr
cb06c448b9 Update of RTL8169 driver for net branch
git-svn-id: svn://kolibrios.org@1558 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 22:15:25 +00:00
hidnplayr
00d5a0b321 Some bugfixes in RTL8169 driver for net branch.
git-svn-id: svn://kolibrios.org@1557 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-06 13:12:11 +00:00
hidnplayr
0503ca2897 Fixed RTL8139 driver.
bugfix in RTL8169 driver.

git-svn-id: svn://kolibrios.org@1556 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-05 14:03:47 +00:00
hidnplayr
1dd3566e02 I uploaded the wrong file in previous revision
reverted the file + uploaded right file this time

git-svn-id: svn://kolibrios.org@1554 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-03 15:36:54 +00:00
hidnplayr
6d55f4e33d RTL8169 driver for NET branch (not tested/debugged yet!)
git-svn-id: svn://kolibrios.org@1553 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-03 15:21:38 +00:00
hidnplayr
7d3a0d9fb0 Bugfix in 3com network driver concerning tx reset on transmit.
git-svn-id: svn://kolibrios.org@1545 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-01 17:39:54 +00:00
hidnplayr
8a7ebf6b32 fix in ARPcfg application
added pci ids of dec21x4x cards to netcfg
bugfixes in dex21x4x driver, pcnet32 driver, rtl8139 driver and sis900 driver
new network program (ICMP) to ping computers, uses new RAW socket code (experimental)

git-svn-id: svn://kolibrios.org@1541 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 21:54:27 +00:00
hidnplayr
fab920c5c8 Deleted double macro in netdrv.inc
Refactoring of ARP code.
Used universal names for protocol handlers.
Moved some pieces of code from procs to macros.
Added IPv4_fragment (currently disabled)
Added ring-buffer functions for sockets 
Updates in TCP code

git-svn-id: svn://kolibrios.org@1529 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-27 18:53:38 +00:00
hidnplayr
c6d66896a5 net branch: Fixed previously broken ne2000/rtl8029 driver
git-svn-id: svn://kolibrios.org@1527 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-26 19:06:33 +00:00
hidnplayr
55e0141343 Fixed 3c59x driver to work with 3c900b-tpo cards
git-svn-id: svn://kolibrios.org@1521 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-16 15:37:50 +00:00
hidnplayr
084d99548d -Refactoring of network drivers.
-Ommitted unnescessary copying of packets in some drivers.
-Some small updates in TCP (perhaps 50% done ?)

git-svn-id: svn://kolibrios.org@1519 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-15 18:54:19 +00:00
hidnplayr
6a1d621671 - globalisation of network driver functions
(Replaced EthRegDev with NetRegDev)
- rewrite/cleanup of socket.inc
- started rewrite of tcp.inc 
- port numbers in application are not byte-swapped anymore
- many more fixes and changes

- TCP does not work but UDP/IP/ICMP/ARP (partly) work.. (as before)



git-svn-id: svn://kolibrios.org@1514 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-11 23:13:12 +00:00
hidnplayr
cb55d99b40 Net-branch: Updates in dec21x4x.asm, still only works in virtual pc.
git-svn-id: svn://kolibrios.org@1503 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-22 16:15:11 +00:00
hidnplayr
ba3fb040e1 Net-branch: another work in progress: dec21x4x driver.
Only works in MS Virtual-PC for now. (not on real hardware yet)

git-svn-id: svn://kolibrios.org@1502 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-20 22:36:52 +00:00
hidnplayr
34efef1da5 Updates in RTL8029 and PCNET32 driver.
Moved public data structure for network drivers to netdrv.inc

git-svn-id: svn://kolibrios.org@1492 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-11 16:44:47 +00:00
hidnplayr
7ccd311e15 Net-branch:
Fixed bug in RTL8139 interrupt handler.

git-svn-id: svn://kolibrios.org@1486 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-07 18:48:49 +00:00
hidnplayr
049d796e81 Net-branch:
Added statistics to 3c59x driver.
Fixed mixed up DNS and Gateway of static settings for zeroconf

git-svn-id: svn://kolibrios.org@1481 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-06 19:04:46 +00:00
hidnplayr
63480d7af3 Fixed merging error in RTL8139.Asm for net-branch
git-svn-id: svn://kolibrios.org@1478 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-06-01 14:53:43 +00:00
hidnplayr
9ca8f38b9e Changes in net_branch:
Fixed yet another bug in RTL8139 driver (should be almost bug-free now)
Added 3com driver (only boomerang cards tested)
If somebody has a vortex type 3com card, please help me debug the driver!



git-svn-id: svn://kolibrios.org@1472 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-28 15:40:36 +00:00
CleverMouse
35c4be95ad fix typo in network drivers
git-svn-id: svn://kolibrios.org@1377 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-22 11:09:23 +00:00
CleverMouse
e71825c2b1 * fixed return value for udp send()
* added required zero-initialization of some fields in pcnet driver
* fixed debug output in pcnet driver


git-svn-id: svn://kolibrios.org@1263 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-10 11:49:07 +00:00
hidnplayr
2fcdc75ae8 changes in net branch:
-Further development of TCP
-Fixed a design issue in Ethernet drivers wich would cause a lot of overhead for TCP (I probably completely broke RTL8029 driver now, let's finish TCP first..)

git-svn-id: svn://kolibrios.org@1254 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-08 18:00:01 +00:00
CleverMouse
b35a874c08 Some fixes in net branch:
* pseudoheader for UDP checksum was wrong
* network checksum for data with odd length was wrong
* stack issues in ARP_add_entry fixed
* more correct checking for new packets in pcnet driver


git-svn-id: svn://kolibrios.org@1251 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-07 16:13:47 +00:00
CleverMouse
8b09309dd2 driver for SIS900 card, ported from trunk
git-svn-id: svn://kolibrios.org@1237 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-26 11:32:59 +00:00
hidnplayr
e39d270463 A lot of bugfixes in ARP, IPv4, UDP and sockets code.
git-svn-id: svn://kolibrios.org@1206 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-12 14:39:59 +00:00
CleverMouse
f6498da63c fixes in PCNet driver (now it works in VMWare)
git-svn-id: svn://kolibrios.org@1202 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-09 10:18:36 +00:00
CleverMouse
bbdad4119d * fixes in FDO for drivers from FDO for the kernel
* fixes in PCNet driver (works in VirtualBox, still problems in VMWare)

git-svn-id: svn://kolibrios.org@1201 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-08 10:24:33 +00:00
CleverMouse
6507cc5019 sync with trunk
git-svn-id: svn://kolibrios.org@1198 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-07 09:59:35 +00:00
hidnplayr
602924a5b5 compile netcfg on unix
fixed bug in netcfg created in last revision
netcfg gives error msg when driver is not loaded
zeroconfig now works with latest version of libini
also fixed use of static and link-local ip in zeroconfig
initial IPv4 variables are now 0.0.0.0 instead of 255.255.255.255
created kernel function that shows number of active network devices 
fixed the use of temp mac variable in IPV4.inc (variable is now in stack)
rewrite of ARP code, needs full testing/debugging (new application needed: ARP manager)
port numbers are now in INET byte order, as is in posix standards

git-svn-id: svn://kolibrios.org@1196 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-05 20:47:27 +00:00
hidnplayr
8fa80be372 small optimisation and cleanup of rtl8029.inc
last in series of attempts to make kernel compile on unix


git-svn-id: svn://kolibrios.org@1187 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-28 20:16:23 +00:00
hidnplayr
68b0c1de2a Some more bugfixes and cleanup of RTL8029 driver.
Driver works on real hardware, but is not stable yet.

git-svn-id: svn://kolibrios.org@1178 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-25 21:09:41 +00:00
CleverMouse
740caf3d0d fixes in RTL8029 driver (now it works in qemu)
git-svn-id: svn://kolibrios.org@1177 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-25 10:52:09 +00:00
hidnplayr
698f06c417 Fixed bug wich made kernel crash when stack was used with no driver loaded.
Made some code more logical regarding stats 

git-svn-id: svn://kolibrios.org@1174 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-24 18:32:03 +00:00
CleverMouse
65fa263646 * UDP data length includes sizeof UDP header
* fixes in RTL8139 driver
* fixes in RTL8029 driver (works in Bochs, still problems in qemu)


git-svn-id: svn://kolibrios.org@1173 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-24 10:43:38 +00:00
hidnplayr
bb5ed21ec9 Small fix in RTL8139 driver regarding stats
Fixes and updates in stack for function 75
+ some other small fixes

Netstat program

Deleting of some unrelated files

Coming up next: fixes and updates in ARP code

git-svn-id: svn://kolibrios.org@1171 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-22 16:42:54 +00:00
hidnplayr
6439263aed Moving the files...
git-svn-id: svn://kolibrios.org@1161 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-17 12:59:26 +00:00