pcmcia: add an pata/ide ID
A message that is not in the archive (sent off-list or not yet received): [email protected]
Dominik Brodowski
maintainerPATCH 1/9 pcmcia: add an pata/ide ID
From: Matt Reimer <[email protected]>
Add an id for:
product info: "M-Systems", "CF300", ""
manfid: 0x000a, 0x0000
function: 4 (fixed disk)
--- drivers/ata/pata_pcmcia.c | 1 + drivers/ide/legacy/ide-cs.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/ata/pata_pcmcia.c +1 -0
@@ -414,6 +414,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {PCMCIA_DEVICE_PROD_ID12 ("IO DATA" ,"PCIDE" ,0x547e66dc ,0x5c5ab149 ),PCMCIA_DEVICE_PROD_ID12 ("IO DATA" ,"PCIDEII" ,0x547e66dc ,0xb3662674 ),PCMCIA_DEVICE_PROD_ID12 ("LOOKMEET" ,"CBIDE2 " ,0xe37be2b5 ,0x8671043b ), +PCMCIA_DEVICE_PROD_ID12 ("M-Systems" ,"CF300" ,0x7ed2ad87 ,0x7e9e78ee ),PCMCIA_DEVICE_PROD_ID12 ("M-Systems" ,"CF500" ,0x7ed2ad87 ,0x7a13045c ),PCMCIA_DEVICE_PROD_ID2 ("NinjaATA-" ,0xebe0bd79 ), PCMCIA_DEVICE_PROD_ID12("PCMCIA", "CD-ROM", 0x281f1c5d, 0x66536591),
drivers/ide/legacy/ide-cs.c +1 -0
@@ -440,6 +440,7 @@ static struct pcmcia_device_id ide_ids[] = {PCMCIA_DEVICE_PROD_ID12 ("IO DATA" ,"PCIDE" ,0x547e66dc ,0x5c5ab149 ),PCMCIA_DEVICE_PROD_ID12 ("IO DATA" ,"PCIDEII" ,0x547e66dc ,0xb3662674 ),PCMCIA_DEVICE_PROD_ID12 ("LOOKMEET" ,"CBIDE2 " ,0xe37be2b5 ,0x8671043b ), +PCMCIA_DEVICE_PROD_ID12 ("M-Systems" ,"CF300" ,0x7ed2ad87 ,0x7e9e78ee ),PCMCIA_DEVICE_PROD_ID12 ("M-Systems" ,"CF500" ,0x7ed2ad87 ,0x7a13045c ),PCMCIA_DEVICE_PROD_ID2 ("NinjaATA-" ,0xebe0bd79 ), PCMCIA_DEVICE_PROD_ID12("PCMCIA", "CD-ROM", 0x281f1c5d, 0x66536591),
Signature · 1 line
1.5.4.3
Dominik Brodowski
maintainerPATCH 3/9 pcmcia: add another pata/ide ID
In reply to a message not in the archiveFrom: Kristoffer Ericson <[email protected]>
Addition of Transcend 1GB 45x id so that it is properly detected.
--- drivers/ata/pata_pcmcia.c | 1 + drivers/ide/legacy/ide-cs.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
drivers/ata/pata_pcmcia.c +1 -0
@@ -425,6 +425,7 @@ static struct pcmcia_device_id pcmcia_devices[] = {PCMCIA_DEVICE_PROD_ID12 ("SMI VENDOR" ,"SMI PRODUCT" ,0x30896c92 ,0x703cc5f6 ),PCMCIA_DEVICE_PROD_ID12 ("TOSHIBA" ,"MK2001MPL" ,0xb4585a1a ,0x3489e003 ),PCMCIA_DEVICE_PROD_ID1 ("TRANSCEND 512M " ,0xd0909443 ), +PCMCIA_DEVICE_PROD_ID12 ("TRANSCEND" ,"TS1GCF45" ,0x709b1bf1 ,0xf68b6f32 ),PCMCIA_DEVICE_PROD_ID12 ("TRANSCEND" ,"TS1GCF80" ,0x709b1bf1 ,0x2a54d4b1 ),PCMCIA_DEVICE_PROD_ID12 ("TRANSCEND" ,"TS2GCF120" ,0x709b1bf1 ,0x969aa4f2 ), PCMCIA_DEVICE_PROD_ID12("TRANSCEND", "TS4GCF120", 0x709b1bf1, 0xf54a91c8),
drivers/ide/legacy/ide-cs.c +1 -0
@@ -451,6 +451,7 @@ static struct pcmcia_device_id ide_ids[] = {PCMCIA_DEVICE_PROD_ID12 ("SMI VENDOR" ,"SMI PRODUCT" ,0x30896c92 ,0x703cc5f6 ),PCMCIA_DEVICE_PROD_ID12 ("TOSHIBA" ,"MK2001MPL" ,0xb4585a1a ,0x3489e003 ),PCMCIA_DEVICE_PROD_ID1 ("TRANSCEND 512M " ,0xd0909443 ), +PCMCIA_DEVICE_PROD_ID12 ("TRANSCEND" ,"TS1GCF45" ,0x709b1bf1 ,0xf68b632 ),PCMCIA_DEVICE_PROD_ID12 ("TRANSCEND" ,"TS1GCF80" ,0x709b1bf1 ,0x2a54d4b1 ),PCMCIA_DEVICE_PROD_ID12 ("TRANSCEND" ,"TS2GCF120" ,0x709b1bf1 ,0x969aa4f2 ), PCMCIA_DEVICE_PROD_ID12("TRANSCEND", "TS4GCF120", 0x709b1bf1, 0xf54a91c8),
Signature · 1 line
1.5.4.3
Dominik Brodowski
maintainerPATCH 6/9 pcmcia: fix Alchemy warnings
In reply to a message not in the archiveFrom: Sergei Shtylyov <[email protected]>
Fix the following warnings:
drivers/pcmcia/au1000_generic.c: In function `au1x00_pcmcia_socket_probe':drivers/pcmcia/au1000_generic.c:405: warning: integer constant is too large for "long" typedrivers/pcmcia/au1000_generic.c:413: warning: integer constant is too large for "long" type
by properly postfixing the socket constants. While at it, fix the lines over 80 characters long in the vicinity...
--- drivers/pcmcia/au1000_generic.h | 26 +++++++++++++++----------- 1 files changed, 15 insertions(+), 11 deletions(-)
drivers/pcmcia/au1000_generic.h +15 -11
@@ -34,9 +34,9 @@#define AU1000_PCMCIA_IO_SPEED (255)#define AU1000_PCMCIA_MEM_SPEED (300) -#define AU1X_SOCK0_IO 0xF00000000 -#define AU1X_SOCK0_PHYS_ATTR 0xF40000000 -#define AU1X_SOCK0_PHYS_MEM 0xF80000000 +#define AU1X_SOCK0_IO 0xF00000000ULL +#define AU1X_SOCK0_PHYS_ATTR 0xF40000000ULL +#define AU1X_SOCK0_PHYS_MEM 0xF80000000ULL/* pseudo 32 bit phys addresses, which get fixed up to the * real 36 bit address in fixup_bigphys_addr() */ #define AU1X_SOCK0_PSEUDO_PHYS_ATTR 0xF4000000
@@ -45,16 +45,20 @@/* pcmcia socket 1 needs external glue logic so the memory map * differs from board to board. */ -#if defined(CONFIG_MIPS_PB1000 ) || defined(CONFIG_MIPS_PB1100 ) || defined(CONFIG_MIPS_PB1500 ) || defined(CONFIG_MIPS_PB1550 ) || defined(CONFIG_MIPS_PB1200 ) -#define AU1X_SOCK1_IO 0xF08000000 -#define AU1X_SOCK1_PHYS_ATTR 0xF48000000 -#define AU1X_SOCK1_PHYS_MEM 0xF88000000 +#if defined(CONFIG_MIPS_PB1000 ) || defined(CONFIG_MIPS_PB1100 ) || \ + defined(CONFIG_MIPS_PB1500 ) || defined(CONFIG_MIPS_PB1550 ) || \ + defined(CONFIG_MIPS_PB1200 ) +#define AU1X_SOCK1_IO 0xF08000000ULL +#define AU1X_SOCK1_PHYS_ATTR 0xF48000000ULL +#define AU1X_SOCK1_PHYS_MEM 0xF88000000ULL#define AU1X_SOCK1_PSEUDO_PHYS_ATTR 0xF4800000#define AU1X_SOCK1_PSEUDO_PHYS_MEM 0xF8800000 -#elif defined(CONFIG_MIPS_DB1000 ) || defined(CONFIG_MIPS_DB1100 ) || defined(CONFIG_MIPS_DB1500 ) || defined(CONFIG_MIPS_DB1550 ) || defined(CONFIG_MIPS_DB1200 ) -#define AU1X_SOCK1_IO 0xF04000000 -#define AU1X_SOCK1_PHYS_ATTR 0xF44000000 -#define AU1X_SOCK1_PHYS_MEM 0xF84000000 +#elif defined(CONFIG_MIPS_DB1000 ) || defined(CONFIG_MIPS_DB1100 ) || \ + defined(CONFIG_MIPS_DB1500 ) || defined(CONFIG_MIPS_DB1550 ) || \ + defined(CONFIG_MIPS_DB1200 ) +#define AU1X_SOCK1_IO 0xF04000000ULL +#define AU1X_SOCK1_PHYS_ATTR 0xF44000000ULL +#define AU1X_SOCK1_PHYS_MEM 0xF84000000ULL#define AU1X_SOCK1_PSEUDO_PHYS_ATTR 0xF4400000#define AU1X_SOCK1_PSEUDO_PHYS_MEM 0xF8400000#endif
Signature · 1 line
1.5.4.3
Re: [PATCH 6/9] pcmcia: fix Alchemy warnings
Quoted 12 lines · Dominik Brodowski
Subject: [PATCH 6/9] pcmcia: fix Alchemy warnings
From: Sergei Shtylyov <[email protected]>
Fix the following warnings:
drivers/pcmcia/au1000_generic.c: In function `au1x00_pcmcia_socket_probe':drivers/pcmcia/au1000_generic.c:405: warning: integer constant is too large for "long" typedrivers/pcmcia/au1000_generic.c:413: warning: integer constant is too large for "long" type
Quoted 6 lines
by properly postfixing the socket constants. While at it, fix the lines over 80 characters long in the vicinity...
Signed-off-by Sergei Shtylyov <[email protected]>Signed-off-by Dominik Brodowski <[email protected]>
Any reason why this patch still isn't merged? It looks right and seems to do what it promised,
Ralf
Dominik Brodowski
maintainerRe: [PATCH 6/9] pcmcia: fix Alchemy warnings
Hi,
Quoted 17 lines · Ralf Baechle
Quoted 15 lines · Dominik Brodowski
Subject: [PATCH 6/9] pcmcia: fix Alchemy warnings
From: Sergei Shtylyov <[email protected]>
Fix the following warnings:
drivers/pcmcia/au1000_generic.c: In function `au1x00_pcmcia_socket_probe':drivers/pcmcia/au1000_generic.c:405: warning: integer constant is too large for "long" typedrivers/pcmcia/au1000_generic.c:413: warning: integer constant is too large for "long" typeby properly postfixing the socket constants. While at it, fix the lines over 80 characters long in the vicinity...
Quoted 6 lines
Quoted 3 lines
Signed-off-by Sergei Shtylyov <[email protected]>Signed-off-by Dominik Brodowski <[email protected]>Any reason why this patch still isn't merged? It looks right and seems to do what it promised,
It's in the queue for what is to be merged for 2.6.27-rc1.
Best,
Dominik