summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* - Cleanup i8251 related defines.nyan2008-09-073-82/+133
| | | | - Move i8255 related defines into a separate file.
* make all checks if ni_chw consistentsam2008-09-062-2/+2
|
* use c99 syntax for initializers; this silencessam2008-09-061-99/+95
| | | | warnings with picky compiler settings
* only return the negotiated ampdu density for sta modesam2008-09-061-1/+2
|
* o kill IEEE80211_NODE_PSUPDATE; it was never usedsam2008-09-062-9/+5
| | | | | o kill IEEE80211_NODE_CHWUPDATE; it's use was pointless and it was defined wrong (overlap w/ existing flags)
* put back placeholder commentsam2008-09-061-0/+1
|
* o validate the ba policy in addba responsesam2008-09-062-2/+29
| | | | | o leave a check for the max ba window disabled; we accept out of range values and just truncate them but may want to act differently in the future
* add IEEE80211_NODE_HT_ALL to collect up all the HT-related node flagssam2008-09-062-2/+4
|
* don't do ampdu reordering of fragments; they should never happensam2008-09-061-1/+15
|
* moreve the aggregation q; it's not being used andsam2008-09-063-12/+0
| | | | there's a better way to do this
* Lock vnode exclusively around insmntque().pjd2008-09-062-10/+7
|
* o show key indices w/o adjustmentsam2008-09-061-7/+11
| | | | o display all key flags symbolically
* purge ni_reqcw; not used and never will besam2008-09-062-3/+2
|
* o fix BAR definitionssam2008-09-061-3/+15
| | | | o add 11e reason codes
* fix age calculations (yet again); entries in the q have valuessam2008-09-061-1/+1
| | | | | | relative to the head MFC after: 3 days
* Export the IPFW_DEFAULT_RULE outside ip_fw2.c. This number in not onlyrik2008-09-062-1/+7
| | | | | | | | | | the default rule number but also the maximum rule number. User space software such as ipfw and natd should be aware of its value. The software that already includes ip_fw.h should use the defined value. All other a expected to use sysctl (as discussed on net@). MFC after: 5 days. Discussed on: net@
* Small style(9) nit in <sys/termios.h>.ed2008-09-061-71/+71
| | | | | There are a lot of places where we do "#define<space>" instead of "#define<tab>". Clean this up a little.
* Make TIOCCONS use priv_check() instead of checking /dev/console permissions.ed2008-09-061-35/+8
| | | | | | | | | | | | | As discussed with Robert on IRC, checking the permissions on /dev/console to see if we can call TIOCCONS could be unreliable. When we run a chroot() without a devfs instance mounted inside, it won't actually check the permissions on the device node inside the devfs instance. Using the already existing PRIV_TTY_CONSOLE for this seems like a better idea. Approved by: rwatson
* Read ethernet address from ID registers for RTL8102E/RTL8102EL asyongari2008-09-061-1/+2
| | | | | | | reading from EEPROM doesn't seem to work on these controllers. Reported by: Milan Obuch ( freebsd-net at dino dot sk ) Tested by: Milan Obuch ( freebsd-net at dino dot sk )
* Turn some lame pseudo-code into a less lame comment.imp2008-09-051-8/+1
|
* Kill bogus #if 0'd stuff for interrupts. They don't happen, and thisimp2008-09-051-16/+0
| | | | | | | driver will need more serious help to work with an interrupt driven path. There's many subtleties in driving the DMA engine with interrupts in many configurations. Best to not "guess" what the right way would be and mislead people.
* Kill vestiges of the special case code we once had in place for usbimp2008-09-051-12/+2
| | | | | | memory allocation. It was change to include the range in the normal memory area, so these ifdef'd out special cases are no longer useful to keep around.
* Merge ath again (addition of wisoc files).rpaulo2008-09-053-0/+4829
|\
| * Flatten the vendor-sys/ath tree for future imports.rpaulo2008-08-2782-137923/+0
| |
| * Workaround the detect-merge-conflicts.sh script and 's/^======$/&='.rpaulo2008-08-271-1/+1
| |
* | Kill bogus #if 1. There's no need for it since usb works these days.imp2008-09-051-2/+0
| |
* | Be consistent about whether these multi-lined macros are separated byjulian2008-09-051-0/+2
| | | | | | | | | | a blank line. Some were, some weren't. Decide in favour of the line as it matches what an inline would do, and it's easier to read.
* | Keep track of the active buffer on output. For the moment, panic ifimp2008-09-052-0/+5
| | | | | | | | | | | | | | | | | | | | the device indicates that it wasn't able to write all the data in the buffer out. Ed Schouten doesn't like the idea of a panic here. I think for production code, we need something better. For right now, while we're trying to assess the impact of this issue, a panic is OK. So complain to me, not him if this is hit.
* | Sort products numerically.imp2008-09-051-1/+1
| |
* | Fix build.rpaulo2008-09-051-2/+2
| |
* | Keep entries sorted.rpaulo2008-09-053-3/+3
| |
* | Add a couple more Apple GPT entries and NetBSD GPT entries.rpaulo2008-09-051-0/+21
| |
* | Include the vendor in the partition name.rpaulo2008-09-051-1/+1
| |
* | Fix a small typo in a comment in calcru1().ed2008-09-051-1/+1
| | | | | | | | | | | | The word "happene" should read "happened". Submitted by: Jille Timmermans <jille quis cx>
* | Correct a copy-paste error---do not look for REX prefixes in i386 code.jkoshy2008-09-051-2/+2
| |
* | Merge fix for P4 expansion from vendor branch.rpaulo2008-09-051-1/+1
| |
* | Detect Apple HFS GPT slices.rpaulo2008-09-053-1/+9
| |
* | Add ZyXEL G-202weongyo2008-09-052-0/+2
| | | | | | | | Obtained from: OpenBSD
* | Fix LOR between vnode lock and internal mqueue locks.davidxu2008-09-051-41/+72
| |
* | Catch up after last insmntque() changes:pjd2008-09-053-0/+11
| | | | | | | | | | | | | | | | | | | | - The vnode has to be locked exclusively before calling insmntque(). - Until I find a way to handle insmntque() failures use VV_FORCEINSMQ flag to force insmntque() to always succeed. Reported by: kris, trasz, des, others Suggested by: kib Tested by: trasz
* | Remove the alignment of the align parameter. This is up to the caller to passthompsa2008-09-051-3/+1
| | | | | | | | | | | | | | | | | | in and it breaks tap(4) on strict alignment machines as m_uiotombuf is called with ETHER_ALIGN. Found by: Jared Go Reviewed by: emax MFC after: 3 days
* | Fix lock name conflict.davidxu2008-09-051-1/+1
| | | | | | | | PR: kern/127040
* | Slightly reword comment and remove typos.keramida2008-09-051-3/+3
| |
* | When determining whether we trapped while in the PROM don't onlymarius2008-09-041-0/+4
| | | | | | | | check for addresses below the PROM range but also those above.
* | Use the PROM provided SUNW,set-trap-table to take over the trapmarius2008-09-043-0/+35
| | | | | | | | | | | | | | | | | | | | table. This is required in order to set obp-control-relinquished within the PROM, allowing to safely read the OFW translations node. Without this, f.e. a `ofwdump -ap` triggers a fatal reset error or worse things on machines based on USIII and beyond. In theory this should allow to remove touching %tba in cpu_setregs(), in practice we seem to currently face a chicken and egg problem when doing so however.
* | Ensure the caches have the desired configuration (see especiallymarius2008-09-042-0/+2
| | | | | | | | cheetah_cache_enable()).
* | Flesh out MMU and cache handling of cheetah-class CPUs.marius2008-09-046-7/+171
| |
* | The physical address space of cheetah-class CPUs has been extendedmarius2008-09-042-5/+17
| | | | | | | | | | | | | | | | | | | | to 43 bits so update TD_PA_BITS accordingly. For the most part this increase is transparent to the existing code except for when reading the physical address from ASI_{D,I}TLB_DATA_ACCESS_REG, which we only do in the loader and which was already adjusted in r182478, or from the OFW translations node. While at it, ensure we are only taking valid OFW mapping entries into account.
* | Ensure interrupts are off while in {d,i}tlb_va_to_pa_sun4u().marius2008-09-041-2/+10
| | | | | | | | | | I think this is necessary in order to make sure the workarounds in {d,i}tlb_get_data_sun4u() work correctly.
* | style(9)obrien2008-09-041-49/+44
| |
OpenPOWER on IntegriCloud