Merge bk://oe-devel@oe-devel.bkbits.net/packages
[vuplus_openembedded] / linux / openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107 / idecs.patch
1 --- linux/drivers/ide/ide-cs.c  2003-02-28 17:04:00.000000000 -0600
2 +++ linux.new/drivers/ide/ide-cs.c      2003-02-28 17:18:53.000000000 -0600
3 @@ -2,7 +2,7 @@
4  
5      A driver for PCMCIA IDE/ATA disk cards
6  
7 -    ide_cs.c 1.26 1999/11/16 02:10:49
8 +    ide-cs.c 1.26 1999/11/16 02:10:49
9  
10      The contents of this file are subject to the Mozilla Public
11      License Version 1.1 (the "License"); you may not use this file
12 @@ -66,7 +66,7 @@
13  MODULE_PARM(pc_debug, "i");
14  #define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args)
15  static char *version =
16 -"ide_cs.c 1.26 1999/11/16 02:10:49 (David Hinds)";
17 +"ide-cs.c 1.26 1999/11/16 02:10:49 (David Hinds)";
18  #else
19  #define DEBUG(n, args...)
20  #endif
21 @@ -110,7 +110,7 @@
22  static int ide_event(event_t event, int priority,
23                      event_callback_args_t *args);
24  
25 -static dev_info_t dev_info = "ide_cs";
26 +static dev_info_t dev_info = "ide-cs";
27  
28  static dev_link_t *ide_attach(void);
29  static void ide_detach(dev_link_t *);
30 @@ -356,7 +356,7 @@
31      }
32      
33      if (hd < 0) {
34 -       printk(KERN_NOTICE "ide_cs: ide_register() at 0x%03x & 0x%03x"
35 +       printk(KERN_NOTICE "ide-cs: ide_register() at 0x%03x & 0x%03x"
36                ", irq %u failed\n", io_base, ctl_base,
37                link->irq.AssignedIRQ);
38         goto failed;
39 @@ -369,7 +369,7 @@
40      info->node.minor = 0;
41      info->hd = hd;
42      link->dev = &info->node;
43 -    printk(KERN_INFO "ide_cs: %s: Vcc = %d.%d, Vpp = %d.%d\n",
44 +    printk(KERN_INFO "ide-cs: %s: Vcc = %d.%d, Vpp = %d.%d\n",
45            info->node.dev_name, link->conf.Vcc/10, link->conf.Vcc%10,
46            link->conf.Vpp1/10, link->conf.Vpp1%10);
47  
48 @@ -409,9 +409,9 @@
49         MOD_DEC_USE_COUNT;
50      }
51  
52 -    request_region(link->io.BasePort1, link->io.NumPorts1,"ide_cs");
53 +    request_region(link->io.BasePort1, link->io.NumPorts1,"ide-cs");
54      if (link->io.NumPorts2)
55 -       request_region(link->io.BasePort2, link->io.NumPorts2,"ide_cs");
56 +       request_region(link->io.BasePort2, link->io.NumPorts2,"ide-cs");
57      
58      info->ndev = 0;
59      link->dev = NULL;
60 @@ -508,7 +508,7 @@
61      DEBUG(0, "%s\n", version);
62      CardServices(GetCardServicesInfo, &serv);
63      if (serv.Revision != CS_RELEASE_CODE) {
64 -       printk(KERN_NOTICE "ide_cs: Card Services release "
65 +       printk(KERN_NOTICE "ide-cs: Card Services release "
66                "does not match!\n");
67         return -1;
68      }
69 @@ -518,7 +518,7 @@
70  
71  static void __exit exit_ide_cs(void)
72  {
73 -    DEBUG(0, "ide_cs: unloading\n");
74 +    DEBUG(0, "ide-cs: unloading\n");
75      unregister_pccard_driver(&dev_info);
76      while (dev_list != NULL)
77         ide_detach(dev_list);