summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add hack to pass controller specific information to phy driver.yongari2009-09-284-15/+52
| | | | | | | | | Unlike most other PHYs there is no easy way to know which media type the PHY supports on Marvell PHYs. MIIF_HAVEFIBER flags is now passed via bus-specific instance variable of a device. While I'm here add 88E1112 specific work around to set SIGDET polarity low. Many thanks "Eugene Perevyazko <john <> dnepro dot net>" who kindly gave remote access to system with DGE-560SX.
* Fix MIB statistics clear routine. This should fix alignment errors on sparc64.yongari2009-09-281-1/+1
| | | | Reported by: Garrett Damore < gdamore <> opensolaris dot org >
* Some fiber PHY(88E1112) does not seem to set resolved speed soyongari2009-09-281-2/+5
| | | | always assume we've got IFM_1000_SX.
* Don't encode model id twice.yongari2009-09-281-1/+1
| | | | Reported by: Kristof Provost <kristof <> sigsegv dot be>
* It seems some 82559ER controllers do not support Rx checksumyongari2009-09-281-2/+5
| | | | | | | | | offloading. Datasheet said nothing about the limitation of 82559ER except WOL. Explicitly disable Rx checksum offloading for controllers that is known to lack the capability. PR: kern/138135 Tested by: Gooderum, Mark < mgooderum <> websense dot com >
* Remove unnecessary device reinitialization.yongari2009-09-281-2/+14
|
* Set the prison in NFS anon and GSS SVC creds (as I indended to in r197581).jamie2009-09-281-0/+2
| | | | Reviewed by: marcel
* Back out r197581, which replaced this file witk sys/kern/vfs_export.c.jamie2009-09-281-369/+1363
| | | | | | | | Who knew that "svn export" was an actual command, or that I would have vfs_export.c stuck in my mind deep enough to type "export" instead of "commit"? Pointy Hat to: jamie
* Set the prison in NFS anon and GSS SVC creds.jamie2009-09-282-1363/+374
| | | | | Reviewed by: marcel MFC after: 3 days
* Temporarily disable the use of 1GB page mappings by the direct map. Therealc2009-09-281-2/+2
| | | | | | | | | | | | are currently two problems with the use of 1GB page mappings by the direct map. First, at least one device driver uses pmap_extract() rather than DMAP_TO_PHYS() to translate a direct map address to a physical address. Unfortunately, neither pmap_extract() nor pmap_kextract() yet support 1GB page mappings. Second, pmap_bootstrap() needs to interrogate the MTRRs to ensure that a 1GB page mapping doesn't span two MTRRs of different types. Reported and tested by: Daniel O'Connor MFC after: 3 days
* Add two new fcntls to enable/disable read-ahead:delphij2009-09-284-3/+71
| | | | | | | | | | | | | | | | | | | | - F_READAHEAD: specify the amount for sequential access. The amount is specified in bytes and is rounded up to nearest block size. - F_RDAHEAD: Darwin compatible version that use 128KB as the sequential access size. A third argument of zero disables the read-ahead behavior. Please note that the read-ahead amount is also constrainted by sysctl variable, vfs.read_max, which may need to be raised in order to better utilize this feature. Thanks Igor Sysoev for proposing the feature and submitting the original version, and kib@ for his valuable comments. Submitted by: Igor Sysoev <is rambler-co ru> Reviewed by: kib@ MFC after: 1 month
* Use correct sizeof() object for klist 'list'. Currently, struct klistdelphij2009-09-281-4/+4
| | | | | | | | | contained only SLIST_HEAD as its member, thus sizeof(struct klist) would equal to sizeof(struct klist *), so this change makes the code more correct in terms of semantics, but should be a no-op to compiler at this time. Reported by: MQ <antinvidia at gmail com>
* Fixed a markup bug.ru2009-09-281-1/+1
|
* Add back endpoint swap detection that was disabled in an earlier driverthompsa2009-09-281-10/+33
| | | | | | conversion. Submitted by: Hans Petter Selasky
* Add new FTDI IDs.thompsa2009-09-281-0/+3
| | | | Submitted by: Maks Verver, Arrigo Marchiori
* Use a 2 clause BSD-style license instead of stating the code as publicdelphij2009-09-282-4/+49
| | | | domain, as requested by core@ and reviewed by the author.
* Add experimental support for usb serial console and polled mode during DDB.thompsa2009-09-2818-8/+445
| | | | Submitted by: Hans Petter Selasky
* Add a config number quirk for the ELSA_MODEM1thompsa2009-09-281-0/+1
| | | | Submitted by: Stefan Bethke
* add more device IDsthompsa2009-09-281-0/+3
| | | | | Reported by: Mike Tancsa Submitted by: Hans Petter Selasky
* Allow setting of MAC address for AXE based ethernet adapters.thompsa2009-09-281-4/+5
| | | | Submitted by: yongari
* Increase the rx buffer size to 16384 bytes, this increases RX performance fromthompsa2009-09-281-29/+26
| | | | | | 50Mbps to 220Mbps on PLANEX GU-1000T. Submitted by: yongari
* - Remove SAMSUNG_YP_U2 now that it is in the cam layerthompsa2009-09-281-4/+4
| | | | | | - Add quirk from Tobias Grosser for Western Mypassword Submitted by: Hans Petter Selasky
* MFp4thompsa2009-09-281-0/+10
| | | | Add new usbdev entries for Marvell, FTDI, Option and Western.
* Add basic support for USB Network Control Model (NCM) v1.0 to if_cdce.c.thompsa2009-09-284-29/+697
| | | | | | http://www.usb.org/developers/devclass_docs/NCM10.zip Submitted by: Hans Petter Selasky
* Add extra safety locking when clobbering xfer->flags_int.started in start andthompsa2009-09-281-7/+21
| | | | | | | stop functions, because xfer->flags_int is also updated by the USB controller, under the controller lock. Submitted by: Hans Petter Selasky
* Correct buffer sizes used so that they match. The old code could give thethompsa2009-09-281-2/+3
| | | | | | | impression that a overflow situation existed but was not possible. Reported by: kib Submitted by: Hans Petter Selasky
* Static'ify internal methods and use prototype.delphij2009-09-281-20/+20
|
* Add support for USB language selection.thompsa2009-09-282-22/+68
| | | | | | PR: usb/138563 Reported by: Bruce Cran Submitted by: Hans Petter Selasky
* Fix NULL-pointer dereference in usb_endpoint_foreach().thompsa2009-09-281-1/+3
| | | | | PR: usb/138389 Submitted by: Patroklos Argyroudis at census, inc
* Add support for ChipHead 341 serial port adapter.thompsa2009-09-284-3/+561
| | | | Submitted by: Hans Petter Selasky
* Clear all interrupts rather than just SETUP packet.thompsa2009-09-281-2/+2
| | | | Submitted by: Hans Petter Selasky
* Simplify logic around setting EHCI_QH_DTC and expand some htohc32(temp.sc, 0)thompsa2009-09-281-19/+15
| | | | | | statements to zero. Submitted by: Hans Petter Selasky
* Import two PCI quirks from Linuxthompsa2009-09-281-0/+70
| | | | | | | | - Add quirk for ATI SB600 and SB700 to free SMB controller - Correct schedule sleep time to 10us on the VIA ehci controller Reported by: Dorian B<FC>ttner, Andriy Gapon Submitted by: Hans Petter Selasky
* MFp4 @ 168387thompsa2009-09-285-47/+59
| | | | | | | | | | | | | | | | - clean up USB detach logic. There seems to be some problems detaching multiple USB HUBs connected in series from the root. - after this patch the rule is: 1) Always use device_detach() on the USB HUB first. 2) Never just device_delete_child() on the USB HUB, because that function will traverse to all the device leaves and free them first, and then the USB stack will free the devices twice which doesn't work very well. - make sure the did DMA delay gets set after the timeout has elapsed to make logic more clear. There is no functional difference. Submitted by: Hans Petter Selasky
* Silence warning printed by getfsspec(3) when /etc/fstab does not existcperciva2009-09-282-0/+6
| | | | | | | | | | | fstab: /etc/fstab:0: No such file or directory and from dump(8) when setfsent(3) fails due to /etc/fstab not existing: DUMP: Can't open /etc/fstab for dump table information: No such... This makes daily and security periodic runs somewhat cleaner in jails which lack /etc/fstab files. MFC after: 1 month
* Fethch more information from IDENTIFY result.mav2009-09-271-15/+48
|
* - Add share/nls/gl_ES.ISO8859-1, which I forgot in my last commitgabor2009-09-271-0/+2
| | | | Submitted by: Andrzej Tobola <ato@iem.pw.edu.pl> (via private mail)
* Add a simple C program to check mmap calls to various different addresses.bz2009-09-272-0/+102
| | | | | | | | | | The most important test is the mapping fixed at address 0 depending on the new sysctl. Things will be updated and possibly converted to m4/.t style once the details about the kernel patch will be shaken out. Submitted by: simon (initial version)
* - When we run our trap cleanup handler, echo that we are running thissimon2009-09-271-1/+4
| | | | | | | | | | handler to make it more clear why we are 'suddenly' running df, umount, and mdconfig. - Remove trap handler again after we have unconfigured the memory device etc. Before we could end up running the trap handler if a later stage failed, which was a bit confusing and not really useful. MFC after: 2 weeks
* Report SATA 3.x devices.mav2009-09-271-1/+3
|
* Add more defines from recent and not only specs.mav2009-09-271-10/+56
|
* Add support for VT200-style mouse input.ed2009-09-276-9/+72
| | | | | | | | | | | | | | | | | | | Right now if applications want to use the mouse on the command line, they use sysmouse(4) and install a signal handler in the kernel to deliver signals when mouse events arrive. This conflicts with my plan to change to TERM=xterm, so implement proper VT200-style mouse input. Because mouse input is now streamed through the TTY, it means you can now SSH to another system on the console and use the mouse there as well. The disadvantage of the VT200 mouse protocol, is that it doesn't seem to generate events when moving the cursor. Only when pressing and releasing mouse buttons. There are different protocols as well, but this one seems to be most commonly supported. Reported by: Paul B. Mahol <onemda gmail com> Tested with: vim(1)
* Do not allow mmap with the MAP_FIXED argument to map at address zero.simon2009-09-271-1/+18
| | | | | | | | | | | | | | | | | This is done to make it harder to exploit kernel NULL pointer security vulnerabilities. While this of course does not fix vulnerabilities, it does mitigate their impact. Note that this may break some applications, most likely emulators or similar, which for one reason or another require mapping memory at zero. This restriction can be disabled with the security.bsd.mmap_zero sysctl variable. Discussed with: rwatson, bz Tested by: bz (Wine), simon (VirtualBox) Submitted by: jhb
* Copy apm(4) emulation from sys/i386/acpica/acpi_machdep.c andjkim2009-09-276-22/+723
| | | | install apm(8) and apm_bios.h on amd64.
* Add '#define NFSCLIENT' into opt_nfs.h if the NFSCLIENT variable is 1nyan2009-09-271-0/+7
| | | | | | | | | (the default is 1). This makes the nfslockd module works for NFS client. Reviewed by: dfr MFC after: 3 days
* - Add Galician NLS cataloggabor2009-09-272-0/+250
|
* printerr_reply() has never been used for as long as we've had this code indes2009-09-261-31/+12
| | | | | our tree (13+ years). This is an excellent argument for aggressive use of "static".
* Use ipv6if() when $rtadvd_interfaces="AUTO".hrs2009-09-261-1/+4
|
* Move rc.d/{stf,faith} to just before rc.d/routing.hrs2009-09-262-2/+2
| | | | Pointed out by: tegge
* Fix several logic bugs in the previous IPv6 variable change andhrs2009-09-266-31/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | re-add $ipv6_enable support for backward compatibility. From UPDATING: 1. To use IPv6, simply define $ifconfig_IF_ipv6 like $ifconfig_IF for IPv4. For aliases, $ifconfig_IF_aliasN should be used. Note that both variables need the "inet6" keyword at the head. Do not set $ipv6_network_interfaces manually if you do not understand what you are doing. It is not needed in most cases. $ipv6_ifconfig_IF and $ipv6_ifconfig_IF_aliasN still work, but they are obsolete. 2. $ipv6_enable is obsolete. Use $ipv6_prefer and/or "inet6 accept_rtadv" keyword in ifconfig(8) instead. If you define $ipv6_enable=YES, it means $ipv6_prefer=YES and all configured interfaces have "inet6 accept_rtadv" in the $ifconfig_IF_ipv6. These are for backward compatibility. 3. A new variable $ipv6_prefer has been added. If NO, IPv6 functionality of interfaces with no corresponding $ifconfig_IF_ipv6 is disabled by using "inet6 ifdisabled" flag, and the default address selection policy of ip6addrctl(8) is the IPv4-preferred one (see rc.d/ip6addrctl for more details). Note that if you want to configure IPv6 functionality on the disabled interfaces after boot, first you need to clear the flag by using ifconfig(8) like: ifconfig em0 inet6 -ifdisabled If YES, the default address selection policy is set as IPv6-preferred. The default value of $ipv6_prefer is NO. 4. If your system need to receive Router Advertisement messages, define "inet6 accept_rtadv" in $ifconfig_IF_ipv6. The rc(8) scripts automatically invoke rtsol(8) when the interface becomes UP. The Router Advertisement messages are used for SLAAC (State-Less Address AutoConfiguration).
OpenPOWER on IntegriCloud