| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Remove some unused variables.
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
etc).
MFC after: 3 days
|
|
|
|
|
| |
Suggested by: jhb @ and marius @
MFC after: 1 week
|
|
|
|
| |
of kobj(9) from device drivers.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
CID: 4222
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
|
|
| |
CID: 3536
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
| |
pci_find_cap() instead.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
non-debug cases.
|
|
|
|
|
| |
Pointy hat to: me
Submitted by: Michael Butler <imb at protected-networks dot net>
|
|
|
|
| |
Submitted by: yongari
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
low-power PHY of bwn(4) and LDO voltage adjustments.
|
|
|
|
|
| |
module is to distinguish parts of Silicon Backplane and of Broadcom
Wireless.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Merge the siba bus device. This was moved from mips to dev because
siba bus can be in other architectures, like ARM.
|
|/ |
|
|
|
|
|
|
|
| |
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.
|
|
Submitted by: bms@
Obtained from: p4 mips branch
|