diff options
author | Kristoffer Ericson <kristoffer.ericson@gmail.com> | 2007-10-16 16:29:52 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-16 16:29:52 -0400 |
commit | 7b1dec59750732b23557ea938cda36fa374267d3 (patch) | |
tree | c881772a8b639d80584d10e894dcae87777a9d52 /drivers/ide/legacy | |
parent | 0c824b51b338c808de650b440ba5f9f4a725f7fc (diff) |
ide-cs: Add additional id string (corsair, 1GB)
This patch adds id strings for Corsair 1GB (identified as Hyperstone Model1)
inside legacy/ide-cs.c.
It also includes some minor whitespace cleanups.
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/legacy')
-rw-r--r-- | drivers/ide/legacy/ide-cs.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c index 4cdb519f983..e8e360c2619 100644 --- a/drivers/ide/legacy/ide-cs.c +++ b/drivers/ide/legacy/ide-cs.c | |||
@@ -28,7 +28,7 @@ | |||
28 | and other provisions required by the GPL. If you do not delete | 28 | and other provisions required by the GPL. If you do not delete |
29 | the provisions above, a recipient may use your version of this | 29 | the provisions above, a recipient may use your version of this |
30 | file under either the MPL or the GPL. | 30 | file under either the MPL or the GPL. |
31 | 31 | ||
32 | ======================================================================*/ | 32 | ======================================================================*/ |
33 | 33 | ||
34 | #include <linux/module.h> | 34 | #include <linux/module.h> |
@@ -327,13 +327,13 @@ failed: | |||
327 | After a card is removed, ide_release() will unregister the net | 327 | After a card is removed, ide_release() will unregister the net |
328 | device, and release the PCMCIA configuration. If the device is | 328 | device, and release the PCMCIA configuration. If the device is |
329 | still open, this will be postponed until it is closed. | 329 | still open, this will be postponed until it is closed. |
330 | 330 | ||
331 | ======================================================================*/ | 331 | ======================================================================*/ |
332 | 332 | ||
333 | void ide_release(struct pcmcia_device *link) | 333 | void ide_release(struct pcmcia_device *link) |
334 | { | 334 | { |
335 | ide_info_t *info = link->priv; | 335 | ide_info_t *info = link->priv; |
336 | 336 | ||
337 | DEBUG(0, "ide_release(0x%p)\n", link); | 337 | DEBUG(0, "ide_release(0x%p)\n", link); |
338 | 338 | ||
339 | if (info->ndev) { | 339 | if (info->ndev) { |
@@ -353,11 +353,12 @@ void ide_release(struct pcmcia_device *link) | |||
353 | stuff to run after an event is received. A CARD_REMOVAL event | 353 | stuff to run after an event is received. A CARD_REMOVAL event |
354 | also sets some flags to discourage the ide drivers from | 354 | also sets some flags to discourage the ide drivers from |
355 | talking to the ports. | 355 | talking to the ports. |
356 | 356 | ||
357 | ======================================================================*/ | 357 | ======================================================================*/ |
358 | 358 | ||
359 | static struct pcmcia_device_id ide_ids[] = { | 359 | static struct pcmcia_device_id ide_ids[] = { |
360 | PCMCIA_DEVICE_FUNC_ID(4), | 360 | PCMCIA_DEVICE_FUNC_ID(4), |
361 | PCMCIA_DEVICE_MANF_CARD(0x0000, 0x0000), /* Corsair */ | ||
361 | PCMCIA_DEVICE_MANF_CARD(0x0007, 0x0000), /* Hitachi */ | 362 | PCMCIA_DEVICE_MANF_CARD(0x0007, 0x0000), /* Hitachi */ |
362 | PCMCIA_DEVICE_MANF_CARD(0x000a, 0x0000), /* I-O Data CFA */ | 363 | PCMCIA_DEVICE_MANF_CARD(0x000a, 0x0000), /* I-O Data CFA */ |
363 | PCMCIA_DEVICE_MANF_CARD(0x001c, 0x0001), /* Mitsubishi CFA */ | 364 | PCMCIA_DEVICE_MANF_CARD(0x001c, 0x0001), /* Mitsubishi CFA */ |
@@ -366,7 +367,7 @@ static struct pcmcia_device_id ide_ids[] = { | |||
366 | PCMCIA_DEVICE_MANF_CARD(0x0098, 0x0000), /* Toshiba */ | 367 | PCMCIA_DEVICE_MANF_CARD(0x0098, 0x0000), /* Toshiba */ |
367 | PCMCIA_DEVICE_MANF_CARD(0x00a4, 0x002d), | 368 | PCMCIA_DEVICE_MANF_CARD(0x00a4, 0x002d), |
368 | PCMCIA_DEVICE_MANF_CARD(0x00ce, 0x0000), /* Samsung */ | 369 | PCMCIA_DEVICE_MANF_CARD(0x00ce, 0x0000), /* Samsung */ |
369 | PCMCIA_DEVICE_MANF_CARD(0x0319, 0x0000), /* Hitachi */ | 370 | PCMCIA_DEVICE_MANF_CARD(0x0319, 0x0000), /* Hitachi */ |
370 | PCMCIA_DEVICE_MANF_CARD(0x2080, 0x0001), | 371 | PCMCIA_DEVICE_MANF_CARD(0x2080, 0x0001), |
371 | PCMCIA_DEVICE_MANF_CARD(0x4e01, 0x0100), /* Viking CFA */ | 372 | PCMCIA_DEVICE_MANF_CARD(0x4e01, 0x0100), /* Viking CFA */ |
372 | PCMCIA_DEVICE_MANF_CARD(0x4e01, 0x0200), /* Lexar, Viking CFA */ | 373 | PCMCIA_DEVICE_MANF_CARD(0x4e01, 0x0200), /* Lexar, Viking CFA */ |
@@ -384,6 +385,7 @@ static struct pcmcia_device_id ide_ids[] = { | |||
384 | PCMCIA_DEVICE_PROD_ID12("FREECOM", "PCCARD-IDE", 0x5714cbf7, 0x48e0ab8e), | 385 | PCMCIA_DEVICE_PROD_ID12("FREECOM", "PCCARD-IDE", 0x5714cbf7, 0x48e0ab8e), |
385 | PCMCIA_DEVICE_PROD_ID12("HITACHI", "FLASH", 0xf4f43949, 0x9eb86aae), | 386 | PCMCIA_DEVICE_PROD_ID12("HITACHI", "FLASH", 0xf4f43949, 0x9eb86aae), |
386 | PCMCIA_DEVICE_PROD_ID12("HITACHI", "microdrive", 0xf4f43949, 0xa6d76178), | 387 | PCMCIA_DEVICE_PROD_ID12("HITACHI", "microdrive", 0xf4f43949, 0xa6d76178), |
388 | PCMCIA_DEVICE_PROD_ID12("Hyperstone", "Model1", 0x3d5b9ef5, 0xca6ab420), | ||
387 | PCMCIA_DEVICE_PROD_ID12("IBM", "microdrive", 0xb569a6e5, 0xa6d76178), | 389 | PCMCIA_DEVICE_PROD_ID12("IBM", "microdrive", 0xb569a6e5, 0xa6d76178), |
388 | PCMCIA_DEVICE_PROD_ID12("IBM", "IBM17JSSFP20", 0xb569a6e5, 0xf2508753), | 390 | PCMCIA_DEVICE_PROD_ID12("IBM", "IBM17JSSFP20", 0xb569a6e5, 0xf2508753), |
389 | PCMCIA_DEVICE_PROD_ID12("KINGSTON", "CF8GB", 0x2e6d1829, 0xacbe682e), | 391 | PCMCIA_DEVICE_PROD_ID12("KINGSTON", "CF8GB", 0x2e6d1829, 0xacbe682e), |