| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove recursive locking situations. Remove the MTX_RECURSE bit.
- Take the lock for any routine which is not called from within if_vr.c
itself; this includes entry points called by newbus, ifnet, callout,
ifmedia, and polling subsystems.
- Remove spl references from the code added to miibus callbacks in rev 1.60.
- Add the INTR_MPSAFE bit.
- Tidy up some assignments; locks are not needed for taking the address
of something at a known offset, for example.
- Tested on the machine this was committed from.
Tested on: UP only, !debug.mpsafenet && debug.mpsafenet
Reviewed by: rwatson
|
|
|
|
| |
- Use C99 types for vr_miibus_readreg().
|
| |
|
|
|
|
|
|
|
|
|
| |
Put some braces around the busy-wait loop in vr_rxeoc() to make the
no-op semicolon more obvious.
No functional changes.
Running on the machine I am committing from without problems.
Reviewed by: jmallett
|
| |
|
|
|
|
|
|
| |
header pointer and then casting it to the ecdt pointer. This fixes the
-O2 build. I'm unsure what changed recently to reveal this error since
this code has been unchanged for months.
|
|
|
|
|
|
| |
use full duplex mode.
Approved by: matk
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
following drivers: bfe(4), em(4), fxp(4), lnc(4), tun(4), de(4) rl(4),
sis(4) and xl(4)
More patches are pending on: http://peoples.freebsd.org/~mlaier/ Please take
a look and tell me if "your" driver is missing, so I can fix this.
Tested-by: many
No-objection: -current, -net
|
|
|
|
|
|
|
| |
the VIA v3 register offsets.
PR: 68545
Submitted by: Ariff Abdullah <skywizard@mybsd.org.my>
|
|
|
|
| |
Changed if_ipending to if_flags
|
|
|
|
|
|
|
| |
rev 1.66, author: mycroft
Fix an endianness problem (EHCI_NULL was being double-swapped).
Obtained from: NetBSD
|
|
|
|
|
|
|
|
| |
rev. 1.68, author: mycroft
Ignore a port error that happens to come in at the same time as a
connect status change. Some root hubs seem to report both.
Obtained from: NetBSD
|
| |
|
|
|
|
|
| |
the struct resource for a malloc, it no longer needs it for the r_
elements of struct resource with this commit.
|
|
|
|
|
| |
necessary for this file. It just needed the size and guts of struct
rman.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bus interfaces. These interfaces use the FTDI chipset with different
Vendor and Product IDs.
Add two additional baud rate enumerations. The vehicle bus interfaces
use a baud rate of 2000000. Also add 3000000 as it is the other FTDI
baud divisor special case.
I've commited a slightly different patch from that provided in the PR as
I changed the matching code a bit yesterday.
Submitted by: Mike Durian <durian at shadetreesoftware.com>
PR: kern/67357
|
| |
|
|
|
|
|
|
|
| |
cut down on the clutter including PCI interrupt routing, MTRR, pcibios,
etc.
Discussed with: USENIX Cabal
|
|
|
|
| |
completion instead of abusing the interrupt enable flag.
|
|
|
|
| |
Tested against: rwatson's laptop
|
|
|
|
|
|
| |
operations when the refcount doesn't protect the opens and closes. Fix
this, and don't actually let a time out happen: now ugen(4) devices do
not get freed out from under the programs with them open.
|
|
|
|
|
|
|
|
|
|
|
| |
instead of a mutex so we do not unblock it in msleep(). If we do this,
another event could occur, resetting the status register since reads
reset it. While I'm here, remove the backoff approach. Instead, sleep
in 10 ms chunks for up to the configured timeout using either DELAY (if
we aren't booted yet) or tsleep.
Help from: dillon
Tested by: Andrew Thompson andy AT fud.org.nz
|
|
|
|
|
|
| |
Change the return type for t_break to void.
Add t_ioctl (more about this later).
|
| |
|
| |
|
| |
|
|
|
|
| |
Reported by: phk
|
|
|
|
|
|
| |
__RMAN_RESOURCE_VISIBLE to see inside these now.
Reviewed by: dfr, njl (not njr)
|
|
|
|
|
|
|
| |
Unify the code to disable GPEs with the enable code. Shutdown is handled
the same way. ACPI now does all wake/sleep prep for child devices so
now they no longer need to call external functions in the suspend/resume
path. Add the flags to non-ACPI busses (i.e., pci).
|
|
|
|
|
|
| |
This brings us into line with the standard, which requires power resources
be enabled when wake is enabled for a given device. Move the dereferencing
code into its own function, +acpi_pwr_dereference_resource().
|
|
|
|
| |
to fix any bug.
|
| |
|
| |
|
|
|
|
|
|
|
| |
code that was never really used. Print a message when disabling ACPI via
a quirk. Allow the user to override the blacklist decision by setting
hint.acpi.0.disabled="0". Add missing AcpiTerminate() calls; they are
needed to clean up if bailing out after AcpiInitializeSubsystem().
|
|
|
|
|
| |
and sets the flags. It also calls the machdep quirk code first. This
allows table quirks (or whitelists) to override machdep quirks.
|
|
|
|
| |
BIOS dates earlier than Jan 1, 1999. Add prototypes and quirks flags.
|
|
|
|
|
|
| |
the subdevices of uhub better now to accomplish this.
Submitted by: Bernd Walter
|
|
|
|
| |
Submitted by: Marius Strobl
|
|
|
|
|
|
| |
PCI native addressing. That means that if the HW says that using "real"
addresses instead of the hardwired legacy compat ones is allowed, we will
use them.
|
| |
|
| |
|
|
|
|
| |
static.
|
|
|
|
|
| |
acpi_id_probe() returns NULL for no match or the ID string that matched
if the driver should attach.
|
|
|
|
|
|
| |
namespace. This is to allow decoupling of attachments from ACPI where they
need some functionality when ACPI is present but do not want to require ACPI
to always be loaded.
|
|
|
|
| |
"match either RSDT or XSDT."
|
| |
|
|
|
|
|
|
| |
msleep(). Until we're finally up, msleep is a no-op.
Explained by: peter
|
|
|
|
| |
The bus does this now.
|
| |
|