Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xserver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
893
Issues
893
List
Boards
Labels
Service Desk
Milestones
Merge Requests
87
Merge Requests
87
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
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
xorg
xserver
Commits
39cb95e9
Commit
39cb95e9
authored
Sep 08, 2020
by
Olivier Fourdan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "linux: Fix platform device PCI detection for complex bus topologies"
This reverts commit
5c96eb5f
.
#1068
parent
4b6fce59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
config/udev.c
config/udev.c
+3
-3
No files found.
config/udev.c
View file @
39cb95e9
...
...
@@ -470,7 +470,7 @@ config_udev_odev_setup_attribs(struct udev_device *udev_device, const char *path
config_odev_probe_proc_ptr
probe_callback
)
{
struct
OdevAttributes
*
attribs
=
config_odev_allocate_attributes
();
const
char
*
value
,
*
str
;
const
char
*
value
;
attribs
->
path
=
XNFstrdup
(
path
);
attribs
->
syspath
=
XNFstrdup
(
syspath
);
...
...
@@ -478,8 +478,8 @@ config_udev_odev_setup_attribs(struct udev_device *udev_device, const char *path
attribs
->
minor
=
minor
;
value
=
udev_device_get_property_value
(
udev_device
,
"ID_PATH"
);
if
(
value
&&
(
str
=
strstr
(
value
,
"pci-"
)
))
{
attribs
->
busid
=
XNFstrdup
(
str
);
if
(
value
&&
!
strncmp
(
value
,
"pci-"
,
4
))
{
attribs
->
busid
=
XNFstrdup
(
value
);
attribs
->
busid
[
3
]
=
':'
;
}
...
...
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