summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* tsec(4): do not clear interrupt events register before use.raj2009-02-171-2/+2
| | | | | | | | | Prior to this fix, IEVENT register was always cleared before calling tsec_error_intr_locked(), which prevented error recovery actions from happening with polling enabled (and could lead to serious problems, including controller hang). Submitted by: Marcin Ligenza marcinl ! pacomp dot com dot pl
* Handle mbuf exhaustion scenario in tsec(4).raj2009-02-171-1/+6
| | | | | | Without this fix the system would hang under heavy networking load. Submitted by: Leon Theunissen leon ! parsec dot co dot za
* tsec(4) style improvements and clean-up.raj2009-02-173-73/+80
|
* Additional features for the tsec(4) Ethernet driver.raj2009-02-175-133/+777
| | | | | | | | | | | | | | - interrupt coalescing - polling - jumbo frames - multicast - VLAN tagging The enhanced version of the chip (eTSEC) can also take advantage of: - TCP/IP checksum calculation h/w offloading Obtained from: Freescale, Semihalf
* Remove gpt_offset and related code. It was introduced for usemarcel2009-02-172-26/+0
| | | | | by the BSD scheme, ended up not to be needed. Remove to avoid abuse and to keep the bloat to a minimum.
* Synopsis:sbruno2009-02-171-6/+55
| | | | | | | | | | | | | | | | | | | | | | | | | If speed of link between two devices is slower than the reported max speed of both endpoints, the current driver will fail and be unable to negotiate. Summary: Test negotiated speed by reading the CSRROM into a dummy variable. If that read fails, decrement our speed and retry. If all else fails, go to lowest speed possible(0). Report speed to the user. Add display of the Bus Info Block when debug.firewire_debug > 1 Support the Bus Info Block(1394a-2000) method of speed detection. I also should note that I am moving "hold_count" to 0 for future releases. This variable determines how many bus resets to "hold" a removed firewire device before deletion. I don't feel this is useful and will probably drop support for this sysctl in the future. Reviewed by: scottl(mentor) MFC after: 2 weeks
* Hold off root mounting until we've gone through the loop of our threadimp2009-02-173-0/+11
| | | | | | | almost once. After we've configured the devices that were present the first time through, then we know that we're done. If the device has other devices that are deferred, then it must do a similar dance. This catches both PC Cards and CardBus cards.
* Make core dumping to ad not to freeze even if interrupts, not disabledmav2009-02-161-1/+1
| | | | for some reason, stealing our events.
* Include Marvell EHCI HC driver for USB2.marcel2009-02-161-0/+1
|
* The streams ptm code is pretty awful and likely incorrect. I don't knowed2009-02-161-0/+2
| | | | | anything about streams, so I'm not going to fix it. Just a small comment to redirect folks to posix_openpt().
* Give atapci knowledge about set of implemented AHCI ports. It is possiblemav2009-02-163-6/+6
| | | | | | to not allocate them after the recent ata channels enumeration changes. It allows to save some resources, not bother user with unexisting hardware and not check unimplemented ports status on every interrupt.
* GCC attacks!scottl2009-02-161-1/+2
|
* Fix a logic bug that caused the pfs_attr method to be called only fordes2009-02-162-8/+11
| | | | | | | PFS_PROCDEP nodes. Submitted by: Andrew Brampton <brampton@gmail.com> MFC after: 2 weeks
* correct some #includeluigi2009-02-162-3/+2
|
* we need if_var.h not if.hluigi2009-02-161-1/+1
|
* remove unnecessary forward declarationluigi2009-02-161-2/+0
|
* remove dependency on eventhandler.h, we only need a forward declarationluigi2009-02-161-1/+2
|
* remove dependency on net/if.h of this headerluigi2009-02-161-0/+1
|
* Fix parallel SCSI negotiation in the CAM_NEW_TRAN_CODE world order.scottl2009-02-161-4/+3
| | | | | Overzealous sanity checks were locking the sync_rate and offset values to zero, thanks to a twisty maze of recursive code.
* Instrument the probe state machine so that things like DV can be tracked.scottl2009-02-161-18/+55
|
* use a const format string in the log message so we can check theluigi2009-02-161-6/+11
| | | | arguments (if/when we enable those checks)
* IFF_NEEDSGIANT will no longer be supported, so remove compatibility coderwatson2009-02-161-35/+12
| | | | from if_sppp framework for interfaces requiring Giant.
* Add support to add, delete and modify logical partitions, as wellmarcel2009-02-161-6/+251
| | | | | as to create and destroy the extended partitioning scheme. In other words: full support.
* Add a helper function for loading geli keys from the loader.thompsa2009-02-162-1/+50
|
* Add uslcom to the build too.thompsa2009-02-157-0/+7
| | | | Reminded by: Michael Butler
* Make uslcom compile, cut'n'paste errors from uplcom.thompsa2009-02-151-7/+7
|
* Remove debug.ce.mpsafenet: we no longer support running the networkrwatson2009-02-151-41/+7
| | | | | stack with conditional Giant acquisition, and IFF_NEEDSGIANT will be removed in the near future.
* Remove debug.ctau.mpsafenet: we no longer support running the networkrwatson2009-02-151-29/+7
| | | | | stack with conditional Giant acquisition, and IFF_NEEDSGIANT will be removed in the near future.
* Remove debug.cp.mpsafenet: we no longer support running the networkrwatson2009-02-151-30/+7
| | | | | stack with conditional Giant acquisition, and IFF_NEEDSGIANT will be removed in the near future.
* Switch over GENERIC kernels to USB2 by default.thompsa2009-02-157-110/+482
| | | | Tested by: make universe
* Add method precheck to the g_part interface. The precheckmarcel2009-02-153-20/+43
| | | | | | | | | | | | | | | | | | | | | method allows schemes to reject the ctl request, pre-check the parameters and/or modify/set parameters. There are 2 use cases that triggered the addition: 1. When implementing a R/O scheme, deletes will still happen to the in-memory representation. The scheme is not involved in that operation. The pre-check method can be used to fail the delete up-front. Without this the write to disk will typically fail, but at that time the delete already happened. 2. The EBR scheme uses a linked list to record slices. There's no index. The EBR scheme defines the index as a function of the start LBA of the partition. The add verb picks an index for the range and then invokes the add method of the scheme to fill in the blanks. It is too late for the add method to change the index. The pre-check is used to set the index up-front. This also (silently) overrides/nullifies any (pointless) user-specified index value.
* Remove unneeded AND operation. We have already checked that bit is set.mav2009-02-151-1/+1
|
* Enable MSI support by default. Still can be disabled using device.hints.mav2009-02-151-18/+5
|
* Add initial single-vector MSI support into atapci driver.mav2009-02-152-4/+15
| | | | | | | Works fine with AHCI and theoretically other MSI capable devices. At this moment support disabled by default. To enable it, set "hint.atapci.X.msi=1" device hint.
* Pull in kbd.c with usb2_input_kbd, just like ukbd.thompsa2009-02-155-5/+5
|
* It appears that none of the contents of this file are necessary, soimp2009-02-151-101/+1
| | | | replace the amd64-ish version with a blank version.
* Removal pccard directory requires removing it from the list of thingsimp2009-02-151-1/+1
| | | | | | | that get installed too. <blush> Submitted by: Olivier Smedts (identical patches to what I came up with before checking email)
* Make dumper_t definition conform more closely to stlye(9). This alsoimp2009-02-151-5/+5
| | | | | | avoid keywords in other languages that may have been present before. Submitted by: Andriy Gapon, jkoshy@
* Add workaround for some ATI chips, failing to soft-resetmav2009-02-151-5/+12
| | | | when port multiplicator supported, but absent.
* Add SATA and PCI Advanced Features capabilities constants.mav2009-02-151-0/+11
|
* - fix formattingkmacy2009-02-151-68/+25
| | | | - fix types in ticks_to_system_time
* Actually include geom_part_ebr.c when options GEOM_PART_EBR ismarcel2009-02-151-0/+1
| | | | | | present. Pointy hat: marcel
* This directory is no logner needed after copy to usr.sbin/dumpcis.imp2009-02-152-484/+0
|
* Remove stray __P()imp2009-02-151-1/+1
|
* remove unnecessary #include from vnet.h and vinet.hluigi2009-02-152-9/+0
| | | | Approved by: Marko Zec
* MFp4 //depot/projects/usb@157699thompsa2009-02-142-58/+48
| | | | | | | | | | | | | | | | Add two new functions to the libusb20 API and required kernel ioctls. - libusb20_dev_get_iface_desc - libusb20_dev_get_info New command to usbconfig, "show_ifdrv", which will print out the kernel driver attached to the given USB device aswell. See "man libusb20" for a detailed description. Some minor style corrections long-line wrapping. Submitted by: Hans Petter Selasky
* Tunes to AHCI reset sequences:mav2009-02-141-34/+71
| | | | | | | | | | | | | | - specification claims that 1 second is just a maximum controller reset time; implement controller reset properly to save almost 1 second of boot, and about half second of resume time; - enable channel interrupts only after channel status reset to fix duplicate device creation on resume due to unwanted device connection event; - as described in specification, wait for disk ready status after channel power-up; it is not so important when disk already touched by BIOS, but solves device not ready problems on resume and probably some other cases. - uncomment channel stop/start on soft-reset as it is declared mandatory by specification; it was commented due to some random drive detection problems on VIA and JMicron controllers, but I hope it is fixed by previous point.
* - ieee80211_chan2ieee returns an intthompsa2009-02-142-30/+74
| | | | | | | - avoid null deref in detach - update pause timings Obtained from: //depot/projects/usb
* Remove unnecessary page queues locking around vm_page_wakeup().alc2009-02-141-2/+0
| | | | Approved by: kmacy
* Remove the printf's when the vnode to be exported for procstat is not a VDIR.marcus2009-02-141-4/+0
| | | | | | | | | If the file system backing a process' cwd is removed, and procstat -f PID is called, then these messages would have been printed. The extra verbosity is not required in this situation. Requested by: kib Approved by: kib
OpenPOWER on IntegriCloud