Commit cd8971b7 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix IDE compile with SIS5513

parent 0990573b
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* SiS Taiwan : for direct support and hardware. * SiS Taiwan : for direct support and hardware.
* Daniela Engert : for initial ATA100 advices and numerous others. * Daniela Engert : for initial ATA100 advices and numerous others.
* John Fremlin, Manfred Spraul : * John Fremlin, Manfred Spraul, Dave Morgan :
* for checking code correctness, providing patches. * for checking code correctness, providing patches.
* *
* *
...@@ -244,6 +244,14 @@ static struct pci_dev *host_dev = NULL; ...@@ -244,6 +244,14 @@ static struct pci_dev *host_dev = NULL;
/* /*
* Printing configuration * Printing configuration
*/ */
/* Used for chipset type printing at boot time */
static char* chipset_capability[] = {
"ATA", "ATA 16",
"ATA 33", "ATA 66",
"ATA 100", "ATA 100",
"ATA 133", "ATA 133"
};
#if defined(DISPLAY_SIS_TIMINGS) && defined(CONFIG_PROC_FS) #if defined(DISPLAY_SIS_TIMINGS) && defined(CONFIG_PROC_FS)
#include <linux/stat.h> #include <linux/stat.h>
#include <linux/proc_fs.h> #include <linux/proc_fs.h>
...@@ -286,13 +294,6 @@ static char* cycle_time[] = { ...@@ -286,13 +294,6 @@ static char* cycle_time[] = {
"15 CLK", "16 CLK" "15 CLK", "16 CLK"
}; };
static char* chipset_capability[] = {
"ATA", "ATA 16",
"ATA 33", "ATA 66",
"ATA 100", "ATA 100",
"ATA 133", "ATA 133"
};
/* Generic add master or slave info function */ /* Generic add master or slave info function */
static char* get_drives_info (char *buffer, u8 pos) static char* get_drives_info (char *buffer, u8 pos)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment