summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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
2011-05-21Add pci_intr_map_msi() stub.Mark Kettenis
2011-05-21It's better to have the pci_intr_map_msi() stub return -1.Mark Kettenis
2011-05-21It's better to have the pci_intr_map_msi() stub return -1.Mark Kettenis
2011-05-21Add pci_intr_map_msi() stub.Mark Kettenis
2011-05-21Add pci_intr_map_msi() stub.Mark Kettenis
2011-05-21First stab at suporting Message Signaled Interrupts on amd64. UnfortunatelyMark Kettenis
this code differs somewhat from the i386 code because the amd64 interrupt subsystem is quite different. Still disabled like on i386.
2011-05-21First stab at supporting Message Signaled Interrupts on i386. Still work inMark Kettenis
progress. The code is effectively disabled as long as PCI_FLAGS_MSI_ENABLED doesn't get set for the root PCI bus.
2011-05-21Make inteldrm_intr only do any work if we know for sure that interruptsOwain Ainsworth
are unmasked (so we aren't vt switched). Delay mutex aquisition until after we've make sure we have to worry about interrupts. The ironlake version of this behaves funny for guenther@ with interaction on docking then restarting X. so has been left out of this commit until I work out what the hell is going on. Joint work with deraadt@ been in snaps for weeks
2011-05-21Introduce a flag to indicate that it is ok to use MSI on a certain PCI busMark Kettenis
and/or device. Discussed with miod@
2011-05-20Change 'set skip on <...>' to work with interface groups.Stuart Henderson
Feedback from various people, ok henning@ Previously if an interface type (without number), e.g. "set skip on vlan" or "set skip on em" was used, it would have the undocumented behaviour of matching any interface of that type. Now it will only match an interface which is a member of the named group. This results in some changed behaviour: If you currently use "set skip" with a physical interface type (e.g. "set skip on ix") you will need to add the interface to a group of that name: 'ifconfig ix0 group ix' or add 'group ix' to hostname.ix0. Interfaces cloned at runtime (e.g. lo, trunk, vlan, pppoe, carp, gif, mpe and others) default to being in a group named after the interface type, so for these interfaces there will be no change in behaviour unless you have deliberately changed groups, e.g. 'ifconfig carp456 -group carp'.
2011-05-20sr_scsi_cmd copes with failed i/o just fine so there's no needMike Belopuhov
to panic if we couldn't allocate memory for crypto descriptors; tested by dcoppa, ok marco
2011-05-20Avoid panic'ing on a bad pointer passed in by callers of msgsnd;Bret Lambert
uiomove() will do the right thing in that case. "This fix is right" kettenis@
2011-05-20fix copy and paste in BIOCINSTALLBOOT ioctl number.Marco Peereboom
found by Vadim Zhukov <persgray@gmail.com> ok jsing
2011-05-20Fix typo; from BradKevin Lo
ok sthen@
2011-05-20Avoid double scsi_done(xs) in error path; ok dlg@ krw@Otto Moerbeek
2011-05-19Save and restore the MSI capability registers on suspend/resume.Mark Kettenis
2011-05-18When the sparc64 iommu fails to lookup a vaddr, it prints a message andAriane van der Steldt
returns EFBIG. This cannot be recovered from and is usually indicative of a damaged pmap. Therefor, panic right here instead. This diff meant the difference between dropping into single-user mode versus getting a traceable panic. ok kettenis@
2011-05-18Turns out VA_ALIAS_MASK is indeed a mask, but with the PAGE_MASK deceptivelyAriane van der Steldt
zeroed out. Documented this in code and updated PMAP_PREFER_* macros to use the corrected values. Discussed with and ok miod@
2011-05-18Better make PMAP_PREFER_ALIGN() a rounded value, as done on other arches;Miod Vallat
while there fix PMAP_PREFER_OFFSET() for good too, after discussion with ariane@
2011-05-18Off-by-two in PMAP_PREFER_ALIGN definition; found the hard way by matthieu@Miod Vallat
2011-05-18Mention new alc(4) devices in commments. No active changes.Stuart Henderson
2011-05-18Support additional L2C variants and L1D (AR813x/AR815x chips).Stuart Henderson
Tested on L1C by Abel Abraham Camarillo Ojeda, thank you. From FreeBSD via kevlo@, ok jsg@
2011-05-17Use the same define checks as used in machdep.c for the trampoline code.Ariane van der Steldt
from Brad ok mikeb@
2011-05-17update bnx firmware to the latest version in FreeBSD:Jonathan Gray
6.0.15 for BCM5706 and BCM5708 6.0.17 for BCM5709 and BCM5716 Tested on BCM5708 by naddy, BCM5716 by sthen and BCM5709 by myself. ok deraadt@
2011-05-17exclude link local address from the dynamic interface address poolMike Belopuhov
so that rules like "pass out on vr1 inet6 nat-to (vr1)" won't map to the non routable ipv6 link local address; with suggestions and ok claudio, henning
2011-05-17Ban passing of kqueue descriptors via UNIX domain sockets. Currently,Philip Guenthe
they're tightly bound to struct filedesc, leading to NULL derefs during exit1(). ok henning@, millert@, kettenis@
2011-05-16bring back r1.189, but keep doing the ip csum unconditionally for now untilHenning Brauer
the broadcast shortcut codepath is fixed. ok claudio
2011-05-15regenMark Kettenis
2011-05-15Fix entries for Intel 6700PXH.Mark Kettenis
ok sthen@, jsg@, henning@
2011-05-15match on LSI SAS2108/SAS2116/SAS2208/SAS2308Jonathan Gray
ok mikeb@ dlg@
2011-05-15regenJonathan Gray
2011-05-15add ids for LSI SAS2108/SAS2116/SAS2208/SAS2308Jonathan Gray
2011-05-15Unify various gpio access using methods that take an offset relative to theMartin Pieuchot
mac-io bus base address. Needed by upcoming dfs(4) support. On some Apple machines, the openfirmware returns a gpio offset relative to the gpio controller (generaly at 0x50). These offsets should be corrected to be relative to the bus base address. looks fine to kettenis@, ok miod@
2011-05-15Remove unused include of file.pckbdc. Those arches do not haveMatthieu Herrb
a PC/AT or PS/2 keyboard/mouse controller. ok miod@
2011-05-14regenMark Kettenis
2011-05-14Keep Intel PCI IDs sorted numerically.Mark Kettenis
2011-05-14Fix arguments to pool_init: want alignment of L2_TABLE_SIZE_REAL atMatthew Dempsky
offset 0, not default alignment at offset L2_TABLE_SIZE_REAL. ok miod@
2011-05-14Pass flags down the PCI bus hierarchy. Soon to be used to selectively enableMark Kettenis
Message Signalled Interrupts. ok krw@ with a fix pointed out by many
2011-05-14pm_* methods are always attached to a PMU, no need to check for hardware.Martin Pieuchot
ok miod@
2011-05-14Add register definitions for PCI MSI capaility.Mark Kettenis
ok oga@, miod@, marco@, dlg@, krw@