summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-05-29two ATI bridges found in the x201Theo de Raadt
2011-05-29Move the source address selection for multicast destinations thatClaudio Jeker
specify the outgoing interface with a multicast option up. Doing this before the route lookup allows multicast traffic to work even when the default 224/4 reject route is installed. Raw IP and IPv6 already had this behaviour. Based on work by Christiano F. Haesbaert. OK sthen@
2011-05-29Let this compile on kernels without acpicpu.Claudio Jeker
Problem found by Nathanael Rensen (nathanael at polymorpheus dot com)
2011-05-29regenMark Kettenis
2011-05-29Intels calls this the 5400 chipset series instead of the E5400 chipset seriesMark Kettenis
(the latter is the name of the associated Xeon processors).
2011-05-29Don't attempt to use MSI if we're not running in APIC mode.Mark Kettenis
2011-05-29regenMark Kettenis
2011-05-29Fix typo in previous commit.Mark Kettenis
2011-05-29Ignore errors from the UCMS method. Some newer (really crappy, stayTheo de Raadt
away from them) thinkpads are returning garbage for the return value. We never did anything special about the return value except spit out some noise, so silence it. ok mlarkin
2011-05-28regenMark Kettenis
2011-05-28Add AMD Family 14h devices.Mark Kettenis
2011-05-28Remove out of data XXX comment.Mark Kettenis
2011-05-28Do not leak memory if ufs_open() fails; reported by and ok martynas@Miod Vallat
2011-05-28Add support for AMD SB800, where the SMBus control registers have been hiddenMark Kettenis
away. Based on a diff from Bryan Steele. ok deraadt@
2011-05-28Do not allow traffic to be sent with a destination address in 0/8;Paul de Weerd
this is not allowed according to Stevens and RFCs 5735 and 1122. Suggestion to use ENETUNREACH from claudio. OK phessler@, claudio@
2011-05-28Sync MCR0_BROADCAST register naming from FreeBSD now that itsKevin Lo
known the register is to disable broadcast instead of enabling broadcast packets. From Brad
2011-05-28age_newbuf is called from the interrupt context so it can't sleep.Kevin Lo
From Brad. Tested by Thomas Pfaff
2011-05-27Thou shall not use uninitialized TAILQsMiod Vallat
2011-05-27Fix the return values from pipe_kqfilter - kqfilters should return anNicholas Marriott
errno not 0/1. ok guenther
2011-05-27Whitespace nits; from BradKevin Lo
2011-05-26The check for the mcp98243 sdtemp(4) device was too strict. Relax it.Theo de Raadt
Tested by Joe Gidi
2011-05-25Also enclose variable names with external linkage in __BEGIN_DECLS.Martynas Venckus
Doesn't matter much since C++ ABI used by GCC doesn't mangle variable names; however technically is required by Section 7.5 of the C++ spec. Discussed with/OK guenther@, matthew@.
2011-05-25Set UX and SX in the system register early in boot. While not necessary onMiod Vallat
the real hardware, some emulators (such as those which name start with `qe' and end in `mu' and are four letters long) expect the cpu behaviour to honour the value of these bits. This is not worth doing but it's cheap.
2011-05-25Add the second serial port, might be the console device on 2E systems.Miod Vallat
2011-05-25Do not dereference ri_devcmap[] twice; found the hard way by Gilbert FernandesMiod Vallat
(firstname dot lastname at orange dot frogland).
2011-05-25Add dfs(4), a driver to support the Dynamic Frequency Switching featureMartin Pieuchot
found on some G4 PowerBook. Tested by many, thanks. ok sthen@, kettenis@, miod@
2011-05-25Don't do last minute changes to diffs. Revert the argument change toClaudio Jeker
pf_scrub in the rule (no-state) case. Since the action (a) may be NULL for e.g. the implicit pass rule. Should fix the panics seen by other people.
2011-05-25wdc.c doesn't use NATAPISCSI, so no point in including atapiscsi.h.Matthew Dempsky
It's the last file referencing atapiscsi.h too, so might as well get rid of the need-flags in files.atapiscsi.
2011-05-25- For AR8132 fast ethernet controller, do not report 1000baseTKevin Lo
capability to mii(4). - Limit DMA burst size to be less than or equal to 1024 bytes. Controller does not seem to support more than 1024 bytes DMA burst. - Do not touch CMB TX threshold register when CMB is not used. From FreeBSD via Brad - Properly initialize sc_product and alc_rev early enough in alc_attach() with the PCI product id and PCI revision. - Further sync if_alcvar.h changes from FreeBSD for L2C/L1D addition commit which in OpenBSD has been merged into if_alcreg.h From Brad; tested by Gabriel Linder and edd@.
2011-05-25try to map an msi style interrupt. if that doesnt work then try to map aDavid Gwynne
normal intx style interrupt. tested on a box with three mpii(4) controllers: mpii0 at pci5 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi mpii1 at pci8 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi mpii2 at pci14 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: apic 2 int 8 no functional change, ie, everything still works. it is ok to do this in mpii(4) since it is only enabled on i386 and amd64, which are the only archs to get msi code so far. discussed with and ok kettenis@
2011-05-24Move wdc_cd from ata/ata_wdc.c to ic/wdc.c so that you can compile aMatthew Dempsky
kernel without the former. Also, eliminate two dead stores in wdcattach(). ok dlg@
2011-05-24On OpenBSD, we've always attached scsibus(4) to umass(4), even forMatthew Dempsky
ATAPI devices. atapiscsi(4) is only for handling ATAPI devices on an ATA bus, so umass(4) shouldn't care about it. ok krw@, dlg@; no objections from deraadt@
2011-05-24syncTheo de Raadt
2011-05-24a few more devicesTheo de Raadt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
vmmap is designed to perform address space randomized allocations, without letting fragmentation of the address space go through the roof. Some highlights: - kernel address space randomization - proper implementation of guardpages - roughly 10% system time reduction during kernel build Tested by alot of people on tech@ and developers. Theo's machines are still happy.
2011-05-24Merge pf_scrub_ip() and pf_scrub_ip6() into a single function. CallClaudio Jeker
pf_scrub with the right arugments in the rule case so that match rules will work as expected. As a benefit allow setting the tos on IPv6 packets as well. OK henning@
2011-05-23Remove leftover include.Paul Irofti
2011-05-23Do not check malloc return value against NULL, as M_WAITOK is used.Paul Irofti
2011-05-23AMD K10/K11 pstate driver allows setperf and apm to change CPUClaudio Jeker
frequencies on newer AMD systems. Driver written by Bryan Steele / brynet gmail.com adjusted for i386 by myself. Put it in deraadt@
2011-05-23AMD K10/K11 pstate driver allows setperf and apm to change CPUClaudio Jeker
frequencies on newer AMD systems. Driver written by Bryan Steele / brynet gmail.com Put it in deraadt@
2011-05-23Fix after poolification. For reasons not completely understood, theOtto Moerbeek
fifo full check has to be protected by the mutex. ok dlg@ krw@
2011-05-22do not need the DPME parts anymoreTheo de Raadt
2011-05-22Fix a problem found where one SOC has a uart implementation that causes busDale Rahn
errors if the fifo is read when the fifo is empty. Dont read an empty fifo. ok deraaadt@ fgsch@
2011-05-22In ddb, when dereferencing a pointer, use sizeof a pointer.Ariane van der Steldt
Enables show map /f *kernel_map to succeed without nullpointer errors on 64-bit archs. ok miod@
2011-05-22regenMark Kettenis
2011-05-22The RD890 entries here are really SR5690/5670/5650 devices.Mark Kettenis
ok deraadt@, krw@
2011-05-22socppc is a pure MBR architecture (just like landisk and armish), soTheo de Raadt
it does not need macppc DPME logic ok kettenis
2011-05-22Do not pass AF specific information to pf_test_rule() and PFLOG_PACKET()Claudio Jeker
because either the info is already available in struct pd or easy to figure out. Makes pf_test() and pf_test6() even more similar (with the target to remove one of them in the near future). OK henning@
2011-05-22Enable ath(4)Martin Pieuchot
ok deraadt@
2011-05-21Add pci_intr_map_msi() stub.Mark Kettenis