Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
b286e392
Commit
b286e392
authored
Nov 18, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6
parents
bcb6ad1f
6593178d
Changes
14
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
143 additions
and
341 deletions
+143
-341
drivers/ide/ide-cd.c
drivers/ide/ide-cd.c
+1
-1
drivers/ide/ide-disk.c
drivers/ide/ide-disk.c
+1
-1
drivers/ide/ide-floppy.c
drivers/ide/ide-floppy.c
+1
-1
drivers/ide/ide-lib.c
drivers/ide/ide-lib.c
+4
-4
drivers/ide/ide-tape.c
drivers/ide/ide-tape.c
+1
-1
drivers/ide/pci/aec62xx.c
drivers/ide/pci/aec62xx.c
+0
-47
drivers/ide/pci/alim15x3.c
drivers/ide/pci/alim15x3.c
+7
-2
drivers/ide/pci/cs5520.c
drivers/ide/pci/cs5520.c
+2
-3
drivers/ide/pci/siimage.c
drivers/ide/pci/siimage.c
+7
-1
drivers/ide/pci/via82cxxx.c
drivers/ide/pci/via82cxxx.c
+114
-263
drivers/ide/ppc/pmac.c
drivers/ide/ppc/pmac.c
+0
-14
drivers/ide/setup-pci.c
drivers/ide/setup-pci.c
+1
-1
drivers/scsi/ide-scsi.c
drivers/scsi/ide-scsi.c
+1
-1
include/linux/ide.h
include/linux/ide.h
+3
-1
No files found.
drivers/ide/ide-cd.c
View file @
b286e392
...
...
@@ -3328,8 +3328,8 @@ static ide_proc_entry_t idecd_proc[] = {
#endif
static
ide_driver_t
ide_cdrom_driver
=
{
.
owner
=
THIS_MODULE
,
.
gen_driver
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"ide-cdrom"
,
.
bus
=
&
ide_bus_type
,
.
probe
=
ide_cd_probe
,
...
...
drivers/ide/ide-disk.c
View file @
b286e392
...
...
@@ -1089,8 +1089,8 @@ static void ide_device_shutdown(struct device *dev)
}
static
ide_driver_t
idedisk_driver
=
{
.
owner
=
THIS_MODULE
,
.
gen_driver
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"ide-disk"
,
.
bus
=
&
ide_bus_type
,
.
probe
=
ide_disk_probe
,
...
...
drivers/ide/ide-floppy.c
View file @
b286e392
...
...
@@ -1925,8 +1925,8 @@ static ide_proc_entry_t idefloppy_proc[] = {
static
int
ide_floppy_probe
(
struct
device
*
);
static
ide_driver_t
idefloppy_driver
=
{
.
owner
=
THIS_MODULE
,
.
gen_driver
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"ide-floppy"
,
.
bus
=
&
ide_bus_type
,
.
probe
=
ide_floppy_probe
,
...
...
drivers/ide/ide-lib.c
View file @
b286e392
...
...
@@ -410,10 +410,10 @@ void ide_toggle_bounce(ide_drive_t *drive, int on)
{
u64
addr
=
BLK_BOUNCE_HIGH
;
/* dma64_addr_t */
if
(
on
&&
drive
->
media
==
ide_disk
)
{
if
(
!
PCI_DMA_BUS_IS_PHYS
)
addr
=
BLK_BOUNCE_ANY
;
else
if
(
HWIF
(
drive
)
->
pci_dev
)
if
(
!
PCI_DMA_BUS_IS_PHYS
)
{
addr
=
BLK_BOUNCE_ANY
;
}
else
if
(
on
&&
drive
->
media
==
ide_disk
)
{
if
(
HWIF
(
drive
)
->
pci_dev
)
addr
=
HWIF
(
drive
)
->
pci_dev
->
dma_mask
;
}
...
...
drivers/ide/ide-tape.c
View file @
b286e392
...
...
@@ -4748,8 +4748,8 @@ static ide_proc_entry_t idetape_proc[] = {
static
int
ide_tape_probe
(
struct
device
*
);
static
ide_driver_t
idetape_driver
=
{
.
owner
=
THIS_MODULE
,
.
gen_driver
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"ide-tape"
,
.
bus
=
&
ide_bus_type
,
.
probe
=
ide_tape_probe
,
...
...
drivers/ide/pci/aec62xx.c
View file @
b286e392
...
...
@@ -65,23 +65,6 @@ static struct chipset_bus_clock_list_entry aec6xxx_34_base [] = {
#define BUSCLOCK(D) \
((struct chipset_bus_clock_list_entry *) pci_get_drvdata((D)))
#if 0
if (dev->device == PCI_DEVICE_ID_ARTOP_ATP850UF) {
(void) pci_read_config_byte(dev, 0x54, &art);
p += sprintf(p, "DMA Mode: %s(%s)",
(c0&0x20)?((art&0x03)?"UDMA":" DMA"):" PIO",
(art&0x02)?"2":(art&0x01)?"1":"0");
p += sprintf(p, " %s(%s)",
(c0&0x40)?((art&0x0c)?"UDMA":" DMA"):" PIO",
(art&0x08)?"2":(art&0x04)?"1":"0");
p += sprintf(p, " %s(%s)",
(c1&0x20)?((art&0x30)?"UDMA":" DMA"):" PIO",
(art&0x20)?"2":(art&0x10)?"1":"0");
p += sprintf(p, " %s(%s)\n",
(c1&0x40)?((art&0xc0)?"UDMA":" DMA"):" PIO",
(art&0x80)?"2":(art&0x40)?"1":"0");
} else {
#endif
/*
* TO DO: active tuning and correction of cards without a bios.
...
...
@@ -112,13 +95,9 @@ static u8 aec62xx_ratemask (ide_drive_t *drive)
switch
(
hwif
->
pci_dev
->
device
)
{
case
PCI_DEVICE_ID_ARTOP_ATP865
:
case
PCI_DEVICE_ID_ARTOP_ATP865R
:
#if 0
mode = (hwif->INB(hwif->dma_master) & 0x10) ? 4 : 3;
#else
mode
=
(
hwif
->
INB
(((
hwif
->
channel
)
?
hwif
->
mate
->
dma_status
:
hwif
->
dma_status
))
&
0x10
)
?
4
:
3
;
#endif
break
;
case
PCI_DEVICE_ID_ARTOP_ATP860
:
case
PCI_DEVICE_ID_ARTOP_ATP860R
:
...
...
@@ -263,35 +242,9 @@ static int aec62xx_irq_timeout (ide_drive_t *drive)
case
PCI_DEVICE_ID_ARTOP_ATP865
:
case
PCI_DEVICE_ID_ARTOP_ATP865R
:
printk
(
" AEC62XX time out "
);
#if 0
{
int i = 0;
u8 reg49h = 0;
pci_read_config_byte(HWIF(drive)->pci_dev, 0x49, ®49h);
for (i=0;i<256;i++)
pci_write_config_byte(HWIF(drive)->pci_dev, 0x49, reg49h|0x10);
pci_write_config_byte(HWIF(drive)->pci_dev, 0x49, reg49h & ~0x10);
}
return 0;
#endif
default:
break
;
}
#if 0
{
ide_hwif_t *hwif = HWIF(drive);
struct pci_dev *dev = hwif->pci_dev;
u8 tmp1 = 0, tmp2 = 0, mode6 = 0;
pci_read_config_byte(dev, 0x44, &tmp1);
pci_read_config_byte(dev, 0x45, &tmp2);
printk(" AEC6280 r44=%x r45=%x ",tmp1,tmp2);
mode6 = HWIF(drive)->INB(((hwif->channel) ?
hwif->mate->dma_status :
hwif->dma_status));
printk(" AEC6280 133=%x ", (mode6 & 0x10));
}
#endif
return
0
;
}
...
...
drivers/ide/pci/alim15x3.c
View file @
b286e392
...
...
@@ -876,10 +876,15 @@ static ide_pci_device_t ali15x3_chipset __devinitdata = {
static
int
__devinit
alim15x3_init_one
(
struct
pci_dev
*
dev
,
const
struct
pci_device_id
*
id
)
{
static
struct
pci_device_id
ati_rs100
[]
=
{
{
PCI_DEVICE
(
PCI_VENDOR_ID_ATI
,
PCI_DEVICE_ID_ATI_RS100
)
},
{
},
};
ide_pci_device_t
*
d
=
&
ali15x3_chipset
;
if
(
pci_find_device
(
PCI_VENDOR_ID_ATI
,
PCI_DEVICE_ID_ATI_RS100
,
NULL
))
printk
(
KERN_
ERR
"Warning
: ATI Radeon IGP Northbridge is not yet fully tested.
\n
"
);
if
(
pci_dev_present
(
ati_rs100
))
printk
(
KERN_
WARNING
"alim15x3
: ATI Radeon IGP Northbridge is not yet fully tested.
\n
"
);
#if defined(CONFIG_SPARC64)
d
->
init_hwif
=
init_hwif_common_ali15x3
;
...
...
drivers/ide/pci/cs5520.c
View file @
b286e392
...
...
@@ -222,10 +222,9 @@ static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_devic
/* We must not grab the entire device, it has 'ISA' space in its
BARS too and we will freak out other bits of the kernel */
if
(
pci_enable_device_bars
(
dev
,
1
<<
2
))
{
if
(
pci_enable_device_bars
(
dev
,
1
<<
2
))
{
printk
(
KERN_WARNING
"%s: Unable to enable 55x0.
\n
"
,
d
->
name
);
return
1
;
return
-
ENODEV
;
}
pci_set_master
(
dev
);
if
(
pci_set_dma_mask
(
dev
,
DMA_32BIT_MASK
))
{
...
...
drivers/ide/pci/siimage.c
View file @
b286e392
...
...
@@ -6,7 +6,13 @@
*
* May be copied or modified under the terms of the GNU General Public License
*
* Documentation available under NDA only
* Documentation for CMD680:
* http://gkernel.sourceforge.net/specs/sii/sii-0680a-v1.31.pdf.bz2
*
* Documentation for SiI 3112:
* http://gkernel.sourceforge.net/specs/sii/3112A_SiI-DS-0095-B2.pdf.bz2
*
* Errata and other documentation only available under NDA.
*
*
* FAQ Items:
...
...
drivers/ide/pci/via82cxxx.c
View file @
b286e392
This diff is collapsed.
Click to expand it.
drivers/ide/ppc/pmac.c
View file @
b286e392
...
...
@@ -1401,20 +1401,6 @@ pmac_ide_setup_device(pmac_ide_hwif_t *pmif, ide_hwif_t *hwif)
/* We probe the hwif now */
probe_hwif_init
(
hwif
);
/* The code IDE code will have set hwif->present if we have devices attached,
* if we don't, the discard the interface except if we are on a media bay slot
*/
if
(
!
hwif
->
present
&&
!
pmif
->
mediabay
)
{
printk
(
KERN_INFO
"ide%d: Bus empty, interface released.
\n
"
,
hwif
->
index
);
default_hwif_iops
(
hwif
);
for
(
i
=
IDE_DATA_OFFSET
;
i
<=
IDE_CONTROL_OFFSET
;
++
i
)
hwif
->
io_ports
[
i
]
=
0
;
hwif
->
chipset
=
ide_unknown
;
hwif
->
noprobe
=
1
;
return
-
ENODEV
;
}
return
0
;
}
...
...
drivers/ide/setup-pci.c
View file @
b286e392
...
...
@@ -787,7 +787,7 @@ static int pre_init = 1; /* Before first ordered IDE scan */
static
LIST_HEAD
(
ide_pci_drivers
);
/*
* __ide_
register_pci
_driver - attach IDE driver
* __ide_
pci_register
_driver - attach IDE driver
* @driver: pci driver
* @module: owner module of the driver
*
...
...
drivers/scsi/ide-scsi.c
View file @
b286e392
...
...
@@ -784,8 +784,8 @@ static ide_proc_entry_t idescsi_proc[] = {
#endif
static
ide_driver_t
idescsi_driver
=
{
.
owner
=
THIS_MODULE
,
.
gen_driver
=
{
.
owner
=
THIS_MODULE
,
.
name
=
"ide-scsi"
,
.
bus
=
&
ide_bus_type
,
.
probe
=
ide_scsi_probe
,
...
...
include/linux/ide.h
View file @
b286e392
...
...
@@ -1089,9 +1089,11 @@ enum {
/*
* Subdrivers support.
*
* The gendriver.owner field should be set to the module owner of this driver.
* The gendriver.name field should be set to the name of this driver
*/
typedef
struct
ide_driver_s
{
struct
module
*
owner
;
const
char
*
version
;
u8
media
;
unsigned
supports_dsc_overlap
:
1
;
...
...
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