mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 15:19:51 +00:00
[SCSI] mvumi: Use PCI_VENDOR_ID_MARVELL_EXT for 0x1b4b
With the 0x1b4b vendor ID #define in place, convert hard-coded ID values. Signed-off-by: Myron Stowe <myron.stowe@redhat.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: James Bottomley <James.Bottomley@hansenpartnership.com>
This commit is contained in:
parent
412e704fbc
commit
c85bcadc78
@ -49,8 +49,8 @@ MODULE_AUTHOR("jyli@marvell.com");
|
|||||||
MODULE_DESCRIPTION("Marvell UMI Driver");
|
MODULE_DESCRIPTION("Marvell UMI Driver");
|
||||||
|
|
||||||
static DEFINE_PCI_DEVICE_TABLE(mvumi_pci_table) = {
|
static DEFINE_PCI_DEVICE_TABLE(mvumi_pci_table) = {
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_2, PCI_DEVICE_ID_MARVELL_MV9143) },
|
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_EXT, PCI_DEVICE_ID_MARVELL_MV9143) },
|
||||||
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_2, PCI_DEVICE_ID_MARVELL_MV9580) },
|
{ PCI_DEVICE(PCI_VENDOR_ID_MARVELL_EXT, PCI_DEVICE_ID_MARVELL_MV9580) },
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -32,7 +32,6 @@
|
|||||||
#define VER_BUILD 1500
|
#define VER_BUILD 1500
|
||||||
|
|
||||||
#define MV_DRIVER_NAME "mvumi"
|
#define MV_DRIVER_NAME "mvumi"
|
||||||
#define PCI_VENDOR_ID_MARVELL_2 0x1b4b
|
|
||||||
#define PCI_DEVICE_ID_MARVELL_MV9143 0x9143
|
#define PCI_DEVICE_ID_MARVELL_MV9143 0x9143
|
||||||
#define PCI_DEVICE_ID_MARVELL_MV9580 0x9580
|
#define PCI_DEVICE_ID_MARVELL_MV9580 0x9580
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user