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
Kirill Smelkov
linux
Commits
28909415
Commit
28909415
authored
Sep 26, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
3b1bbff1
51c76e24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
drivers/pnp/isapnp.c
drivers/pnp/isapnp.c
+13
-5
No files found.
drivers/pnp/isapnp.c
View file @
28909415
...
@@ -1048,11 +1048,19 @@ int isapnp_cfg_begin(int csn, int logdev)
...
@@ -1048,11 +1048,19 @@ int isapnp_cfg_begin(int csn, int logdev)
isapnp_wait
();
isapnp_wait
();
isapnp_key
();
isapnp_key
();
isapnp_wake
(
csn
);
isapnp_wake
(
csn
);
#if 1
/* to avoid malfunction when the isapnptools package is used */
#if 1
isapnp_set_rdp
();
/* to avoid malfunction when the isapnptools package is used */
udelay
(
1000
);
/* delay 1000us */
/* we must set RDP to our value again */
write_address
(
0x01
);
/* it is possible to set RDP only in the isolation phase */
udelay
(
1000
);
/* delay 1000us */
/* Jens Thoms Toerring <Jens.Toerring@physik.fu-berlin.de> */
isapnp_write_byte
(
0x02
,
0x04
);
/* clear CSN of card */
mdelay
(
2
);
/* is this necessary? */
isapnp_wake
(
csn
);
/* bring card into sleep state */
isapnp_wake
(
0
);
/* bring card into isolation state */
isapnp_set_rdp
();
/* reset the RDP port */
udelay
(
1000
);
/* delay 1000us */
isapnp_write_byte
(
0x06
,
csn
);
/* reset CSN to previous value */
udelay
(
250
);
/* is this necessary? */
#endif
#endif
if
(
logdev
>=
0
)
if
(
logdev
>=
0
)
isapnp_device
(
logdev
);
isapnp_device
(
logdev
);
...
...
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