diff --git a/reactos/drivers/usb/cromwell/linux/linux_wrapper.h b/reactos/drivers/usb/cromwell/linux/linux_wrapper.h index 3de8596de67..bd0b87f872a 100644 --- a/reactos/drivers/usb/cromwell/linux/linux_wrapper.h +++ b/reactos/drivers/usb/cromwell/linux/linux_wrapper.h @@ -540,7 +540,7 @@ kmem_cache_t *my_kmem_cache_create(const char *tag, size_t alloc_size, 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); diff --git a/reactos/drivers/usb/cromwell/linux/pci_ids.h b/reactos/drivers/usb/cromwell/linux/pci_ids.h index 77a15698745..5d0f0185c54 100644 --- a/reactos/drivers/usb/cromwell/linux/pci_ids.h +++ b/reactos/drivers/usb/cromwell/linux/pci_ids.h @@ -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 diff --git a/reactos/drivers/usb/cromwell/sys/linuxwrapper.c b/reactos/drivers/usb/cromwell/sys/linuxwrapper.c index 39791eaf2d2..303548e7367 100644 --- a/reactos/drivers/usb/cromwell/sys/linuxwrapper.c +++ b/reactos/drivers/usb/cromwell/sys/linuxwrapper.c @@ -337,11 +337,12 @@ kmem_cache_t *my_kmem_cache_create(const char *tag, size_t alloc_size, 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)