| Age | Commit message (Collapse) | Author |
|
|
|
|
|
since a wrong calculation in dp8390_ipkdb_attach() was fixed.
|
|
definitions by chance (or by the bus-specific front-end #including them!).
#include them here, instead.
|
|
but #include here.
|
|
1 s/next_tick/next_tint/ because next_tick shadows a global on sparc64.
2 Fix the bus-barrier helper routines, which had the tag & handle
swapped (!!). Move the helpers from rtwreg.h to rtwvar.h, and
change RTW_BARRIER() into an inline subroutine called rtw_barrier().
|
|
|
|
|
|
- const'ify
|
|
|
|
|
|
Logic borrowed from siisata(4) (which I've confirmed works on sparc64).
Should fix PR kern/39659.
|
|
|
|
Roy Marples), or other devices misbehavior probably due to interrupts issues
(reported by Jukka Ruohonen). Back it out and do the following changes:
- clear port interrupt register before ahci_channel_start() which enables
interrupts
- wait 500ms after sata_reset_interface() before touching SERROR register.
This is what seems to fix the issue I'm seeming on ESB2 controller.
- The 31s delay didn't cause the probe to fail because of a mismatch
in loop index comparison; use a #define for delay after reset
instead of numeric values, to avoid this kind of bugs in the
future.
|
|
especially on RTL8019AS which is also used for non-ISA local bus of
embedded controllers and some m68k machines like atari and x68k.
* move RTL8019 probe and attach code from each bus attachment
to MI ne2000_detect() and ne2000_attach()
* change a method for backend and attachment to specify 8 bit mode
to use a new sc->sc_quirk member, instead of sc->sc_dmawidth
* handle more NE2000 8 bit mode specific settings, including
bus_space(9) access width and available size of buffer memory
* add a function to detect NE2000 8 bit mode
(disabled by default, but enalbed by options NE2000_DETECT_8BIT
to avoid possible regression on various ISA clones)
* fix ipkdb attachment accordingly (untested)
Tested on two NE2000 ISA variants (RTL8019AS and another clone named UL0001)
in both 8 bit and 16 bit mode on i386. "Looks good" from nonaka@.
See my post on tech-kern for details:
http://mail-index.NetBSD.org/tech-kern/2010/02/26/msg007423.html
|
|
|
|
|
|
using conditionals to switch inline functions for modern processors.
|
|
|
|
Stop calling (*cardbus_ctrl) to enable bus mastering, I/O and memory
spaces on the CardBus bridge. cbb(4) always enables that stuff,
anyway. In the process, avoid remembering what BAR we mapped by
writing CARDBUS_{IO,MEM}_ENABLE to sc_cben or sc_cbenable, and
record the BAR in use sc_bar, instead.
Replace more CARDBUS_ constants with PCI_ constants.
Compile-tested, only.
|
|
symbols, use the unicode definitions instead (which apparently didn't
exist when I wrote that)
|
|
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
|
|
character set
|
|
|
|
no longer need to override it in ne2000_attach().
|
|
slipped in about sixteen years ago. Fortunately, it had been working
for ages because some devices used address zero and other devices
ignored wrong higher bits.
Tested on we(4) (SMC Elite Ultra) and ne(4) (NE2000 compatible
named UL0001) on ISA.
Note FreeBSD also uses the same correct value in their ed(4) driver.
|
|
here is not touching SError while BSY is asserted). Fix random
behavior (serial console corruption/misfunction, misbehavior of USB
controllers, crasy interrupts crashing the Xen hypervisor, ...)
of Intel ESB2 controller with some brand of hitachi drives.
|
|
This fixes forever-N/A VCore and -12V readings on my W83627THF chips.
.
|
|
From Chris Ross in PR 42792.
|
|
more or less adequate replacements in the builtin IBM character set
|
|
|
|
error pointed out by njoly@
|
|
- Add MFI gen2 support from OpenBSD.
- Add entry for MegaRAID SAS 9260-8i
|
|
hook. Without any logical volume, sysmon_envsys_register() fails. On such
case, sc->sc_sme must be NULL for the detach. Reviewed by dyoung and bouyer.
|
|
handles the new flags for selecting sensor type. Update code and man
page accordingly.
|
|
enabled for W83627HF but easily extended to others if appropriate.
Fixes PR kern-42758
|
|
|
|
Slightly adjust some comment styling.
|
|
#if NBPFILTER is no longer required in the client. This change
doesn't yet add support for loading bpf as a module, since drivers
can register before bpf is attached. However, callers of bpf can
now be modularized.
Dynamically loadable bpf could probably be done fairly easily with
coordination from the stub driver and the real driver by registering
attachments in the stub before the real driver is loaded and doing
a handoff. ... and I'm not going to ponder the depths of unload
here.
Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
|
|
mfi_ioctl() entry and release it on exit.
|
|
functional change, but some C parsers that don't know which cpp
macros are defined fall and hurt themselves quite badly with it.
|
|
instead of "void *". Buys us oo times the type-safety for 0 times
the price.
(no functional change)
|
|
to for years. Bad.
|
|
volume control via PMF works
|
|
|
|
Port WWNs for them as well as attaching them as a "port-wwn" property to
the device node in question. This allows MD code to find the boot device
on some platforms.
This is less clean than it should be. A better solution would be to make
some changes to the scsi infrastructure so that periphs can query and
use and store their own "native" transport addresses. However, that's
a much more invasive change and it is not clear how many ports or devices
really want or need that information (yet).
|
|
in PR kern/42527.
|
|
|
|
|
|
|