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
fd95fd27
Commit
fd95fd27
authored
Sep 11, 2002
by
Jens Axboe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
piix update
parent
618cb93e
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
629 additions
and
285 deletions
+629
-285
drivers/ide/pci/piix.c
drivers/ide/pci/piix.c
+360
-285
drivers/ide/pci/piix.h
drivers/ide/pci/piix.h
+269
-0
No files found.
drivers/ide/pci/piix.c
View file @
fd95fd27
This diff is collapsed.
Click to expand it.
drivers/ide/pci/piix.h
0 → 100644
View file @
fd95fd27
#ifndef PIIX_H
#define PIIX_H
#include <linux/config.h>
#include <linux/pci.h>
#include <linux/ide.h>
#define PIIX_DEBUG_DRIVE_INFO 0
#define DISPLAY_PIIX_TIMINGS
#if defined(DISPLAY_PIIX_TIMINGS) && defined(CONFIG_PROC_FS)
#include <linux/stat.h>
#include <linux/proc_fs.h>
static
u8
piix_proc
;
static
int
piix_get_info
(
char
*
,
char
**
,
off_t
,
int
);
static
ide_pci_host_proc_t
piix_procs
[]
__initdata
=
{
{
name:
"piix"
,
set:
1
,
get_info:
piix_get_info
,
parent:
NULL
,
},
};
#endif
/* defined(DISPLAY_PIIX_TIMINGS) && defined(CONFIG_PROC_FS) */
static
void
init_setup_piix
(
struct
pci_dev
*
,
ide_pci_device_t
*
);
static
unsigned
int
init_chipset_piix
(
struct
pci_dev
*
,
const
char
*
);
static
void
init_hwif_piix
(
ide_hwif_t
*
);
static
void
init_dma_piix
(
ide_hwif_t
*
,
unsigned
long
);
static
ide_pci_device_t
piix_chipsets
[]
__initdata
=
{
{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82371FB_0
,
name:
"PIIXa"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82371FB_1
,
name:
"PIIXb"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82371MX
,
name:
"MPIIX"
,
init_setup:
init_setup_piix
,
init_chipset:
NULL
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
NULL
,
channels:
2
,
autodma:
NODMA
,
enablebits:
{{
0x6D
,
0x80
,
0x80
},
{
0x6F
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82371SB_1
,
name:
"PIIX3"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82371AB
,
name:
"PIIX4"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82801AB_1
,
name:
"ICH0"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82443MX_1
,
name:
"PIIX4"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82801AA_1
,
name:
"ICH"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82372FB_1
,
name:
"PIIX4"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82451NX
,
name:
"PIIX4"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
NOAUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82801BA_9
,
name:
"ICH2"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82801BA_8
,
name:
"ICH2M"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82801CA_10
,
name:
"ICH3M"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82801CA_11
,
name:
"ICH3"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82801DB_11
,
name:
"ICH4"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
PCI_VENDOR_ID_INTEL
,
device:
PCI_DEVICE_ID_INTEL_82801E_11
,
name:
"C-ICH"
,
init_setup:
init_setup_piix
,
init_chipset:
init_chipset_piix
,
init_iops:
NULL
,
init_hwif:
init_hwif_piix
,
init_dma:
init_dma_piix
,
channels:
2
,
autodma:
AUTODMA
,
enablebits:
{{
0x41
,
0x80
,
0x80
},
{
0x43
,
0x80
,
0x80
}},
bootable:
ON_BOARD
,
extra:
0
,
},{
vendor:
0
,
device:
0
,
channels:
0
,
init_setup:
NULL
,
bootable:
EOL
,
}
};
#endif
/* PIIX_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