summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2012-12-01Crank boot blocks version because of the compiler change.Miod Vallat
2012-12-01Switch m88k ports to gcc 3.Miod Vallat
2012-12-01Silently ignore VD_OP_GET_DEVID as Solaris uses it even though we don'tMark Kettenis
advertise it.
2012-12-01Add RX TCP/UDP checksum offload support.Brad Smith
ok naddy@ sthen@
2012-12-01Don't bother to zero initialize the if_capabilities field first andBrad Smith
then set the flags. Just set the flags as is done everywhere else. ok sthen@
2012-12-01The return value of vio_link_state() is not used so change the returnBrad Smith
type from int to void. ok sf@
2012-11-30Fix typo in comment.Stefan Sperling
2012-11-30Fix speakers on Apple MacBook Air 2010, they require gpio unmuting.Stuart Henderson
From ray@, adapted from a diff by jakemsr@, commit req'd by Alexey Suslikov
2012-11-30Support large MTUsStefan Fritsch
Add support for the VIRTIO_NET_F_MRG_RXBUF feature, i.e. allow to chain several rx buffers when receiving large packets. This requires to put the rx meta data headers at the beginning of the mbuf cluster instead of dedicated buffers. ok mikeb@
2012-11-29Enable rtsx(4) in GENERIC on i386 and amd64.Stefan Sperling
2012-11-29Add rtsx(4), a new driver for the Realtek RTS5209 card reader.Stefan Sperling
This card reader does not comply to the standard SDHC interface supported by sdhc(4) and hence requires a custom driver. With help from uwe and mikeb. Useful hints were also provided by the author of the corresponding Linux driver (wwang at realsil com cn), thanks a lot! Tested by myself and weerd on i386 and amd64.
2012-11-29Delete needless check for NULL. From Michael W. Bombardieri.YASUOKA Masahiko
no binary changes on i386.
2012-11-29Remove setting an initial assumed baudrate upon driver attach which is notBrad Smith
necessarily correct, there might not even be a link when attaching. ok mikeb@ reyk@
2012-11-29Fix asterisk symbol in de layout.Alexandr Shadchin
ok miod@, pointed Stefan Koerner <stefan dot koerner at pilum-tech dot de>
2012-11-29make ix complile with IX_DEBUG defined, based on the patch fromMike Belopuhov
mxb at alumni ! chalmers ! se. thanks!
2012-11-28- Use IF_Gbps(1) instead of IF_Mbps(1000)Brad Smith
- Use IF_Mbps() instead of multiplying the link speed by a bare value - Remove a useless comment as baudrate is already handled properly - Remove some commented out bits of code - Use IF_Mbps() instead of the bare value ok sthen@
2012-11-27fix format string; OK mikeb@Gleydson Soares
2012-11-27Add acpi_{acquire,release}_glk locking functions.Paul Irofti
These functions represent the basic blocks for using the ACPI global lock that provides mutual exclusion between the OSPM and the BIOS. No functional change. Okay kettenis@, deraadt@.
2012-11-27remove incorrect splnet usage in pfkey interfaceMike Belopuhov
and make raw_usrreq do an splsoftnet on its own; joint work with david hill, ok claudio
2012-11-26do not steal mbuf types (leads to a panic if M_ZEROIZE gets set onMarkus Friedl
readonly mbufs) but use M_PROTO1 and M_LINK0 instead; ok mikeb@
2012-11-26shorten MBX_RX_IFACE_* definesMike Belopuhov
2012-11-26get rid of some useless bitfields in oce_mbx and mbx_hdrMike Belopuhov
2012-11-26Bring in some more pch2/82579 bits from the Intel code in FreeBSD:Jonathan Gray
- modify em_oem_bits_config_pchlan for pch2 - sync pch2 use of gating/ungating hardware phy config - add 82579 phy workarounds - enable Energy Efficient Ethernet on 82579 From Yoshihisa Matsushita based on an earlier diff of mine. Fixes problems some people were seeing with gigabit autoneg on pch2. tested by naddy@ & jasper@, ok mikeb@
2012-11-25Avoid using multiline litterals in __asm__ statement, gcc3 complains aboutMiod Vallat
them.
2012-11-25remove the use of cast as lvalue which is verboten with newer gccJonathan Gray
tweaks from/tested by/ok miod@
2012-11-25Recognize a wrong network configuration which would cause tftpboot toMiod Vallat
apparently freeze, and in any case fail to load anything; if this happens, tell the user what to do and return to the BUG (altering the configuration from tftpboot itself doesn't seem to have any effect, unfortunately).
2012-11-25Sync register clobber information in MVMEPROM_CALL() with those used in theMiod Vallat
kernel (in dev/bugio.c)
2012-11-25Make the instruction replace struct static const so it will endJonathan Gray
up in the .rodata section. Suggested by and ok miod@
2012-11-24Do not assign the "host" MAC address to virtual switch ports. Don't print theMark Kettenis
address for those ports either.
2012-11-23Change the way we encode devhandle and devino in the sysino such that we canMark Kettenis
handle up to 256 different interrupt vectors on cbus(4). This is enough to handle 128 channels.
2012-11-23Add SIOCGIFHARDMTU to allow retrieving the driver's maximum supported MTUStuart Henderson
looks fine reyk@ ok mikeb@
2012-11-23better way to set baudrate to 0; pointed out by gsoares@Mike Belopuhov
2012-11-23set ifp->if_baudrate with IF_Gbps() / IF_Mbps().Gleydson Soares
OK reyk@ sthen@
2012-11-23make sure to always pass an array of struct pf_src_node pointers toMike Belopuhov
the pf_map_addr. doing otherwise leads to the stack corruption. bug was reported and fix tested by arjan schrijver, thanks! ok jsing, henning, florian who has also found the same bug in pf_route and pf_route6 functions.
2012-11-23- Remove return's at the end of void functionsBrad Smith
- Some minor tweaking of the use of braces in two spots ok mikeb@
2012-11-22Don't bother to store the return value from pci_set_powerstate() as theBrad Smith
code that used to do something with it was removed with the previous commit. ok deraadt@
2012-11-21Atempting to eject a CD-ROM makes the SCSI midlayer generate a READ_TOCMark Kettenis
command. Silently fail that command instead of spamming the console.
2012-11-21Trivial fixes for labels not followed by statements, which gcc 3 complainsMiod Vallat
about.
2012-11-21Try to negotiate version 1.1 of the vDisk protocol such that we can getMark Kettenis
the vdisk media type and fake a CD-ROM drive.
2012-11-21Don't forget to delete an rx refill timeout when bringingMike Belopuhov
an interface down (noticed by dlg@ in the other diff). While here, do some minor cleanup in the interrupt handler.
2012-11-21syncKirill Bychkov
2012-11-21Hook D-Link DUB-E100 rev C1 to axe(4)Kirill Bychkov
ok sthen@
2012-11-21Add D-Link DUB-E100 rev C1.Kirill Bychkov
ok sthen@
2012-11-20fix typoMike Belopuhov
2012-11-19Add atomic 32-bit cas operations.Paul Irofti
This is needed for future acpi global locking routines. Okay kettenis@
2012-11-19Use a more descriptive name for the userland cas operation.Paul Irofti
Substitute atomic_ucas_32 with futex_atomic_ucas_int32 to make it obvious who's using this api. Suggested by and okay kettenis@.
2012-11-19If uvm_km_kmemalloc_pla() fails when just creating a thread (and not aPhilip Guenthe
process), then don't decrement the total and per-user counts of processes. ok deraadt@ miod@
2012-11-18These functions all should be called with splbio, so splassert(IPL_BIO)Bob Beck
everywhere instead of setting splbio. ok krw@ pirofti@
2012-11-18Small memcpy optimizationsStefan Fritsch
On x86, the xchg operation between reg and mem has an implicit lock prefix, i.e. on MP, it is a relatively expensive atomic operation. This is not needed here. Instead of swapping arguments on the stack, load them in reverse order and jump further into bcopy (idea by kettenis@). ok kettenis@
2012-11-17 Don't map a buffer (and potentially sleep) when invalidating it in vinvalbuf.Bob Beck
This fixes a problem where we could sleep for kva and then our pointers would not be valid on the next pass through the loop. We do this by adding buf_acquire_nomap() - which can be used to busy up the buffer without changing its mapped or unmapped state. We do not need to have the buffer mapped to invalidate it, so it is sufficient to acquire it for that. In the case where we write the buffer, we do map the buffer, and potentially sleep.