Sorry for the enthousiasm. For the first time in my life a made a driver
somewhat work. There's still a major list of things to do, but at least I
feel safer now that this is working. I can already do pings. Moreover, I'm
doing this commit with my own driver. I'm just ashamed for the major mistake
I made that took me so much time to find. I'm off sending this beast to
testers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3555 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Niels Sascha Reedijk 2003-06-17 14:02:51 +00:00
parent b1045c6e31
commit 1a20f41c7e
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
- A major code cleanup
- make sure all packets are received
- Confirm to the Opentracker coding guidelines
- Implement the free_hook
- Support other card types

View File

@ -423,14 +423,14 @@ open_hook(const char *name, uint32 flags, void** cookie)
m_pcimodule->write_io_32( data->reg_base + TSAD0 , (int32)data->transmitbufferphy[0] );
data->transmitbuffer[1] = data->transmitbuffer[0];
data->transmitbufferlog[1] = data->transmitbufferlog[0] + 2048;
data->transmitbufferphy[1] = data->transmitbufferlog[0] + 2048;
data->transmitbufferphy[1] = data->transmitbufferphy[0] + 2048;
m_pcimodule->write_io_32( data->reg_base + TSAD1 , (int32)data->transmitbufferphy[1] );
data->transmitbuffer[2] = alloc_mem( &(data->transmitbufferlog[2]) , &(data->transmitbufferphy[2]) , 4096 , "txbuffer23" );
m_pcimodule->write_io_32( data->reg_base + TSAD2 , (int32)data->transmitbufferphy[2] );
data->transmitbuffer[3] = data->transmitbuffer[2];
data->transmitbufferlog[3] = data->transmitbufferlog[2] + 2048;
data->transmitbufferphy[3] = data->transmitbufferlog[2] + 2048;
data->transmitbufferphy[3] = data->transmitbufferphy[2] + 2048;
m_pcimodule->write_io_32( data->reg_base + TSAD3 , (int32)data->transmitbufferphy[3] );
if( data->transmitbuffer[0] == B_ERROR || data->transmitbuffer[2] == B_ERROR )