Some minor additions to support newer versions of uhci driver (though
doesn't even compile atm).
Modified: trunk/reactos/drivers/usb/cromwell/linux/linux_wrapper.h
Modified: trunk/reactos/drivers/usb/cromwell/linux/pci_ids.h
Modified: trunk/reactos/drivers/usb/cromwell/sys/linuxwrapper.c
_____
Modified: trunk/reactos/drivers/usb/cromwell/linux/linux_wrapper.h
--- trunk/reactos/drivers/usb/cromwell/linux/linux_wrapper.h
2005-04-10 10:16:37 UTC (rev 14568)
+++ trunk/reactos/drivers/usb/cromwell/linux/linux_wrapper.h
2005-04-10 10:20:10 UTC (rev 14569)
@@ -540,7 +540,7 @@
void
*ctor,
void
*dtor);
-void my_kmem_cache_destroy(kmem_cache_t *co);
+BOOLEAN my_kmem_cache_destroy(kmem_cache_t *co);
void *my_kmem_cache_alloc(kmem_cache_t *co, int flags);
void my_kmem_cache_free(kmem_cache_t *co, void *ptr);
_____
Modified: trunk/reactos/drivers/usb/cromwell/linux/pci_ids.h
--- trunk/reactos/drivers/usb/cromwell/linux/pci_ids.h 2005-04-10
10:16:37 UTC (rev 14568)
+++ trunk/reactos/drivers/usb/cromwell/linux/pci_ids.h 2005-04-10
10:20:10 UTC (rev 14569)
@@ -2,12 +2,14 @@
#define PCI_IDS__H
#define PCI_VENDOR_ID_NS 0x100b
-#define PCI_DEVICE_ID_NS_87560_LIO 0x000e
#define PCI_VENDOR_ID_AMD 0x1022
#define PCI_VENDOR_ID_OPTI 0x1045
#define PCI_VENDOR_ID_VIA 0x1106
#define PCI_VENDOR_ID_INTEL 0x8086
+#define PCI_DEVICE_ID_NS_87560_LIO 0x000e
+#define PCI_DEVICE_ID_INTEL_82371AB_2 0x7112
+
#define PCI_CLASS_SERIAL_USB (PCI_CLASS_SERIAL_BUS_CTLR << 8 +
PCI_SUBCLASS_SB_USB)
#endif
_____
Modified: trunk/reactos/drivers/usb/cromwell/sys/linuxwrapper.c
--- trunk/reactos/drivers/usb/cromwell/sys/linuxwrapper.c
2005-04-10 10:16:37 UTC (rev 14568)
+++ trunk/reactos/drivers/usb/cromwell/sys/linuxwrapper.c
2005-04-10 10:20:10 UTC (rev 14569)
@@ -337,11 +337,12 @@
return (kmem_cache_t *)Lookaside;
}
/*----------------------------------------------------------------------
--*/
-void my_kmem_cache_destroy(kmem_cache_t *co)
+BOOLEAN my_kmem_cache_destroy(kmem_cache_t *co)
{
ExDeleteNPagedLookasideList((PNPAGED_LOOKASIDE_LIST)co);
- ExFreePool(co);
+ ExFreePool(co);
+ return FALSE;
}
/*----------------------------------------------------------------------
--*/
void *my_kmem_cache_alloc(kmem_cache_t *co, int flags)
Show replies by date