In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "/dev/net/usbeth/top"

From WiiBrew
< /dev‎ | net‎ | usbeth
Jump to navigation Jump to search
Line 41: Line 41:
 
| ?  
 
| ?  
 
| ?  
 
| ?  
| ?
+
| dose not exist
 
|-
 
|-
 
| 0x20008  
 
| 0x20008  
| ?
+
| 0
| ?
+
| 1 (0x24)
 
| ?
 
| ?
 
|-
 
|-
 
| 0x20009  
 
| 0x20009  
| ?
+
| 1(0xC)(struct u32 supportfield,u32 advertisefeature, u16 speed (Mbps),u8 duplex(0 is full-duplex,1 is half-duplex),u8 wtf3 (must be 0 but not in /dev/net/wd/top))
| ?
+
| 0
| ?
+
| select
 
|-
 
|-
 
| 0x20010  
 
| 0x20010  
| ?
+
| 0
| ?
+
| 1 (0xC)
| ?
+
| get the current select
 
|}
 
|}

Revision as of 11:46, 27 July 2010

This is the interface to the Nintendo USB Ethernet adapter. It presents an interface similar (identical?) to /dev/net/wd/top.

Ioctl Inputs Outputs Function
0x20001 1 (0x28 bytes, a struct iobuffer) 0 Transmit packet
0x20002 0 0 net_dev_up
0x20003 0 0 net_dev_down
0x20004 1 (0x20 bytes?) 0 seems to always fail??? something with multicast addres may ConfigMulticast
0x20005 1 (6 bytes) 0 set MAC address
0x20006 0 1 (6 bytes) get MAC address
0x20007 ? ? dose not exist
0x20008 0 1 (0x24) ?
0x20009 1(0xC)(struct u32 supportfield,u32 advertisefeature, u16 speed (Mbps),u8 duplex(0 is full-duplex,1 is half-duplex),u8 wtf3 (must be 0 but not in /dev/net/wd/top)) 0 select
0x20010 0 1 (0xC) get the current select