ChangeSet 1.879.9.3, 2003/01/06 15:55:16-08:00, petkan@users.sourceforge.net [PATCH] USB pegasus: small patch for 2.5 Same as the previous email, just against latest linux-2.5 tree. Sorry about the diffs - i can't sync with usb-2.5. diff -Nru a/drivers/usb/net/pegasus.c b/drivers/usb/net/pegasus.c --- a/drivers/usb/net/pegasus.c Wed Jan 8 12:02:44 2003 +++ b/drivers/usb/net/pegasus.c Wed Jan 8 12:02:44 2003 @@ -45,7 +45,7 @@ /* * Version Information */ -#define DRIVER_VERSION "v0.5.8 (2002/12/13)" +#define DRIVER_VERSION "v0.5.9 (2002/12/31)" #define DRIVER_AUTHOR "Petko Manolov " #define DRIVER_DESC "Pegasus/Pegasus II USB Ethernet driver" @@ -866,6 +866,9 @@ return -ENOMEM; down(&pegasus->sem); + + set_registers(pegasus, EthID, 6, net->dev_addr); + usb_fill_bulk_urb(pegasus->rx_urb, pegasus->usb, usb_rcvbulkpipe(pegasus->usb, 1), pegasus->rx_skb->data, PEGASUS_MTU + 8, diff -Nru a/drivers/usb/net/pegasus.h b/drivers/usb/net/pegasus.h --- a/drivers/usb/net/pegasus.h Wed Jan 8 12:02:44 2003 +++ b/drivers/usb/net/pegasus.h Wed Jan 8 12:02:44 2003 @@ -239,8 +239,8 @@ LINKSYS_GPIO_RESET ) PEGASUS_DEV( "Linksys USB100TX", VENDOR_LINKSYS, 0x2204, LINKSYS_GPIO_RESET | HAS_HOME_PNA ) -PEGASUS_DEV( "Linksys USB Ethernet Adapter", VENDOR_LINKSYS, 0x2206, - LINKSYS_GPIO_RESET ) +PEGASUS_DEV( "Linksys USB10T Ethernet Adapter", VENDOR_LINKSYS, 0x2206, + LINKSYS_GPIO_RESET | PEGASUS_II) PEGASUS_DEV( "Linksys USB USB100TX", VENDOR_LINKSYS, 0x400b, LINKSYS_GPIO_RESET | PEGASUS_II ) PEGASUS_DEV( "Linksys USB10TX", VENDOR_LINKSYS, 0x200c,