Mark all rts_pstor devices as card readers
authorAyan George <ayan.george@canonical.com>
Thu, 21 Jul 2011 07:03:22 +0000 (09:03 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 21 Jul 2011 07:03:22 +0000 (09:03 +0200)
Generalize commit 361a2ce3 to apply to all card readers covered by the
rts_pstor driver.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
data/80-udisks.rules

index 2be210d..6720394 100644 (file)
@@ -135,8 +135,8 @@ SUBSYSTEMS=="usb", ATTRS{idVendor}=="05e3", ATTRS{idProduct}=="070e", ENV{ID_INS
 #
 SUBSYSTEMS=="usb", ATTRS{idVendor}=="05ac", ATTRS{idProduct}=="8403", ENV{ID_DRIVE_FLASH_SD}="1"
 
-# Realtek card reader
-SUBSYSTEMS=="pci", ATTRS{vendor}=="0x10ec", ATTRS{device}=="0x5208", ENV{ID_DRIVE_FLASH}="1"
+# Realtek card readers
+DRIVERS=="rts_pstor", ENV{ID_DRIVE_FLASH_SD}="1"
 
 # Common theme
 #