diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2010-05-21 19:38:52 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2010-08-08 14:20:38 -0400 |
commit | 9f2cc6f759ca0b072107c171a3b5cd79c7ea5de3 (patch) | |
tree | f481487fa3ce2c5a38f90fb2333d860ca97ad854 /drivers/watchdog | |
parent | 9a3725631331f279fa44b6522874ce8818bcc455 (diff) |
watchdog: wdt_pci.c: move ids to pci_ids.h
Move the VENDOR/DEVICE ids to pci_ids.h.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/wdt_pci.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/watchdog/wdt_pci.c b/drivers/watchdog/wdt_pci.c index 7b22e3cdbc81..6130c88fa5ac 100644 --- a/drivers/watchdog/wdt_pci.c +++ b/drivers/watchdog/wdt_pci.c | |||
@@ -60,19 +60,6 @@ | |||
60 | 60 | ||
61 | #define PFX "wdt_pci: " | 61 | #define PFX "wdt_pci: " |
62 | 62 | ||
63 | /* | ||
64 | * Until Access I/O gets their application for a PCI vendor ID approved, | ||
65 | * I don't think that it's appropriate to move these constants into the | ||
66 | * regular pci_ids.h file. -- JPN 2000/01/18 | ||
67 | */ | ||
68 | |||
69 | #ifndef PCI_VENDOR_ID_ACCESSIO | ||
70 | #define PCI_VENDOR_ID_ACCESSIO 0x494f | ||
71 | #endif | ||
72 | #ifndef PCI_DEVICE_ID_WDG_CSM | ||
73 | #define PCI_DEVICE_ID_WDG_CSM 0x22c0 | ||
74 | #endif | ||
75 | |||
76 | /* We can only use 1 card due to the /dev/watchdog restriction */ | 63 | /* We can only use 1 card due to the /dev/watchdog restriction */ |
77 | static int dev_count; | 64 | static int dev_count; |
78 | 65 | ||
@@ -743,7 +730,7 @@ static void __devexit wdtpci_remove_one(struct pci_dev *pdev) | |||
743 | static struct pci_device_id wdtpci_pci_tbl[] = { | 730 | static struct pci_device_id wdtpci_pci_tbl[] = { |
744 | { | 731 | { |
745 | .vendor = PCI_VENDOR_ID_ACCESSIO, | 732 | .vendor = PCI_VENDOR_ID_ACCESSIO, |
746 | .device = PCI_DEVICE_ID_WDG_CSM, | 733 | .device = PCI_DEVICE_ID_ACCESSIO_WDG_CSM, |
747 | .subvendor = PCI_ANY_ID, | 734 | .subvendor = PCI_ANY_ID, |
748 | .subdevice = PCI_ANY_ID, | 735 | .subdevice = PCI_ANY_ID, |
749 | }, | 736 | }, |