cremes' OpenDarwin Blog
See all the tasks and projects that I may or may not be currently working on for the OpenDarwin project at www.opendarwin.org

 



Project Downloads:

OpenDarwin & contributors:


My Other Projects:

External Links:




Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 

 

  Monday, March 1, 2004


SYM selection now works for both 10 and 100 Mb speeds.

A few problems remain.

1. Unplugging and plugging the cable results in a fubar interface. It senses the link going down, and sees it come up again, but it won't transmit after this. The workaround is to down/up the interface. Yuck.

2. Unplugging from a 10-half hub port and plugging into a 100-full port does work a little bit. Transmit functions, but duplex is off.

3. Using ifconfig, you cannot override the speed or duplex of the interface. I think I know why (has to do with the capabilities override I do). I'll try and fix this later, but as of right now #1 and #2 are more important to fix.

If anyone would like to test this code, I can provide a tarball that will match against DEC2114x and PNIC2 cards. I need feedback on both. As soon as I firm up the support a bit more, I'll commit the changes (and new files) to opendarwin's CVS repository.

10:28:38 PM    comment []



I have SYM media selection mostly working for the DEC 21143. Previously, the DEC 21143 was supported but only if it had MII (media independent interface).  Some cards use the SYM (symbol port) for setting media, and so I had to add this in too.

Right now it is working at 10/half. I haven't gotten it to negotiate anything faster yet.

I did something interesting. I took all my MII code and dummied up the _readStatus, _readControl and _writeControl methods to write to the 3 different registers necessary for SYM support (CSR12, CSR13 and CSR14). So most of the code looks identical to the MII stuff. I don't see why the 100 Mb and full-duplex settings are so hard to get working, but I'll keep plugging away on it.

As soon as this is done, adding in the PNIC2 support should take "minutes."

4:55:56 PM    comment []




Click here to visit the Radio UserLand website. © Copyright 2004 Chuck Remes.
Last update: 10/2/04; 11:48:07 AM.

March 2004
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Feb   Apr