Age | Commit message (Collapse) | Author |
|
Based on a diff from Vladimir Kirrillov.
|
|
from drahn@, ok deraadt@
|
|
Fixes TKIP replays seen by STAs connecting to an ath(4) hostap and matches
the FreeBSD driver. Tested with several cards by Theo and myself.
Thanks mikeb for providing some cards, your next beer in Berlin is on me.
ok deraadt
|
|
Problem reported by ajacoutot@
ok deraadt@, kettenis@, krw@
|
|
reverting most of the previous commit. Fixes unaligned read from PCI config
space as well.
ok & tested by stsp@
|
|
ok stsp@
|
|
This mandatory function will get invoked in pci_probe_device(), and allows
a pci host driver to alter the pci_attach_args passed to a device when
attaching.
This function will also, if returning non-zero, cause the device to be
skipped completely during all the phases of the PCI device discovery
(i.e. ressource enumeration, ressource assignment, and actual attachment).
This particular feature is experimental and might be reverted in the future
(or the scope narrowed to device attachment only).
A dummy #define pci_probe_device_hook() 0 is added to all platforms except
sgi, where real functions (currently only returning 0) are added; real meat
will be added shortly.
Discussed at s2k11, no objection from the usual suspects.
|
|
tested by Atanas Vladimirov on a CardBus device with one physical port
|
|
|
|
|
|
console. The 'command' key is now the alt modifier.
Based on a diff from shadchin@ with inputs from miod@
ok shadchin@, miod@
|
|
since a similar device (not yet named as far as I can see) has showed up
on the market. cat34ts02 tested by weerd.
|
|
uftdi0 at uhub2 port 1 "RT Systems CT57B Radio Cable" rev 2.00/6.00 addr 2
ucom0 at uftdi0 portno 1
|
|
|
|
ok deraadt
|
|
discussed with jsing and millert
|
|
refresh function. sensor_task_work() is incomprehensively complex.
Work around this by using a workq to deactive the i2c alias when the
isa interface is preffered.
Problem of dead sensors reported by henning, fix tested by Nigel Taylor
ok kettenis
|
|
under 4g now. this moves the inqbufs off the stack to dma_alloc/dma_free.
reported by and fix tested by henning@
ok henning@
|
|
the Intel I340-T4 and HP NC365T and simplify some of the multi port
handling while here.
Thanks to fredrik danerklint for donating a card, Linden Varley
for setting up a test system and everyone who made sure this
didn't break their existing em setups.
|
|
This also fix the "slow touchpad" problem due to the fact that some ALPS
devices respond to some Synaptics messages and stay in un half-configured
state.
Tested by Rivo Nurges, armani@, shadchin@ and matthieu@
ok shadchin@
|
|
value to swap the SDA and SCL pins assigment during attach.
Mostly from work with mbalmer@NetBSD.
ok miod@
|
|
Found by Amit Kulkarni using clang.
Fix from jakemsr; his diff was sitting on tech@ since February.
ok myself, phessler, sthen, jasper
and also pirofti, mikeb, krw (back in February)
|
|
|
|
the comments); this makes hppa64 much happier according to jsing@.
ok krw@ exactly two years ago, it was about time to commit this.
|
|
|
|
|
|
for talking to the disk driver snuck in.
ok mlarkin
|
|
|
|
better. No functional change.
From Brad
|
|
no objections mpi@ and matthieu@
|
|
idling the rings fails and esults in an infinte sleep. So skip initialization
of the rings altogetheron sandybridge. Issuing 3D commands won't work in that
state, but at least VT switches (and therefore suspend) will no longer hang.
This is a temporary measure until the ring code has been fixed.
ok oga@
|
|
the modeset registers in that state hangs the machine halfway through resume.
So skip this step on sandybrige and rely on the (upcoming) xf86-video-intel
driver to properly restore the mode.
ok oga@
|
|
save the clock back to the rtc. The zaurus already did this.
ok phessler miod kettenis
|
|
are if used with a key disk.
|
|
of splitting and rejoining the list.
|
|
map the rootduid to the DUID of the softraid volume. This means that
regardless of where the kernel is loaded from we always get the softraid
volume as the root device, providing we booted from one of its chunks.
If we boot from any other disk then the rootduid remains unchanged.
With this diff it is now possible to have the root filesystem on softraid,
however at this stage the kernel still needs to be loaded from a separate
FFS partition.
ok deraadt@
|
|
to store the DUID of the softraid volume and each of the chunks that it
is assembled from. This allows us to correctly identify the root disk.
ok deraadt@
|
|
or invalid metadata; (2) a new volume with no existing metadata; and (3)
an existing volume with metadata. This removes duplicated code and
simplifies the code path.
Also ensure that we only process the optional metadata once per volume
and not once per chunk. Move the optional metadata handler calls into
sr_ioctl_createraid().
|
|
|
|
x220. Suggested before by jakemsr.
ok deraadt@, ratchov@
|
|
ok deraadt@, sthen@, jasper@
|
|
sys/kthread.h, use sys/timeout.h explicitly. Noted by Michael
Knudsen.
ok deraadt@ kettenis@ guenther@
|
|
will allow new optional metadata types to be added without needing to
change the softraid metadata version.
Note that this commit changes the softraid metadata version, however
an upgrade from older metadata is handled automatically. A full backup
prior to upgrading is still strongly recommended.
With feedback from stsp@ and marco.
|
|
|
|
|
|
metadata handling code. This will simplify upcoming changes.
|
|
variables being processed.
ok bluhm@ henning@
|
|
|
|
ok deraadt@
|
|
enodev().
ok jsing@ krw@ deraadt@
|