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
bba30a6e
Commit
bba30a6e
authored
Feb 19, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bart.bkbits.net/ide-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
517daede
52853a2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
drivers/ide/Kconfig
drivers/ide/Kconfig
+1
-1
drivers/ide/ide-io.c
drivers/ide/ide-io.c
+3
-2
drivers/ide/ide.c
drivers/ide/ide.c
+4
-0
No files found.
drivers/ide/Kconfig
View file @
bba30a6e
...
...
@@ -812,7 +812,7 @@ config BLK_DEV_IDE_RAPIDE
config BLK_DEV_IDE_BAST
tristate "Simtec BAST / Thorcom VR1000 IDE support"
depends on ARM && (ARCH_BAST || MACH_VR100)
depends on ARM && (ARCH_BAST || MACH_VR100
0
)
help
Say Y here if you want to support the onboard IDE channels on the
Simtec BAST or the Thorcom VR1000
...
...
drivers/ide/ide-io.c
View file @
bba30a6e
...
...
@@ -238,9 +238,10 @@ u64 ide_get_error_location(ide_drive_t *drive, char *args)
high
=
ide_read_24
(
drive
);
}
else
{
u8
cur
=
HWIF
(
drive
)
->
INB
(
IDE_SELECT_REG
);
if
(
cur
&
0x40
)
if
(
cur
&
0x40
)
{
high
=
cur
&
0xf
;
low
=
(
hcyl
<<
16
)
|
(
lcyl
<<
8
)
|
sect
;
else
{
}
else
{
low
=
hcyl
*
drive
->
head
*
drive
->
sect
;
low
+=
lcyl
*
drive
->
sect
;
low
+=
sect
-
1
;
...
...
drivers/ide/ide.c
View file @
bba30a6e
...
...
@@ -335,10 +335,14 @@ static void __init init_ide_data (void)
static
int
ide_system_bus_speed
(
void
)
{
#ifdef CONFIG_PCI
static
struct
pci_device_id
pci_default
[]
=
{
{
PCI_DEVICE
(
PCI_ANY_ID
,
PCI_ANY_ID
)
},
{
}
};
#else
#define pci_default 0
#endif
/* CONFIG_PCI */
if
(
!
system_bus_speed
)
{
if
(
idebus_parameter
)
{
...
...
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