diff options
Diffstat (limited to 'drivers/ide/pci/opti621.c')
-rw-r--r-- | drivers/ide/pci/opti621.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ide/pci/opti621.c b/drivers/ide/pci/opti621.c index 4895f2ff3f05..e28e672ddafc 100644 --- a/drivers/ide/pci/opti621.c +++ b/drivers/ide/pci/opti621.c | |||
@@ -90,6 +90,8 @@ | |||
90 | 90 | ||
91 | #include <asm/io.h> | 91 | #include <asm/io.h> |
92 | 92 | ||
93 | #define DRV_NAME "opti621" | ||
94 | |||
93 | #define READ_REG 0 /* index of Read cycle timing register */ | 95 | #define READ_REG 0 /* index of Read cycle timing register */ |
94 | #define WRITE_REG 1 /* index of Write cycle timing register */ | 96 | #define WRITE_REG 1 /* index of Write cycle timing register */ |
95 | #define CNTRL_REG 3 /* index of Control register */ | 97 | #define CNTRL_REG 3 /* index of Control register */ |
@@ -200,7 +202,7 @@ static const struct ide_port_ops opti621_port_ops = { | |||
200 | }; | 202 | }; |
201 | 203 | ||
202 | static const struct ide_port_info opti621_chipset __devinitdata = { | 204 | static const struct ide_port_info opti621_chipset __devinitdata = { |
203 | .name = "OPTI621/X", | 205 | .name = DRV_NAME, |
204 | .enablebits = { {0x45, 0x80, 0x00}, {0x40, 0x08, 0x00} }, | 206 | .enablebits = { {0x45, 0x80, 0x00}, {0x40, 0x08, 0x00} }, |
205 | .port_ops = &opti621_port_ops, | 207 | .port_ops = &opti621_port_ops, |
206 | .host_flags = IDE_HFLAG_NO_DMA, | 208 | .host_flags = IDE_HFLAG_NO_DMA, |