[ros-dev] NIC RTL8029 will work with NE2000

netzimme at netscape.net netzimme at netscape.net
Sat Feb 12 05:21:35 CET 2005


Hi Ros-Dev

I have a patch that let a RTL8029 based NIC work with
the ne2000 driver and partiell with the original driver.
The problem is when the 'size' is 0 and the queriy run in
NDIS_STATUS_INVALID_LENGTH. Then the size is never set to
the a new value.


Index: miniport.c
===================================================================
--- miniport.c  (revision 13495)
+++ miniport.c  (working copy)
@@ -603,7 +603,7 @@
           Adapter->NdisMiniportBlock.MiniportAdapterContext,
           Oid,
           Adapter->QueryBuffer,
-          Size,
+          Adapter->QueryBufferLength,
           BytesWritten,
           &BytesNeeded);
     }


__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp


More information about the Ros-dev mailing list