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
ae620830
Commit
ae620830
authored
Apr 28, 2013
by
Rafael J. Wysocki
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'pnp'
* pnp: pnp: use %*phC to dump small buffers isapnp: remove debug leftovers
parents
355c63e5
ac2a509e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
14 deletions
+2
-14
drivers/pnp/isapnp/core.c
drivers/pnp/isapnp/core.c
+0
-11
drivers/pnp/pnpbios/proc.c
drivers/pnp/pnpbios/proc.c
+2
-3
No files found.
drivers/pnp/isapnp/core.c
View file @
ae620830
...
...
@@ -379,10 +379,6 @@ static int __init isapnp_read_tag(unsigned char *type, unsigned short *size)
*
type
=
(
tag
>>
3
)
&
0x0f
;
*
size
=
tag
&
0x07
;
}
#if 0
printk(KERN_DEBUG "tag = 0x%x, type = 0x%x, size = %i\n", tag, *type,
*size);
#endif
if
(
*
type
==
0xff
&&
*
size
==
0xffff
)
/* probably invalid data */
return
-
1
;
return
0
;
...
...
@@ -813,13 +809,6 @@ static int __init isapnp_build_device_list(void)
if
(
!
card
)
continue
;
#if 0
dev_info(&card->dev,
"vendor: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x\n",
header[0], header[1], header[2], header[3], header[4],
header[5], header[6], header[7], header[8]);
dev_info(&card->dev, "checksum = %#x\n", checksum);
#endif
INIT_LIST_HEAD
(
&
card
->
devices
);
card
->
serial
=
(
header
[
7
]
<<
24
)
|
(
header
[
6
]
<<
16
)
|
(
header
[
5
]
<<
8
)
|
...
...
drivers/pnp/pnpbios/proc.c
View file @
ae620830
...
...
@@ -185,10 +185,9 @@ static int pnp_devices_proc_show(struct seq_file *m, void *v)
if
(
pnp_bios_get_dev_node
(
&
nodenum
,
PNPMODE_DYNAMIC
,
node
))
break
;
seq_printf
(
m
,
"%02x
\t
%08x
\t
%
02x:%02x:%02x
\t
%04x
\n
"
,
seq_printf
(
m
,
"%02x
\t
%08x
\t
%
3phC
\t
%04x
\n
"
,
node
->
handle
,
node
->
eisa_id
,
node
->
type_code
[
0
],
node
->
type_code
[
1
],
node
->
type_code
[
2
],
node
->
flags
);
node
->
type_code
,
node
->
flags
);
if
(
nodenum
<=
thisnodenum
)
{
printk
(
KERN_ERR
"%s Node number 0x%x is out of sequence following node 0x%x. Aborting.
\n
"
,
...
...
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