aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pcmcia/sym53c500_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/pcmcia/sym53c500_cs.c')
-rw-r--r--drivers/scsi/pcmcia/sym53c500_cs.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/drivers/scsi/pcmcia/sym53c500_cs.c b/drivers/scsi/pcmcia/sym53c500_cs.c
index 1667da9508b4..b4b3a1a8a0c7 100644
--- a/drivers/scsi/pcmcia/sym53c500_cs.c
+++ b/drivers/scsi/pcmcia/sym53c500_cs.c
@@ -979,10 +979,6 @@ SYM53C500_attach(void)
979 link->next = dev_list; 979 link->next = dev_list;
980 dev_list = link; 980 dev_list = link;
981 client_reg.dev_info = &dev_info; 981 client_reg.dev_info = &dev_info;
982 client_reg.event_handler = &SYM53C500_event;
983 client_reg.EventMask = CS_EVENT_RESET_REQUEST | CS_EVENT_CARD_RESET |
984 CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL |
985 CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME;
986 client_reg.Version = 0x0210; 982 client_reg.Version = 0x0210;
987 client_reg.event_callback_args.client_data = link; 983 client_reg.event_callback_args.client_data = link;
988 ret = pcmcia_register_client(&link->handle, &client_reg); 984 ret = pcmcia_register_client(&link->handle, &client_reg);
@@ -999,13 +995,23 @@ MODULE_AUTHOR("Bob Tracy <rct@frus.com>");
999MODULE_DESCRIPTION("SYM53C500 PCMCIA SCSI driver"); 995MODULE_DESCRIPTION("SYM53C500 PCMCIA SCSI driver");
1000MODULE_LICENSE("GPL"); 996MODULE_LICENSE("GPL");
1001 997
998static struct pcmcia_device_id sym53c500_ids[] = {
999 PCMCIA_DEVICE_PROD_ID12("BASICS by New Media Corporation", "SCSI Sym53C500", 0x23c78a9d, 0x0099e7f7),
1000 PCMCIA_DEVICE_PROD_ID12("New Media Corporation", "SCSI Bus Toaster Sym53C500", 0x085a850b, 0x45432eb8),
1001 PCMCIA_DEVICE_PROD_ID2("SCSI9000", 0x21648f44),
1002 PCMCIA_DEVICE_NULL,
1003};
1004MODULE_DEVICE_TABLE(pcmcia, sym53c500_ids);
1005
1002static struct pcmcia_driver sym53c500_cs_driver = { 1006static struct pcmcia_driver sym53c500_cs_driver = {
1003 .owner = THIS_MODULE, 1007 .owner = THIS_MODULE,
1004 .drv = { 1008 .drv = {
1005 .name = "sym53c500_cs", 1009 .name = "sym53c500_cs",
1006 }, 1010 },
1007 .attach = SYM53C500_attach, 1011 .attach = SYM53C500_attach,
1012 .event = SYM53C500_event,
1008 .detach = SYM53C500_detach, 1013 .detach = SYM53C500_detach,
1014 .id_table = sym53c500_ids,
1009}; 1015};
1010 1016
1011static int __init 1017static int __init