History log of /freebsd-10-stable/sys/dev/siba/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
266921 31-May-2014 brueffer

MFC: r266270

Remove some unused variables.

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


232472 03-Mar-2012 jhb

Expand the set of APIs available for locating PCI capabilities:
- pci_find_extcap() is repurposed to be used for fetching PCI-express
extended capabilities (PCIZ_* constants in <dev/pci/pcireg.h>).
- pci_find_htcap() can be used to locate a specific HyperTransport
capability (PCIM_HTCAP_* constants in <dev/pci/pcireg.h>).
- Cache the starting location of the PCI-express capability for PCI-express
devices in PCI device ivars.


232250 28-Feb-2012 gavin

Correct capitalization of "Hz" in user-visible text (manpages, printf(),
etc).

MFC after: 3 days


227849 22-Nov-2011 hselasky

Rename device_delete_all_children() into device_delete_children().

Suggested by: jhb @ and marius @
MFC after: 1 week


227848 22-Nov-2011 marius

s,KOBJMETHOD_END,DEVMETHOD_END,g in order to fully hide the explicit mention
of kobj(9) from device drivers.


227843 22-Nov-2011 marius

- There's no need to overwrite the default device method with the default
one. Interestingly, these are actually the default for quite some time
(bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9)
since r52045) but even recently added device drivers do this unnecessarily.
Discussed with: jhb, marcel
- While at it, use DEVMETHOD_END.
Discussed with: jhb
- Also while at it, use __FBSDID.


227701 19-Nov-2011 hselasky

Move the device_delete_all_children() function from usb_util.c
to kern/subr_bus.c. Simplify this function so that it no longer
depends on malloc() to execute. Identify a few other places where
it makes sense to use device_delete_all_children().

MFC after: 1 week


226406 15-Oct-2011 brueffer

Properly free resources in case of an error.

CID: 4222
Found with: Coverity Prevent(tm)
MFC after: 1 week


226149 08-Oct-2011 brueffer

Fix an infinite loop in siba_bwn_suspend().

CID: 3536
Found with: Coverity Prevent(tm)
MFC after: 1 week


219902 23-Mar-2011 jhb

Do a sweep of the tree replacing calls to pci_find_extcap() with calls to
pci_find_cap() instead.


216227 06-Dec-2010 kevlo

Fix double ;;


212413 10-Sep-2010 avg

bus_add_child: change type of order parameter to u_int

This reflects actual type used to store and compare child device orders.
Change is mostly done via a Coccinelle (soon to be devel/coccinelle)
semantic patch.
Verified by LINT+modules kernel builds.

Followup to: r212213
MFC after: 10 days


205003 11-Mar-2010 thompsa

Revert r204992 and just wrap it all in ifdef INVARIANTS to fix the debug and
non-debug cases.


204992 11-Mar-2010 weongyo

fixes a compile error if INVARIANTS is disabled.

Pointy hat to: me
Submitted by: Michael Butler <imb at protected-networks dot net>


204923 09-Mar-2010 weongyo

uses KOBJMETHOD_END macro to indicate the end of method table.

Submitted by: yongari


204922 09-Mar-2010 weongyo

o uses bus accessor macros to read values from ivar so no more values
are referenced directly from ivar pointer. It's to do like what other
buses do. [1]
o changes exported prototypes. It doesn't use struct siba_* structures
anymore that instead of it it uses only device_t.
o removes duplicate code and debug messages.
o style(9)

Pointed out by: imp [1]


204657 03-Mar-2010 weongyo

fixes an attached-at-boot issue that bwn(4) using device_identify
interface didn't be attached automatically at boot time so changes a
approach to attach children based on leveraging some newbus niceties.

Submitted by: nwhitehorn


203944 16-Feb-2010 weongyo

supports SPROM rev8 informations properly which are used to support
low-power PHY of bwn(4) and LDO voltage adjustments.


203319 31-Jan-2010 weongyo

Adds siba_bwn module which is used with bwn(4). Main purpose of this
module is to distinguish parts of Silicon Backplane and of Broadcom
Wireless.


202105 11-Jan-2010 imp

Using svn cp rather than cp to copy these files over had the benefit
of preserving their history. It had the problem that it also copied
over mergeinfo data. Since we're retiring the projects/mips branch,
I'm removing the svn:mergeinfo property from them all.

Submitted by: jhb


202057 11-Jan-2010 imp

This was somehow copied to the wrong place :(. Remove the spare copy.


202056 11-Jan-2010 imp

Move this to the right location. Grump.


201978 10-Jan-2010 imp

Merge from projects/mips to head by hand:

Merge the siba bus device. This was moved from mips to dev because
siba bus can be in other architectures, like ARM.


183377 26-Sep-2008 imp

Use some casting to get the right addresses. This is likely unwise
code, but will be OK until there's a 64-bit siba...

With this change, SENTRY5 kernel now compiles for mips, the last of
the holdouts.


183371 26-Sep-2008 imp

Support for the siba bus found in many broadcom products.

Submitted by: bms@
Obtained from: p4 mips branch