]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/idecs.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / openzaurus-pxa27x-2.4.20-rmk2-embedix20050602 / idecs.patch
1 --- linux/drivers/ide/ide-cs.c  2004-11-15 22:31:07.000000000 -0800
2 +++ linux/drivers/ide/ide-cs.c.new      2005-03-01 22:07:52.334266784 -0800
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 @@ -68,7 +68,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 @@ -113,7 +113,7 @@
22                      event_callback_args_t *args);
23  
24  #ifdef CONFIG_ARCH_SHARP_SL
25 -static dev_info_t dev_info = "ide_cs";
26 +static dev_info_t dev_info = "ide-cs";
27  #else
28  static dev_info_t dev_info = "ide-cs";
29  #endif
30 @@ -379,7 +379,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 @@ -392,7 +392,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 @@ -434,10 +434,10 @@
49  
50  #ifdef CONFIG_ARCH_SHARP_SL
51      request_region(link->io.BasePort1,
52 -                  link->io.NumPorts1 << PCMCIA_ADDRESS_SHIFT,"ide_cs");
53 +                  link->io.NumPorts1 << PCMCIA_ADDRESS_SHIFT,"ide-cs");
54      if (link->io.NumPorts2)
55         request_region(link->io.BasePort2,
56 -                      link->io.NumPorts2 << PCMCIA_ADDRESS_SHIFT,"ide_cs");
57 +                      link->io.NumPorts2 << PCMCIA_ADDRESS_SHIFT,"ide-cs");
58  #else
59      request_region(link->io.BasePort1,
60                    link->io.NumPorts1 << PCMCIA_ADDRESS_SHIFT,"ide-cs");
61 @@ -556,7 +556,7 @@
62      DEBUG(0, "%s\n", version);
63      CardServices(GetCardServicesInfo, &serv);
64      if (serv.Revision != CS_RELEASE_CODE) {
65 -       printk(KERN_NOTICE "ide_cs: Card Services release "
66 +       printk(KERN_NOTICE "ide-cs: Card Services release "
67                "does not match!\n");
68         return -1;
69      }
70 @@ -566,7 +566,7 @@
71  
72  static void __exit exit_ide_cs(void)
73  {
74 -    DEBUG(0, "ide_cs: unloading\n");
75 +    DEBUG(0, "ide-cs: unloading\n");
76      unregister_pccard_driver(&dev_info);
77      while (dev_list != NULL)
78         ide_detach(dev_list);