Age | Commit message (Collapse) | Author |
|
complete/cleanup the attachment cleanup code.
ok reyk@ jsg@
|
|
sure to #include "foo.h" in all code that uses the softc,
otherwise some object files will have a different idea of how
big the softc struct is.
This will result in things like part of the softc, say the interrupt
handler being overridden by other data. Putting printfs in the
main object file will look fine as it has the right idea as to
what the size is. It is only after several hours debugging
that you start to figure out what the hell is going on.
jsing started trying to figure out the problem and got hints
from kettenis that it likely wasn't an interrupt problem,
after quite a bit of head scratching with joel I eventually spotted
the problem.
ok reyk@ jsing@
|
|
them in and sending to the adapter. Reduces probe of empty controller
from 15 minutes or so to 30 seconds or so. And probably fixes other
things too.
Also add a few more debug statements and tweak some comments.
From mjacob via FreeBSD.
ok deraadt@
|
|
just use the actual pointers.
Debugged into the early hours of the morning with todd, without
being able to use a keyboard with ddb. Fixes a panic seen on his
powerbook.
|
|
Fixes resume from suspend/hibernate problems mentioned in
PR 5845.
|
|
tested by jbg@, "it is right" deraadt@
|
|
ok marco@, krw@, deraadt@
|
|
to receive packets sent using short slot time. Turn on short slot time
support, so that we don't prevent other STA from using short slot time.
From sephe@DragonFly
ok mglocker@
|
|
when using acx(4) as HostAP.
From sephe@DraonFly
ok mglocker@
|
|
the TX ring and clear the flag when some have been freed.
ok dlg@ kettenis@
|
|
The registers seems to return 0 on my 12160 and there are some indications
that it doesn't really exist. This may fix panics seen with the 10160 on
sparc64 machines.
ok krw@
|
|
information.
ok deraadt@
|
|
information.
|
|
codecs support 16-bit stereo slinear_le @ 48kHz.
ok ratchov@
|
|
right, in particular the adapters scsi id on the bus.
requested by kettenis@ who is having trouble with the scsi controller on
the primepower 250.
|
|
properly in 8.5 years so just garbage collect the driver.
ok damien@ deraadt@
|
|
ok claudio
|
|
ok dlg@, jsing@, deraadt@
|
|
ok dlg@
|
|
so that the status routine will properly display half duplex instead
of full.
ok henning@ krw@
|
|
- Count receive errors as input errors.
Based on similar change to the gem(4) driver from NetBSD.
ok kettenis@
|
|
works, even if the boot loader is configured to use serial console.
after the changes jsing and i made, the initial probe of the serial port
was failing since the default base addres for the port is invalid. cos of
that the kernel would only ever consider the glass console for use. this
fixes it by reprobing the serial port if we get any config for it from the
boot loader.
advice on aesthetics from miod@
advice and ok from kettenis@
|
|
|
|
|
|
what type of console was specified, so when a glass console was used it was
still configuring serial bits. this makes it so serial config only occurs
for serial console devices.
found by jolan@, thib@, and maybe sthen@
sorry guys
|
|
Spotted by drahn@, ok dlg@
|
|
ok dlg@
|
|
|
|
Specify the serial configuration from within the MD code, rather than
passing things via macros. This will allow other platforms to more readily
change the serial console configuration.
Committing this so it actually gets tested.
ok dlg@
|
|
in bioctl(8) functions not available; pr#5682.
code from mickey. tested by several people.
ok dlg@ krw@
|
|
It doesn't compile, was never finished, is now irrelevant, and miod
has taken it apon himself to scare good boys and girls by suggesting
they read the code.
ok dlg@
|
|
it was going to be before the release. No functional change.
prodded by kettenis@ ok dlg@
|
|
- Add some more defines for the 8168C chipset.
From NetBSD
ok dlg@
|
|
be reached if using the 8139C+ chipset.
ok dlg@
|
|
- Use one of the new defines in the re(4) code to remove a magic number.
- Correct a comment.
- Fix a typo.
Most of this is from NetBSD.
ok dlg@
|
|
ok dlg@
|
|
Based on the same change to re(4) quite some time ago.
ok dlg@
|
|
crc in addition to the existing "oneshot" mode and use them to replace
ieee80211_crc_update() with the new ether_crc32_le_update(). Saves 1k
kernel bss + some code.
Mark the new ether_crc32_[lb]e_update functions as __pure for a
~25x speedup (on my i386 at least).
feedback and ok damien@
|
|
and use the ieee80211_crc_update() function too.
not tested as I do not have a wi(4) but I see no reason why it
would not work.
"Just be brave" deraadt@
|
|
we may end up passing control frames (ps-poll or others) which
is not supported by ieee80211_get_hdrlen().
first found by pedro la peu, reminded by jsg@
closes kernel/5750
|
|
handshake protocols (both supplicant and authenticator state
machines) as defined in the IEEE 802.11i standard.
Software implementation of the TKIP (Temporal Key Integrity
Protocol) and CCMP (CTR with CBC-MAC Protocol) protocols.
This diff doesn't implement any of the 802.1X authentication
protocols and thus only PSK authentication (using pre-shared
keys) is currently supported.
In concrete terms, this adds support for WPA-PSK and WPA2-PSK
protocols, both in station and hostap modes.
The following drivers are marked as WPA-capable and should
work: bwi(4), malo(4), ral(4), iwn(4), wpi(4), ural(4),
rum(4), upgt(4), and zyd(4)
The following options have been added to ifconfig(8):
wpa, wpapsk, wpaprotos, wpaakms, wpaciphers, wpagroupcipher
wpa-psk(8) can be used to generate keys from passphrases.
tested by many@
ok deraadt@
|
|
video boards, is a known entity, so add support for 2d acceleration with
the help of the X code (which makes baby Jesus cry).
The blitter is fast enough to make a cgsix feel as slow as a cgthree in
comparison.
|
|
ok deraadt@
|
|
completion routines to do anything useful with.
this stashes the commands status in the ccb for the ccb_done handlers to
use. the completion path for passthru commands now checks the mbox status
to see if the command actually works. this prevents phantom devices from
appearing on the passthru busses.
|
|
Scrub the buffer afterwards, too
|
|
|
|
packet transmission.
From NetBSD
Fixes PR 5655.
Tested by Panagiotis Efstratiou <slasher at ee dot auth dot gr>, brad@ and sthen@
|
|
ok deraadt@
|
|
agp and drm need to use the same memory mapping, the best way to deal
with that is to allow them to share (that's coming later), for this to
work cleanly we move the attach point of agp.
Ideally most agp drivers would attach at pchb, with only agp_i810
(and any that work similarly) attaching at vga, but this will do for
now.
ok kettenis@, miod@.
|
|
ieee80211_input() already does this.
Mentioned by Peter Philipp in PR 5248.
ok claudio@ mglocker@
|