History log of /libpciaccess/src/common_bridge.c (Results 1 – 11 of 11)
Revision Date Author Comments
# 1a2ac5f1 09-Jan-2012 Chad Versace <[email protected]>

Don't include config.h on Android

Android doesn't use autotools, so the header is never generated.

A previous commit removed some of the includes; this commit hopefully
removes the rest.

Signed-of

Don't include config.h on Android

Android doesn't use autotools, so the header is never generated.

A previous commit removed some of the includes; this commit hopefully
removes the rest.

Signed-off-by: Chad Versace <[email protected]>

show more ...


# e1a0240a 17-Sep-2011 Alan Coopersmith <[email protected]>

Strip trailing whitespace

Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change

Signed-off-by: Alan Coopersmith <alan.coopersm

Strip trailing whitespace

Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change

Signed-off-by: Alan Coopersmith <[email protected]>

show more ...


# 066032e0 14-Dec-2010 Bryce Harrington <[email protected]>

Fix detection of multi-function cards

Bit 7 of the pci device header type is an indicator of multi-function
devices, so needs to be masked when examining the bridge type.
Thanks go to Chih-Pin Wu fo

Fix detection of multi-function cards

Bit 7 of the pci device header type is an indicator of multi-function
devices, so needs to be masked when examining the bridge type.
Thanks go to Chih-Pin Wu for finding the bug and its fix.

https://bugs.launchpad.net/ubuntu/+source/libpciaccess/+bug/681207

Reviewed-by: Adam Jackson <[email protected]>
Signed-off-by: Bryce Harrington <[email protected]>

show more ...


# 62205376 06-Dec-2010 Jesse Barnes <[email protected]>

Revert "Don't try to use bogus bridge data"

This reverts commit 2bda5b733bb12854760750c08138db95e77aea0c.

It actually conflicts with 9ba94caf57e3a8c3e9c6f3f5f068f4a7a7b3ff9d
which came earlier, but

Revert "Don't try to use bogus bridge data"

This reverts commit 2bda5b733bb12854760750c08138db95e77aea0c.

It actually conflicts with 9ba94caf57e3a8c3e9c6f3f5f068f4a7a7b3ff9d
which came earlier, but I didn't catch it probably because I did a blind
rebase before pushing.

When reading bridge bus info, we may need to read out the current bridge
info if the PCI bridge private is uninitialized, so remove the check at
the top that would always short circuit the case where the priv was
still 0.

References:
https://bugs.launchpad.net/ubuntu/+source/libpciaccess/+bug/681207.

Reported-by: Bryce Harrington <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>

show more ...


# b2fbe63b 18-Nov-2009 Adam Jackson <[email protected]>

Add pci_device_get_parent_bridge()

Copied from linuxPci.c in the X server.

Acked-by: Tiago Vignatti <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>


# 2bda5b73 30-Jun-2009 Jesse Barnes <[email protected]>

Don't try to use bogus bridge data

If, for whatever reason, we weren't able to read bridge data (therefore
leaving bridge.pci or bridge.pcmcia empty), we shouldn't try to look at
the bus data inside

Don't try to use bogus bridge data

If, for whatever reason, we weren't able to read bridge data (therefore
leaving bridge.pci or bridge.pcmcia empty), we shouldn't try to look at
the bus data inside the pci/pcmcia struct.

show more ...


# 9ba94caf 14-Apr-2009 Darren Smith <[email protected]>

Be more paranoid about reading bridge info (#20786)


# 28dc34c2 27-Mar-2007 Ian Romanick <[email protected]>

Make sure header_type is available in read_bridge_info.


# 27f0ffca 30-Jul-2006 Ian Romanick <[email protected]>

Added some function preamble comments.


# c0e31708 25-Jul-2006 Ian Romanick <idr@umwelt.(none)>

Add pci_device_get_bridge_buses, bump API version to 0.5.0.


# c0ff6e61 07-Jul-2006 Ian Romanick <idr@umwelt.(none)>

Add support for querying bridge information. Bump to version 0.5.0.