summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-12-22and something else in the futureTheo de Raadt
2004-12-22Use vfs firmware loader for fxp(4) interrupt coalescing microcode.Alexander Yurchenko
Initial work by Dmitry Bogdan <bogdan@eastonline.ru> with a help from me and Theo. ok deraadt@
2004-12-22Instead of running carp_setroute synchronously, use if_addrhooks to get aChristopher Pascoe
callback after in_ifinit has run. This lets us correct any routes that in_ifinit has incorrectly added for our interface. Also be more explicit with the routing checks/changes that we make. This makes it possible to have different prefix lengths on a CARP interface and the physical interface it is bound to. ok mcbride@
2004-12-22Do a COR reset on prism cards too in the watchdog reset. Helps recoverTodd C. Miller
things when older prism firmware gets wedged.
2004-12-21add powerhooksDamien Bergamini
OK claudio@ kevlo@ deraadt@
2004-12-21Check that if_type != IFT_CARP before using ifp->if_carp.Ryan Thomas McBride
2004-12-21Don't use crypto thread for callbacks.Marco Pfatschbacher
This primarily improves IPsec performance when using crypto accelerators. With help from markus@, tested by wvdputte@. ok deraadt@, markus@
2004-12-20In the rare case that SCSI_RESET is set, ensure that xs->stimeout isKenneth R Westerback
valid and don't call ahd_setup_data() after ahd_execute_scb() may have freed the scb.
2004-12-20Activate packetized status handling.Kenneth R Westerback
ok tdeval@.
2004-12-20Allow the setkey function of a transform to fail, eg. when an insufficientHans-Joerg Hoexer
number of key bits is supplied. Only AES and DES/3DES might fail. ok and help markus@
2004-12-20Kill \n at EOF.Alexander Yurchenko
2004-12-20more details in license filesTheo de Raadt
2004-12-20firmware loading from the filesystem. pci subsystem type thingsTheo de Raadt
are still done early, but audio subsystem setup is deferred till after root is mounted. tested by mcbride
2004-12-20lots of minor tweaking and cleanup, removal of unused junk, etc; dlg okTheo de Raadt
2004-12-20Enforce an ordering on ifnet such that CARP interfaces appear later in theChristopher Pascoe
list than physical interfaces. This makes ifa_ifwith* prefer a physical interface over a CARP one. This addresses the problem where a CARP interface in BACKUP state is selected after a route change, resulting in a loss of communications despite there being another interface available which is perfectly usable. ok mcbride@ mpf@
2004-12-20vge(4) in bsd.rd, only CD for now; ok deraadtPeter Valchev
2004-12-19#define sc_if sc_ac.ac_if, makes things a little more readable, andRyan Thomas McBride
kills a couple of ugly line wraps. From Max Laier. ok pascoe@
2004-12-19single comment in GENERIC replaces a file that gets out of date; discussed ↵Theo de Raadt
by many
2004-12-19Add ahd.Kenneth R Westerback
ok deraadt@.
2004-12-19use /sys includes instead of /usr/include/[possibly stale]/sys; deraadt@ okMichael Shalayeff
2004-12-19prep for futureTheo de Raadt
2004-12-19shorten codeTheo de Raadt
2004-12-19disable uyap by default, because it is that rareTheo de Raadt
2004-12-19not yds yetTheo de Raadt
2004-12-19filesystem firmware loading written over the pacific 2 weeks ago, testedTheo de Raadt
by mickey
2004-12-19tigon-license fileTheo de Raadt
2004-12-19build uyap firmwareTheo de Raadt
2004-12-19filesystem firmware loading for uyap(4). this should work, i wrote it veryTheo de Raadt
carefully. unfortunately, we cannot find anyone who has one of these devices in our entire user community, thus far. commit it anyways. whoever finds one can contact me if there is a problem.
2004-12-19fix cleanupTheo de Raadt
2004-12-19Reduce delta to FreeBSD by adding and using ahd_alloc() rather thanKenneth R Westerback
manually reproducing bits in ahd_pci.c. Just as in ahc, avoid allocating and freeing zero length bits of memory for platform data. Don't try to free all or part of ahd_softc, but correctly free allocated memory for seep_config if necessary. Add a final few fields to ahd_softc and scb in preparation for updating/fixing timeout handling. No functional changes.
2004-12-19Make it possible for carp to work on fddi and token ring again.Ryan Thomas McBride
ok pascoe@ mpf@
2004-12-19Set atime and mtime when giving out a new pty. With help from tholo@Todd C. Miller
and OK tedu@
2004-12-18Use SIU_TASKMGMT_* defines from scsi_all.h rather than local duplicates.Kenneth R Westerback
2004-12-18Add SPI status information unit structure and defines, along with someKenneth R Westerback
command information unit 'Task Management Flags' defines. From FreeBSD with a few tweaks. For ahd. ok tdeval@ marco@.
2004-12-18use tick instead of ticks. thanks to hannes at mehnert dot org.Reyk Floeter
2004-12-18Print error codes in panic message.Brad Smith
From NetBSD ok miod@
2004-12-18Decrement carp_suppress_preempt when detaching an interface that hasChristopher Pascoe
been experiencing output errors. ok mcbride@
2004-12-17Temporary fix to get IPv6 working again.Marco Pfatschbacher
v6 advertisements are still received the old-fashioned way. ok mcbride@
2004-12-17ICMP state entries use the ICMP ID as port for the unique state key. WhenDaniel Hartmeier
checking for a usable key, construct the key in the same way. Otherwise, a colliding key might be missed or a state insertion might be refused even though it could be inserted. The second case triggers the endless loop fixed by 1.474, possibly allowing a NATed LAN client to lock up the kernel. Report and test data by Srebrenko Sehic.
2004-12-17knf cleanup, convert old k&r-style functions to ansi-style for aReyk Floeter
consistent style in sys/net/bpf.c. ok henning@, "looks fine" canacar@
2004-12-17Fix printf in loadfirmware error path.Alexander Yurchenko
2004-12-17Reorder code in the ethernet output path, and enhance unicast addressChristopher Pascoe
matching in the bridge receive path to make CARP operate correctly on physical interfaces that are participating in a bridge. ok mcbride@ henning@ dlg@
2004-12-17Support for the eap MIDI UART from NetBSD.Jonathan Gray
Tested by serveral people. ok millert@, mickey@
2004-12-17Remember to decrement carp_suppress_preempt when detaching.Ryan Thomas McBride
ok pascoe@
2004-12-17rev 1.62Brad Smith
Possibloe fix for some bge chip revisions taking a long time to reset (e.g., polling for a half-second or more at splnet(), blocking most interrupts, durin an ifconfig down/ifconfig up). Appears to help for a 5704C rev A3, which is the only chip I've ever seen that had even a mild version of the reported problem. rev 1.61 Check for BGE_PCI_PCISTATE register failing to revert on reset. if it occurs, print a message indicating why the reset took so long. From NetBSD
2004-12-17add missing braces.Brad Smith
From FreeBSD
2004-12-16Fix logic botch in dmacomputeipl() introduced in rev 1.14.Miod Vallat
2004-12-16rev 1.71Brad Smith
* Set buffer management high water marks for MTU > 1514. * Set BGE_MAX_RX_FRAME_LOWAT (from Linux driver). rev 1.25 * Update onchip buffer tunables to recommended values from Linux drivers. * Increase Tx interrupt-coalescing thresholds, to reduce Tx-done interrupts. From NetBSD ok krw@
2004-12-16Make sure ifp->if_baudrate is valid when the parent's statchgBrad Smith
callback is made. From NetBSD
2004-12-16Delete VL/EISA cruft left over from ahc.Kenneth R Westerback