summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-06-19Kill the "lockname" argument to disk_construct().Matthew Dempsky
ok deraadt@
2011-06-19Clean up ioctl handler a bit and rearrange the receive filter callback toYASUOKA Masahiko
the proper location. this diff from brad@ ok and tested by yasuoka@
2011-06-19Fix a typo: change "!(reg >> pin) & 1" to "!((reg >> pin) & 1)" asMatthew Dempsky
intended. ok damien@
2011-06-18pass the correct size to memsetJonathan Gray
spotted by clang, ok matthew@
2011-06-18Change sizeof(&kdfinfo2) to sizeof(kdfinfo2).Matthew Dempsky
ok deraadt@
2011-06-18Use MSI interrupts when available. Tested by deraadt@ and jsg@.Claudio Jeker
Removing a leftover M from my tree makes also my machine happy.
2011-06-18Cleanup MSI code a bit by moving the code to eanble/disable MSIs intoMark Kettenis
separate functions and install them as route/unroute functions for the MIS pseudo-PIC.
2011-06-17Remove obsolete mbuf PF_TAG_FRAGCACHE flag.Alexander Bluhm
ok henning@
2011-06-17Explicitly clear 1000baseT control register for F1 PHY used inKevin Lo
AR8132 FastEthernet controller. The PHY has no ability to establish a gigabit link. Previously only link parters which support down-shifting was able to establish link. This change should fix a long standing link establishment issue of AR8132. From Brad via FreeBSD Tested by krw@, edd@, Abel Abraham Camarillo Ojeda, Gabriel Linder
2011-06-17Enable MSI support; tested by krw@, Mark Peoples, andKevin Lo
Abel Abraham Camarillo Ojeda. From Brad
2011-06-17Enable MSI support; tested by Thomas PfaffKevin Lo
From Brad
2011-06-17M_WAITOK cleanup of two cases:Michael Knudsen
1) Allocating with M_WAITOK, checking for NULL, and calling panic() is pointless (malloc() will panic if it can't allocate) so remove the check and the call. 2) Allocating with M_WAITOK, checking for NULL, and then gracefully handling failure to allocate is pointless. Instead also pass M_CANFAIL so malloc() doesn't panic so we can actually handle it gracefully. 1) was done using Coccinelle. Input from oga. ok miod.
2011-06-17add missing the copyright notice.YASUOKA Masahiko
delete garbage lines. ok syuu@
2011-06-17Unbreak tree. $OpenBSD$ tag needs to be in a comment! BadKenneth R Westerback
pirofti@.
2011-06-17Update ch(4) to use ISO C style function definitions to avoidMatthew Dempsky
confusing Coccinelle. No binary change. ok dlg@
2011-06-16Enable acpitoshiba by default in GENERIC.Paul Irofti
Prodded by deraadt@ and the lack of testers on tech@.
2011-06-16Import acpitoshiba driver.Paul Irofti
This is originally written by Hiroyuki Aizu, ported and integrated in our tree by Javier Vazquez <javama4 AT gmail> with tweaks and suggestions by me. Import prodded by deraadt@ and the lack of testers on tech@.
2011-06-16Use the current page not he first page when working out whether toOwain Ainsworth
deactivate pages after syncing. While here, don't check flags for PQ_INACTIVE (this is the only place outside uvm_page.c where this is done) because pagedeactivate does this already. First part from Christian Ehrhart, second from me. Both ok ariane@. I meant to commit this about a week ago, but accidentally commited to my local cvs mirror then forgot about it.
2011-06-16QEMU pretends to emulate a different prehistoric Intel host bridge.Mark Kettenis
From Brad.
2011-06-16Enable msi support on iwn.Owain Ainsworth
tested by many for over a week. ok kettenis@ phessler@.
2011-06-16Raise the number of interrupt sources per CPU from 32 to 64. This effectivelyMark Kettenis
triples the number of interrupt vectors that can be handled by the primary CPU. Important for MSI, but could also fix some issues with large machines loaded with a lot of devices. tested by many; ok deraadt@, marco@
2011-06-16Enable MSI on newish PCIe hardware, essentially everything handled by the LinuxMark Kettenis
e1000e driver (which enables MSI as well), leaving everything handled by the old Linux e1000 driver (which doesn't enable MSI) use legacy interrupts. tested by many; ok jsg@
2011-06-16Ethernet driver merged from IIJ's contribution code.Takuya ASADA
2011-06-16Removes unused variables.Martin Pieuchot
ok miod@
2011-06-16Removes the always-set-to-1 adbSoftPower variable.Martin Pieuchot
ok miod@
2011-06-16Uses generic confargs to attach the apm(4) and piic(4) drivers instead ofMartin Pieuchot
the specifics adb arguments. Now apm(4) no longer depends on adb stuff and piic(4) doesn't attach on a via-cuda machine (e.g. my color G3 iMac). ok miod@
2011-06-16pass the dma_alloced memory rather than a pointer to its pointer.David Gwynne
2011-06-16dont respond to VPD inquiries with standard inquiry data. add aDavid Gwynne
check to make sure cmdlen is correct while there. ok miod@
2011-06-15Add a const char* as first member of struct adb_attach_args, so that we canMiod Vallat
pass a struct confargs * on macppc for some specific children of the adb node, and not confuse real adb device attachments. ok mpi@
2011-06-15Add support for ZTE AC2746.Jonathan Gray
Slightly changed version of a diff from Martin Furter.
2011-06-15regenJonathan Gray
2011-06-15ZTE AC2746Jonathan Gray
from Martin Furter
2011-06-15Set RL_FLAG_INVMAR for RTL8105E/RTL8401E/RTL8168E VL so multicastJonathan Gray
will work and add PHY wake up code for RTL8401E. From brad
2011-06-15Add IP_RECVRTABLE socket option to be used with a IPPROTO_IPMike Belopuhov
level that allows one to retrieve the original routing domain of UDP datagrams diverted by the pf via "divert-to" with a recvmsg(2). ok claudio
2011-06-15Silence unneeded conversion warning. Okay jordan@.Paul Irofti
2011-06-15FUJITSU MBD drives seem okDavid Gwynne
2011-06-15all the dell md3xxx arrays are rdacDavid Gwynne
2011-06-15print which ldev, controller, port, and whether we're asymmetric orDavid Gwynne
symmetric. dont leak bufs on xs failure and make sure we free the buf back to the right dma pool.
2011-06-15check the preferred path ownership bit rather than assuming that odd lunsDavid Gwynne
like to be talked to on odd paths, and even luns like being talked to on even paths.
2011-06-15build inquiry with scsi_init_inquiry().David Gwynne
2011-06-15factor the common bits out of code that builds scsi inquiry commands intoDavid Gwynne
scsi_init_inquiry(). cut the compiled INQUIRY code over to it. ok and tweaks from krw@ ok matthew@
2011-06-15try to make critical messages make more sense. help from sthen.Marco Peereboom
2011-06-15if the system runs out of mbufs and cannot provide any when fillingDavid Gwynne
the rx ring, schedule a timeout to keep trying until it gets some. a timeout is used here cos the chip doesnt have a way of reporting if its out of descriptors or when there's a ring overflow. we have to manage that ourselves in software. mikeb reported this issue on an ipsec gateway. ipsec would consume all the mbufs while they were stuck in crypto waiting for the cpu to catch up, by which time it was too late to give more to the hardware. without any rx descriptors the chip would never interrupt and we'd never try to fill the ring again. the fix was tested by and is ok mikeb@
2011-06-14Intel 3400 AHCI responds to PMP probes like ATI SBx00 chips.Jonathan Matthew
Unknown whether this also applies to product id 3b23 as well as 3b22. Problem reported by John Danks in PR6630 ok dlg@
2011-06-14KNF (no change in .o files)Ryan Thomas McBride
2011-06-13Not need define KEYBOARD_ARRAY (keyboard array used only in dev/adb/akbd.cAlexandr Shadchin
if defined WSDISPLAY_COMPAT_RAWKBD). Move keyboard array from dev/adb/keyboard.h to dev/adb/akbdmap.h. ok miod@
2011-06-12Some devices, like parts of the NVIDIA C51 chipset, have a broken CapabilitiesMark Kettenis
List. So turn a DIAGNOSTIC panic into returning failure. ok mglocker@, miod@
2011-06-10Monster update of ix(4). This brings ix(4) close to what is currentlyClaudio Jeker
in FreeBSD. This seems to fix a lot of problems on 82599 based cards including the VLAN problems and the corrupted receives. Putting this in now to work on it in tree since a few additional things need to be merged. Tested by myself, deraadt@ and jsg@ on both 98er and 99er cards. OK jsg@, deraadt@
2011-06-10RegenClaudio Jeker
2011-06-10Fix numeric order of a 82598 chip and add the id of 82599VF for theClaudio Jeker
upcomming ix(4) update.