--- zzzz-none-000/linux-2.6.28.10/drivers/usb/storage/usb.c 2009-05-02 18:54:43.000000000 +0000 +++ fusiv-7390-686/linux-2.6.28.10/drivers/usb/storage/usb.c 2014-05-21 17:39:11.000000000 +0000 @@ -950,6 +950,26 @@ int result; struct task_struct *th; + struct usb_device *udev; + + /* AVM/BC 20100330 Patch from AVM Kernel 2.6.19 + * Filter out all AVM (057C) mass storage devices... =WK= 20071217 + */ + #define AVM_VENDOR_ID 0x057C + + /*== AVM/WK 20090226 Big Endian Fix == */ + udev = interface_to_usbdev(intf); + if (le16_to_cpu(udev->descriptor.idVendor) == AVM_VENDOR_ID) { + unsigned short vendor, device; + vendor = (unsigned short) le16_to_cpu(udev->descriptor.idVendor); + device = (unsigned short) le16_to_cpu(udev->descriptor.idProduct); + printk ( + KERN_INFO "USB Mass Storage device (%04x:%04x) ignored!\n", + vendor, device + ); + return -ENODEV; + } + if (usb_usual_check_type(id, USB_US_TYPE_STOR)) return -ENXIO;