Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5af2409f
Commit
5af2409f
authored
Dec 15, 2002
by
Art Haas
Committed by
Linus Torvalds
Dec 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] C99 initializers for drivers/ide/pci
parent
75f95302
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
48 deletions
+48
-48
drivers/ide/pci/cs5520.h
drivers/ide/pci/cs5520.h
+28
-28
drivers/ide/pci/sc1200.h
drivers/ide/pci/sc1200.h
+20
-20
No files found.
drivers/ide/pci/cs5520.h
View file @
5af2409f
...
...
@@ -17,10 +17,10 @@ static int cs5520_get_info(char *, char **, off_t, int);
static
ide_pci_host_proc_t
cs5520_procs
[]
__initdata
=
{
{
name:
"cs5520"
,
set:
1
,
get_info:
cs5520_get_info
,
parent:
NULL
,
.
name
=
"cs5520"
,
.
set
=
1
,
.
get_info
=
cs5520_get_info
,
.
parent
=
NULL
,
},
};
#endif
/* defined(DISPLAY_CS5520_TIMINGS) && defined(CONFIG_PROC_FS) */
...
...
@@ -31,32 +31,32 @@ static void cs5520_init_setup_dma(struct pci_dev *dev, struct ide_pci_device_s *
static
ide_pci_device_t
cyrix_chipsets
[]
__devinitdata
=
{
{
vendor:
PCI_VENDOR_ID_CYRIX
,
device:
PCI_DEVICE_ID_CYRIX_5510
,
name:
"Cyrix 5510"
,
init_chipset:
init_chipset_cs5520
,
init_setup_dma:
cs5520_init_setup_dma
,
init_iops:
NULL
,
init_hwif:
init_hwif_cs5520
,
isa_ports:
1
,
channels:
2
,
autodma:
AUTODMA
,
bootable:
ON_BOARD
,
extra:
0
,
.
vendor
=
PCI_VENDOR_ID_CYRIX
,
.
device
=
PCI_DEVICE_ID_CYRIX_5510
,
.
name
=
"Cyrix 5510"
,
.
init_chipset
=
init_chipset_cs5520
,
.
init_setup_dma
=
cs5520_init_setup_dma
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_cs5520
,
.
isa_ports
=
1
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
bootable
=
ON_BOARD
,
.
extra
=
0
,
},
{
vendor:
PCI_VENDOR_ID_CYRIX
,
device:
PCI_DEVICE_ID_CYRIX_5520
,
name:
"Cyrix 5520"
,
init_chipset:
init_chipset_cs5520
,
init_setup_dma:
cs5520_init_setup_dma
,
init_iops:
NULL
,
init_hwif:
init_hwif_cs5520
,
isa_ports:
1
,
channels:
2
,
autodma:
AUTODMA
,
bootable:
ON_BOARD
,
extra:
0
,
.
vendor
=
PCI_VENDOR_ID_CYRIX
,
.
device
=
PCI_DEVICE_ID_CYRIX_5520
,
.
name
=
"Cyrix 5520"
,
.
init_chipset
=
init_chipset_cs5520
,
.
init_setup_dma
=
cs5520_init_setup_dma
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_cs5520
,
.
isa_ports
=
1
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
bootable
=
ON_BOARD
,
.
extra
=
0
,
}
};
...
...
drivers/ide/pci/sc1200.h
View file @
5af2409f
...
...
@@ -17,10 +17,10 @@ static int sc1200_get_info(char *, char **, off_t, int);
static
ide_pci_host_proc_t
sc1200_procs
[]
__initdata
=
{
{
name:
"sc1200"
,
set:
1
,
get_info:
sc1200_get_info
,
parent:
NULL
,
.
name
=
"sc1200"
,
.
set
=
1
,
.
get_info
=
sc1200_get_info
,
.
parent
=
NULL
,
},
};
#endif
/* DISPLAY_SC1200_TIMINGS && CONFIG_PROC_FS */
...
...
@@ -31,23 +31,23 @@ static void init_dma_sc1200(ide_hwif_t *, unsigned long);
static
ide_pci_device_t
sc1200_chipsets
[]
__devinitdata
=
{
{
/* 0 */
vendor:
PCI_VENDOR_ID_NS
,
device:
PCI_DEVICE_ID_NS_SCx200_IDE
,
name:
"SC1200"
,
init_chipset:
init_chipset_sc1200
,
init_iops:
NULL
,
init_hwif:
init_hwif_sc1200
,
init_dma:
init_dma_sc1200
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x00
,
0x00
,
0x00
},
{
0x00
,
0x00
,
0x00
}},
bootable:
ON_BOARD
,
extra:
0
,
.
vendor
=
PCI_VENDOR_ID_NS
,
.
device
=
PCI_DEVICE_ID_NS_SCx200_IDE
,
.
name
=
"SC1200"
,
.
init_chipset
=
init_chipset_sc1200
,
.
init_iops
=
NULL
,
.
init_hwif
=
init_hwif_sc1200
,
.
init_dma
=
init_dma_sc1200
,
.
channels
=
2
,
.
autodma
=
AUTODMA
,
.
enablebits
=
{{
0x00
,
0x00
,
0x00
},
{
0x00
,
0x00
,
0x00
}},
.
bootable
=
ON_BOARD
,
.
extra
=
0
,
},{
vendor:
0
,
device:
0
,
channels:
0
,
bootable:
EOL
,
.
vendor
=
0
,
.
device
=
0
,
.
channels
=
0
,
.
bootable
=
EOL
,
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment