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
58dcf8dc
Commit
58dcf8dc
authored
Dec 03, 2009
by
Bartlomiej Zolnierkiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pdc202xx_old: remove no longer needed debugging code
Signed-off-by:
Bartlomiej Zolnierkiewicz
<
bzolnier@gmail.com
>
parent
c95522a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
drivers/ide/pdc202xx_old.c
drivers/ide/pdc202xx_old.c
+0
-15
No files found.
drivers/ide/pdc202xx_old.c
View file @
58dcf8dc
...
...
@@ -21,8 +21,6 @@
#define DRV_NAME "pdc202xx_old"
#define PDC202XX_DEBUG_DRIVE_INFO 0
static
void
pdc_old_disable_66MHz_clock
(
ide_hwif_t
*
);
static
void
pdc202xx_set_mode
(
ide_drive_t
*
drive
,
const
u8
speed
)
...
...
@@ -34,11 +32,6 @@ static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed)
u8
AP
=
0
,
BP
=
0
,
CP
=
0
;
u8
TA
=
0
,
TB
=
0
,
TC
=
0
;
#if PDC202XX_DEBUG_DRIVE_INFO
u32
drive_conf
=
0
;
pci_read_config_dword
(
dev
,
drive_pci
,
&
drive_conf
);
#endif
/*
* TODO: do this once per channel
*/
...
...
@@ -89,14 +82,6 @@ static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed)
pci_write_config_byte
(
dev
,
drive_pci
+
1
,
BP
|
TB
);
pci_write_config_byte
(
dev
,
drive_pci
+
2
,
CP
|
TC
);
}
#if PDC202XX_DEBUG_DRIVE_INFO
printk
(
KERN_DEBUG
"%s: %s drive%d 0x%08x "
,
drive
->
name
,
ide_xfer_verbose
(
speed
),
drive
->
dn
,
drive_conf
);
pci_read_config_dword
(
dev
,
drive_pci
,
&
drive_conf
);
printk
(
"0x%08x
\n
"
,
drive_conf
);
#endif
}
static
void
pdc202xx_set_pio_mode
(
ide_drive_t
*
drive
,
const
u8
pio
)
...
...
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