| View previous topic :: View next topic |
| Author |
Message |
misfire
Joined: 06 Sep 2004 Posts: 120 Location: Germany
|
Posted: Mon Jun 12, 2006 9:33 pm Post subject: SMAP: ps2ip_getconfig() |
|
|
Hello,
after loading the SMAP Ethernet device driver, I'm trying to call the ps2ip_getconfig() function from EE.
This is the declaration:
int ps2ip_getconfig(char *netif_name, t_ip_info *ip_info);
Now, I'm wondering what netif_name would be? In the SMAP source code it says:
#define IFNAME0 's'
#define IFNAME1 'm'
But "sm" doesn't seem to work as the network interface name; ip_info contains nothing useful. Any Ideas? |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Mon Jun 12, 2006 10:31 pm Post subject: |
|
|
...you have ps2ip.irx and ps2ips.irx (for EE) loaded right? _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
misfire
Joined: 06 Sep 2004 Posts: 120 Location: Germany
|
Posted: Tue Jun 13, 2006 1:25 am Post subject: |
|
|
Yes, I've loaded all necessary modules and called ps2ip_init(). The network communication works.
ps2ip_getconfig() returns 1, but the t_ip_info structure seems to be empty (all members are 0).
Maybe there's a bug in ps2ips.irx, and ps2ip_getconfig() doesn't work from EE? |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Tue Jun 13, 2006 8:59 am Post subject: |
|
|
There are lots of bugs in ps2ips. Whether this is one of them or not I couldn't tell you sadly ;) _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
misfire
Joined: 06 Sep 2004 Posts: 120 Location: Germany
|
Posted: Wed Jun 14, 2006 4:28 am Post subject: |
|
|
Too bad. :(
I've got another question concerning SMAP: Does ps2smap.irx automatically put the BBA put into 100MBit/full duplex mode? Or how is the speed handled? |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Wed Jun 14, 2006 10:19 am Post subject: |
|
|
When it's init'ed it should attempt to autonegotiate the best available connection speed. _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
|