summaryrefslogtreecommitdiffstats
path: root/sys/dev/siba
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r266270brueffer2014-05-311-2/+0
| | | | Remove some unused variables.
* Expand the set of APIs available for locating PCI capabilities:jhb2012-03-031-0/+18
| | | | | | | | | - 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.
* Correct capitalization of "Hz" in user-visible text (manpages, printf(),gavin2012-02-281-1/+1
| | | | | | etc). MFC after: 3 days
* Rename device_delete_all_children() into device_delete_children().hselasky2011-11-221-1/+1
| | | | | Suggested by: jhb @ and marius @ MFC after: 1 week
* s,KOBJMETHOD_END,DEVMETHOD_END,g in order to fully hide the explicit mentionmarius2011-11-223-3/+3
| | | | of kobj(9) from device drivers.
* - There's no need to overwrite the default device method with the defaultmarius2011-11-221-2/+1
| | | | | | | | | | 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.
* Move the device_delete_all_children() function from usb_util.chselasky2011-11-191-10/+2
| | | | | | | | 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
* Properly free resources in case of an error.brueffer2011-10-151-0/+1
| | | | | | CID: 4222 Found with: Coverity Prevent(tm) MFC after: 1 week
* Fix an infinite loop in siba_bwn_suspend().brueffer2011-10-081-1/+1
| | | | | | CID: 3536 Found with: Coverity Prevent(tm) MFC after: 1 week
* Do a sweep of the tree replacing calls to pci_find_extcap() with calls tojhb2011-03-231-1/+1
| | | | pci_find_cap() instead.
* Fix double ;;kevlo2010-12-061-1/+1
|
* bus_add_child: change type of order parameter to u_intavg2010-09-101-2/+2
| | | | | | | | | | 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
* Revert r204992 and just wrap it all in ifdef INVARIANTS to fix the debug andthompsa2010-03-111-4/+6
| | | | non-debug cases.
* fixes a compile error if INVARIANTS is disabled.weongyo2010-03-111-4/+4
| | | | | Pointy hat to: me Submitted by: Michael Butler <imb at protected-networks dot net>
* uses KOBJMETHOD_END macro to indicate the end of method table.weongyo2010-03-094-4/+4
| | | | Submitted by: yongari
* o uses bus accessor macros to read values from ivar so no more valuesweongyo2010-03-093-120/+846
| | | | | | | | | | | 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]
* fixes an attached-at-boot issue that bwn(4) using device_identifyweongyo2010-03-032-61/+12
| | | | | | | 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
* supports SPROM rev8 informations properly which are used to supportweongyo2010-02-163-8/+212
| | | | low-power PHY of bwn(4) and LDO voltage adjustments.
* Adds siba_bwn module which is used with bwn(4). Main purpose of thisweongyo2010-01-318-157/+3153
| | | | | module is to distinguish parts of Silicon Backplane and of Broadcom Wireless.
* This was somehow copied to the wrong place :(. Remove the spare copy.imp2010-01-118-1613/+0
|
* Move this to the right location. Grump.imp2010-01-111-0/+0
|
* Merge from projects/mips to head by hand:imp2010-01-109-0/+1767
|\ | | | | | | | | Merge the siba bus device. This was moved from mips to dev because siba bus can be in other architectures, like ARM.
| * - Revert changes accidentally killed by merge operationgonzo2009-04-143-0/+381
|/
* Use some casting to get the right addresses. This is likely unwiseimp2008-09-261-2/+3
| | | | | | | 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.
* Support for the siba bus found in many broadcom products.imp2008-09-266-0/+1385
Submitted by: bms@ Obtained from: p4 mips branch
OpenPOWER on IntegriCloud