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
nexedi
linux
Commits
581d2988
Commit
581d2988
authored
Nov 25, 2002
by
Alan Cox
Committed by
Linus Torvalds
Nov 25, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] driver for National SCx200 IDE
parent
88abbbb6
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
647 additions
and
0 deletions
+647
-0
drivers/ide/pci/sc1200.c
drivers/ide/pci/sc1200.c
+593
-0
drivers/ide/pci/sc1200.h
drivers/ide/pci/sc1200.h
+54
-0
No files found.
drivers/ide/pci/sc1200.c
0 → 100644
View file @
581d2988
This diff is collapsed.
Click to expand it.
drivers/ide/pci/sc1200.h
0 → 100644
View file @
581d2988
#ifndef SC1200_H
#define SC1200_H
#include <linux/config.h>
#include <linux/pci.h>
#include <linux/ide.h>
#define DISPLAY_SC1200_TIMINGS
#if defined(DISPLAY_SC1200_TIMINGS) && defined(CONFIG_PROC_FS)
#include <linux/stat.h>
#include <linux/proc_fs.h>
static
u8
sc1200_proc
;
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
,
},
};
#endif
/* DISPLAY_SC1200_TIMINGS && CONFIG_PROC_FS */
static
unsigned
int
init_chipset_sc1200
(
struct
pci_dev
*
,
const
char
*
);
static
void
init_hwif_sc1200
(
ide_hwif_t
*
);
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:
0
,
device:
0
,
channels:
0
,
bootable:
EOL
,
}
};
#endif
/* SC1200_H */
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