Age | Commit message (Collapse) | Author |
|
ieee80211_input() enqueued a packet beforehand. malo(4) does not support
hostap mode so this should not happen but perhaps mglocker@ gets it working
someday. OK mglocker@
|
|
calling if_start(). So call ifp->if_start() at the end of the RX interrupt
function. This solves the porblem of getting dhcp leases from the AP if the
network is quiet. OK mglocker@
|
|
while there, remove explicit global variable initializations to zero,
and appease the gods by removing the most ludicrous spurious casts.
No functional change (except for code shrinkage).
|
|
really using 24 bpp pixels on 32 bit boundaries.
|
|
|
|
|
|
|
|
|
|
help and ok krw@
|
|
register (typo).
|
|
|
|
|
|
madwifi-old-openhal project. this was backed out the last time because
it was too close to the release and i didn't respect the ABI/API lock.
|
|
fix the "hal" on big endian systems.
thanks to the madwifi-old-openhal people
|
|
read capacity completion to compensate.
|
|
disk.
|
|
|
|
divide by zero rate bug. Someone has to find the source of this
bug one day; from jsg
|
|
divide by zero rate bug. Someone has to find the source of this
bug one day; from stephen@sock.org.uk, ok niallo
|
|
a really dumb wsdisplay to pcons, so that wskbd/wsmouse input drivers can be
used for input, and prom for output.
This is a band-aid for the release, so that people with such frame buffers
do not need to unplug them or switch to serial console to install OpenBSD.
Probably not the best way to do this, but this one has a minimal footprint
and no tentacles in wscons.
ok deraadt@
|
|
and shut down the controller upon error (no recovery).
|
|
queued commands to be done.
|
|
|
|
a mask.
Fix some typos and try to keep functions in the same order as prototypes
to make the code easier to navigate.
|
|
- add a ccb_done member to the ahci_ccb, which points to a function that
is used to complete the current xfer
- ccbs no longer rely on an ata_xfer being provided for submission to work
- ahci is stupid and has no way to telling you the difference between an
empty command slot, and a completed command. we keep track of active
commands with ap_active in ahci_port, so we dont try and complete commands
we havent actually submitted
- ahci_start simple submits a command to the hardware now
- provide the start of an interrupt handler for each port (which is not yet
called by the controllers interrupt handler)
- provide an ahci_poll which is built on top of ahci_start and
ahci_port_intr
- remove the fake ata_xfers from the softreset path
- on completion of an ahci command, sync the relevant dma memory
- provide a completion path for ata_xfers which syncs the xfers buffer
and calls the xfers completion handler
in atascsi.c:
- start defining the contents of the response to an ATA IDENTIFY command
specific to SATA
- implement the faking of scsi inquiries, so now you'll actually see a disk
attach to ahci.
- start implementing a fake scsi read capacity. it presents a fake geometry
though, so dont get too excited when ahci magically makes your disk have a
terabyte in size.
lots of discussion, help, tweaks, and an ok from pascoe@
|
|
dont have to carry the cmd_tables dva around in the ccb anymore.
|
|
|
|
|
|
ever zero out the whole command header.
Also add some diagnostic checks to ensure we don't violate any of the
controller's DMA address/size restrictions.
|
|
addresses for me when it writes to the registers. Don't swap them manually.
|
|
explicit by including pointers to both of them in the ccb.
Inspired by dlg@
|
|
|
|
From madwifi-old-openhal via Nick Kossifidis (mickflemm at gmail dot com)
Bump copyright while I'm here.
|
|
simplify the VLAN code.
this will close PR 5356 (system panics under high load).
From claudio@ who is currently not around to commit this fix
tested and ok by mcbride@, reyk@, todd@, Paul Hirsch, and brad
|
|
|
|
controllers can specify extra code to run at match or attach time.
use this on jmicron controllers to restrict attaching to ahci on pci
function 0 (high functions are normal pciide style controllers), and to
do the CCR tweaking to enable ahci.
|
|
|
|
and radio initializes on sparc64, too.
|
|
we must switch back to the common core. Found because sparc64 panics
on this (I start to like sparc64 :).
|
|
|
|
|
|
Mostly from dlg@
|
|
Clean up some whitespace problems.
|
|
register. Noted while testing on sparc64.
|
|
|
|
Don't clean interrupt status now - have to flush individual ports' status first.
|
|
|
|
|
|
|
|
|