summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rather than using the cred from curthread, take it from the threadbz2009-01-091-5/+5
| | | | | | | referenced in the sysctl req argument. Reviewed by: rwatson MFC after: 2 weeks
* remove license ack requirement; this was never neededsam2009-01-091-1/+0
| | | | Reviewed by: core
* Fix a deadlock which can occur due to a pseudofs vnode not getting unlocked.marcus2009-01-091-0/+1
| | | | | | Reported by: Richard Todd <rmtodd@ichotolot.servalan.com> Reviewed by: kib Approved by: kib
* Restrict arp, ndp and theoretically the FIB listing (if notbz2009-01-093-2/+20
| | | | | | | | | | | | | | | | | read with libkvm) to the addresses of a prison, when inside a jail. [1] As the patch from the PR was pre-'new-arp', add checks to the llt_dump handlers as well. While touching RTM_GET in route_output(), consistently use curthread credentials rather than the creds from the socket there. [2] PR: kern/68189 Submitted by: Mark Delany <sxcg2-fuwxj@qmda.emu.st> [1] Discussed with: rwatson [2] Reviewed by: rwatson MFC after: 4 weeks
* example configurations for cross-building to Gateworks 2348 and 2358 boards;sam2009-01-099-0/+773
| | | | | | probably needs cleanups to be less specific to my needs/uses MFC after: 2 weeks
* Recognize et(4), igb(4), iwn(4), ixgbe(4) and nxge(4) devices.brueffer2009-01-091-1/+6
| | | | | | | | Correct some minor whitespace in the ae(4) entry. Reported by: Mars G Miro Approved by: rwatson (mentor) MFC after: 1 week
* Fix fat-fingered comment.adrian2009-01-091-1/+1
| | | | Noticed-by: julian
* Fix indentation; add FALLTHROUGH.adrian2009-01-091-3/+4
| | | | Thanks Max!
* Better comment what the socket option does. Thanks to Sam Leffleradrian2009-01-091-1/+2
| | | | for suggesting this.
* Comment some potentially confusing logic.adrian2009-01-091-0/+5
| | | | | | Nitpicking by: mlaier MFC after: 2 weeks
* Sort MLINKS.ru2009-01-091-21/+32
|
* Take the cred from curthread rather than curproc as curproc would needbz2009-01-091-3/+3
| | | | | | | locking but the credential from curthread (usually) never changes. Discussed with: jhb MFC after: 2 weeks
* Implement a new IP option (not compiled/enabled by default) to allowadrian2009-01-096-1/+37
| | | | | | | | | | | | | | | | | | | | | | applications to specify a non-local IP address when bind()'ing a socket to a local endpoint. This allows applications to spoof the client IP address of connections if (obviously!) they somehow are able to receive the traffic normally destined to said clients. This patch doesn't include any changes to ipfw or the bridging code to redirect the client traffic through the PCB checks so TCP gets a shot at it. The normal behaviour is that packets with a non-local destination IP address are not handled locally. This can be dealth with some IPFW hackery; modifications to IPFW to make this less hacky will occur in subsequent commmits. Thanks to Julian Elischer and others at Ironport. This work was approved and donated before Cisco acquired them. Obtained from: Julian Elischer and others MFC after: 2 weeks
* DEBUG_REDZONE needs DDB which needs KDB.brueffer2009-01-091-1/+3
| | | | | | PR: 130324 Submitted by: Jaakko Heinonen <jh@saunalahti.fi> MFC after: 3 days
* Make SIOCGIFADDR and related, as well as SIOCGIFADDR_IN6 and relatedbz2009-01-092-1/+13
| | | | | | | | | | | | | | | | jail-aware. Up to now we returned the first address of the interface for SIOCGIFADDR w/o an ifr_addr in the query. This caused problems for programs querying for an address but running inside a jail, as the address returned usually did not belong to the jail. Like for v6, if there was an ifr_addr given on v4, you could probe for more addresses on the interfaces that you were not allowed to see from inside a jail. Return an error (EADDRNOTAVAIL) in that case now unless the address is on the given interface and valid for the jail. PR: kern/114325 Reviewed by: rwatson MFC after: 4 weeks
* Check PCIE link status before accessing the bus.raj2009-01-091-0/+3
| | | | | Some 88F5182-based systems (Linkstation) have problems when PCIE is accessed without any peripherals present.
* Merge from vendor/bind9/dist as of the 9.4.3-P1 importdougb2009-01-096-12/+19
|
* Remove reference to no longer existing document.phk2009-01-091-5/+0
| | | | Spotted by: Bjoern Voigt <bjoern@cs.tu-berlin.de>
* Set a minimum of information in the routing message (like version and type)harti2009-01-091-0/+4
| | | | | so that generic routing message parsing code can parse the messages for L2 info that are retrieved via the sysctl interface.
* Rename Marvell ARM CPU specific file according to r186933.raj2009-01-093-2/+2
|
* Fix confusing naming of Marvell ARM CPU specific routines.raj2009-01-094-52/+52
| | | | | | | | | | - The contents of 'feroceon_cpufuncs' dispatch table was really dedicated for the new Sheeva CPU (in 88F6xxx and MV-78xxx SOCs), and NOT Feroceon. - Feroceon CPU (in 88F5xxx SOCs) appears as a regular ARM926EJ-S core and does not require dedicated routines. This will be accompanied by a file rename commit.
* Improve Marvell SOCs PCI/PCIE driver.raj2009-01-094-41/+110
| | | | | | | | | | | - Provide dedicated rmans for MEM and IO resources. - Convert PCI IRQ routing info into a table (from callback approach), provide config data for alternative DB- boards. - Fix a wrong boundary check error in pcib_mbus_init_bar() Obtained from: Semihalf
* Readd the Alcor Transcend device which is referenced in usb2/storage/umass2.c,thompsa2009-01-093-14/+57
| | | | regenerate the usb2 dev tables for the scanner additions while I am here.
* Note new fetch if-modified-since support in the userland section, andmurray2009-01-091-0/+7
| | | | | | update copyright to 2009. M article.sgml
* fix a typo to set the 48Mbps data rate.weongyo2009-01-091-2/+2
| | | | | | | PR: kern/130189 Submitted by: Paul B. Mahol <onemda_at_gmail.com> Reviewed by: sam MFC after: 3 weeks
* The description of the various securelevels has moved to thekeramida2009-01-081-2/+3
| | | | | | | security.7 manpage a while ago. MFC after: 1 week Noticed by: simon
* The description of the various securelevels has moved to thekeramida2009-01-081-1/+1
| | | | | | security.7 manpage a while ago. MFC after: 1 week
* Language cleanup.brueffer2009-01-081-4/+5
|
* Add external connector jack color into widget names.mav2009-01-081-4/+11
| | | | It should help users to identify them while reading verbose messages.
* Don't panic with "vinvalbuf: dirty bufs" when the mounted device that wastrasz2009-01-081-2/+18
| | | | | | | | being written to goes away. Reviewed by: kib, scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation
* Improve and extend Marvell SOCs platform code.raj2009-01-0812-72/+830
| | | | | | | | | | | | | | | - Allow for setting per platform MPP/GPIO configuration in the kernel, so that we can override all settings firmware might set. - Set decode windows for the remaining on-chip peripherals: CESA, SATA and XOR. - Improve handling of USB controllers so that all port are available on the given SOC/platform (e.g. up to three on DB-78xxx), this includes rework of USB decode windows set-up. - Other minor fixes and cosmetics. Obtained from: Semihalf
* Mark ng_vjc node as FORCE_WRITER to protect slcompress state.mav2009-01-081-0/+3
| | | | | | | I think it can be the reason of livelock in netgraph reported by some mpd users. MFC after: 3 days
* Improve the AT keyboard emulation of the ADB keyboard driver, by supportingnwhitehorn2009-01-081-15/+144
| | | | | | | an AT-like K_RAW mode instead of just K_CODE. This has the effect of making the arrow keys on ADB keyboards work in X11. Copied from: sunkbd(4)
* Make "kldunload atapicam" return EBUSY instead of deadlocking when a devicetrasz2009-01-083-1/+39
| | | | | | | | | | created by atapicam is being kept opened or mounted. This is probably just a temporary solution until we invent something better. Reviewed by: scottl Approved by: rwatson (mentor) Sponsored by: FreeBSD Foundation Reported by: Jaakko Heinonen
* TDMA support for long distance point-to-point links using ath devices:sam2009-01-0830-81/+1922
| | | | | | | | | | | | | | | o add net80211 support for a tdma vap that is built on top of the existing adhoc-demo support o add tdma scheduling of frame transmission to the ath driver; it's conceivable other devices might be capable of this too in which case they can make use of the 802.11 protocol additions etc. o add minor bits to user tools that need to know: ifconfig to setup and configure, new statistics in athstats, and new debug mask bits While the architecture can support >2 slots in a TDMA BSS the current design is intended (and tested) for only 2 slots. Sponsored by: Intel
* First cut at documenting hw.cam.cd.retry_count. Movedimp2009-01-081-38/+58
| | | | kern.cam.cd.%d.minimum_cmd_size to new SYSCTL VARIABLES section.
* Provide handler for USB controller error interrupts for Marvell EHCI device.raj2009-01-081-0/+76
| | | | Obtained from: Semihalf
* Minor style(9) corrections.raj2009-01-081-6/+6
|
* De-hard code UART speed setting for Marvell SOCs when hw.uart.console is notraj2009-01-081-1/+2
| | | | specified. Instead, let uart(4) fall back to whatever speed firmware has set.
* Adjust Marvell SOC support for A0 chip revision.raj2009-01-085-21/+87
| | | | | | | | | | - Clean up TCLK handling so that it's dynamically recognized depending on registers settings or chip version/revision. Update registers definitions. - Teach SOC ident routine about A0 (initial silicon version for general audience) Obtained from: Marvell, Semihalf
* Lock the uepm_lock around the autostart of extattrs.kib2009-01-081-15/+30
| | | | | | Reported and tested by: pho Reviewed by: rwatson MFC after: 3 weeks
* If unmount of the ffs mp failed, reinitialize the extended attributeskib2009-01-081-0/+14
| | | | | | | | for the mp, and restart them if autostart is enabled. Reported and tested by: pho Reviewed by: rwatson MFC after: 3 weeks
* Do not call namei() while having another user-controlled vnodekib2009-01-081-18/+31
| | | | | | | | | | | | | | | locked. Lookup could attempt to recursively lock that vnode. Do not call vn_start_write(V_WAIT) while vnode is locked, this may result in a deadlock with suspension. vfs_busy() the mountpoint before dropping vnode lock for vnode that was used to look up the mountpoint, to prevent unmount in between. Reported and tested by: pho Reviewed by: rwatson MFC after: 3 weeks
* Document that with r186854 we started using KMODOWN/KMODGRPbz2009-01-081-2/+2
| | | | | | | for the kernel as well and no longer only for modules. Reviewed by: kib, antoine MFC after: 26 days
* Handle mge(4) chip revision differences at run-time rather then compile time,raj2009-01-082-52/+90
| | | | | | | which is more flexible for future revisions, and lets eliminate some #defines and compile conditionals. Obtained from: Semihalf
* cam: Retry TEST UNIT READY command if not successful.raj2009-01-081-1/+8
| | | | | | | | | | | | | | | | | | | | This fixes problems with discovering some USB devices that are very slow to respond during initialisation. When a USB device is inserted, CAM performs the sequence: 1) INQUIRY 2) INQUIRY (second time with other parameters) 3) TEST UNIT READY 4) READ CAPACITY Before this change CAM didn't check if TEST UNIT READY was successful and went on blindly to the next state and sent READ CAPACITY. If the device was still not ready by then, CAM ended with error message. This patch adds checking for the status of TEST UNIT READY command and retrying up to 10 times with 0.5 sec interval. Submitted by: Grzegorz Bernacki gjb ! semihalf dot com Reviewed by: scottl
* Set the error indicator on an attempt to write to a read-only stream.das2009-01-081-0/+1
| | | | | PR: 127335 MFC after: 2 weeks
* Fix the types of INFINITY and NAN, which were broken in r131851. Theydas2009-01-081-2/+2
| | | | | | | | should both be floats, not doubles. PR: 127795 Submitted by: Christoph Mallon MFC after: 2 weeks
* Make ufoma2 driver work.takawata2009-01-082-2/+144
| | | | | | | | | 1.Sync TD on close to ensure USB request in close callback issued. 2.Add sysctls to indicate device role. 3.Enable handsfree port support. Now modem port and obex port works well. Handsfree port works but not with good response.
* Always check whether dma map is valid before unloading the map.yongari2009-01-081-1/+2
| | | | | When fxp(4) intializes Rx buffers for the first time, there is no loaded dma map so attempting to unload it is an invalid operation.
OpenPOWER on IntegriCloud