summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a overhaul of the soundchip initialization for the MSP34xx chipsetsalex2003-08-1210-2/+1346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | found only many tv-cards. We currently use more ore less evil hacks (slow_msp_audio sysctl) to configure the various variants of these chips in order to have stereo autodetection work. Nevertheless, this doesn't always work even though it _should_, according to the specs. This is, for example, the case for some popular Hauppauge models sold sold in Germany. However, the Linux driver always worked for me and others. Looking at the sourcecode you will find that the linux-driver uses a very much enhanced approach to program the various msp34xx chipset variants, which is also found in the specs for these chips. This is a port of the Linux MSP34xx code, written by Gerd Knorr <kraxel@bytesex.org>, who agreed to re-release his code under a BSD license for this port. A new config option "BKTR_NEW_MSP34XX_DRIVER" is added, which is required to enable the new driver. Otherwise the old code is used. The msp34xx.c file is diff-reduced to the linux-driver to make later modifications easier, thus it doesn't follow style(9) in most cases. Approved by: roger (committing this, no time to test/review), keichii (code review)
* Extend identifycpu():marcel2003-08-121-17/+36
| | | | | | | | | | | | | | | | o Differentiate between CPU family and CPU model. There are multiple Itanium 2 models and it's nice to differentiate between them. o Seperately export the CPU family and CPU model with sysctl. o Merced is the only model in the Itanium family. o Add Madison to the Itanium 2 family. We already knew about McKinley. o Print the CPU family between parenthesis, like we do with the i386 CPU class. My prototype now identifies itself as: CPU: Merced (800.03-Mhz Itanium) pluto1 and pluto2 will eventually identify themselves as: CPU: McKinley (900.00-Mhz Itanium 2)
* Correctly set current tcb. This fixes some IA64/KSE problems.davidxu2003-08-122-34/+22
| | | | Reviewed by: deischen, julian
* Fix the busdma support in twe to support EINPROGRESS and enable it forps2003-08-125-112/+249
| | | | use with PAE kernels.
* Add support for the Broadcom BCM5901 and BCM5901 rev A2 chips.wpaul2003-08-123-5/+31
| | | | | | | | These are 10/100 only NICs found on the IBM Thinkpad R40E and G40. These seem to be based on the BCM5705 MAC but with a PHY that doesn't support 1000Mbps modes. Submitted by: Igor Sviridov <sia@nest.org>
* This commit was generated by cvs2svn to compensate for changes in r118812,njl2003-08-121-2/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix a few more s/UINT32/ACPI_SIZE issues. iasl and acpidb now build onnjl2003-08-121-2/+2
| | | | | | | | | | | | | | ia64. Tested on: pluto2 Pointed out by: tinderbox
* | Cleanup prototypes in cpu.h, including fswintrberr and any referencesmarcel2003-08-124-47/+8
| | | | | | | | | | | | to it. Sort the remaining prototypes in cpu.h. No functional change.
* | New release note: twe(4) 3ware generic API (+MFC).bmah2003-08-122-2/+6
| | | | | | | | MFC noted: USB/Firewire quirks.
* | Enable dc(4) entries for sparc64. Add fatm(4), hatm(4), patm(4)bmah2003-08-122-20/+32
| | | | | | | | entries as appropriate.
* | New release notes: swap_pager changes, ng_atmpif(4).bmah2003-08-122-4/+46
| | | | | | | | Modified release notes: locale(1) -m, -march=pentium4 re-enabled.
* | Slightly rearrange some items in the kernel section (but don't changebmah2003-08-112-34/+36
| | | | | | | | their content).
* | - Use the correct boot/boot1 and boot/loader files.ru2003-08-111-4/+3
| | | | | | | | | | | | - Use the newfs command similar to that in doFS.sh. Reviewed by: jake, jhb
* | Pipespace() no longer requires Giant.alc2003-08-111-2/+2
| |
* | Cleanup and style(9) fixes. No functional change.marcel2003-08-111-7/+4
| |
* | Improve the handling dhcp handling of pccard_ether.mbr2003-08-112-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are now many configurations which have a NIC on board, and pccard slots. If a dhclient is running on the internal nic, the Improve the handling dhcp handling of pccard_ether. Improve the dhcp handling of pccard_ether. There are now many configurations which have a NIC on board and Improve the dhcp handling of pccard_ether. There are now many configurations which have a NIC on board and cardbus slots too. If a dhclient was already running on the internal NIC, the user was forced to kill a running dhclient manually. If now a pccard is included at startup time, /etc/rc.d/dhclient start does include it into the startup list for dhcp devices. That means you can now do dhcp on the internal and the pccard devices at the same time. If the card is plugged in later, a running dhclient (working for the internal interface only) is killed, and restarted, but the interface name of the new pccard is added to the internal name. After removal, /etc/rc.d/dhclient is started again. This script does nothing if there are no devices in /etc/rc.conf This is only a workaround for a well known problem. After we have a dhcp client which handles device adding and removal, it will go away.
* | Back out revision 1.32; it attaches the files in the wrong section of the PR.ceri2003-08-111-3/+0
| |
* | - When deciding whether to init the zone with small_init or large_init,bmilekic2003-08-112-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compare the zone element size (+1 for the byte of linkage) against UMA_SLAB_SIZE - sizeof(struct uma_slab), and not just UMA_SLAB_SIZE. Add a KASSERT in zone_small_init to make sure that the computed ipers (items per slab) for the zone is not zero, despite the addition of the check, just to be sure (this part submitted by: silby) - UMA_ZONE_VM used to imply BUCKETCACHE. Now it implies CACHEONLY instead. CACHEONLY is like BUCKETCACHE in the case of bucket allocations, but in addition to that also ensures that we don't setup the zone with OFFPAGE slab headers allocated from the slabzone. This means that we're not allowed to have a UMA_ZONE_VM zone initialized for large items (zone_large_init) because it would require the slab headers to be allocated from slabzone, and hence kmem_map. Some of the zones init'd with UMA_ZONE_VM are so init'd before kmem_map is suballoc'd from kernel_map, which is why this change is necessary.
* | Drop Giant in recvit before returning an error to the caller to avoidkan2003-08-111-1/+4
| | | | | | | | leaking the Giant on the syscall exit.
* | Have the -a and -f options work together.ceri2003-08-111-0/+3
| | | | | | | | PR: misc/40057
* | New errata: SA-03:09, SA-03:10.bmah2003-08-111-2/+18
| | | | | | | | Minor grammatical fixes to SA-03:08 item.
* | New release notes: SA-03:09, SA-03:10.bmah2003-08-112-0/+24
| |
* | reduce #ifdef.ume2003-08-118-47/+5
| | | | | | | | MFC after: 1 week
* | use strlcpy() and snprintf().ume2003-08-116-16/+27
| | | | | | | | | | Obtained from: KAME MFC after: 1 week
* | Remove the band-aid to make these compile on amd64/ia64.njl2003-08-112-12/+2
| |
* | use int64_t instead of long long.ume2003-08-113-7/+7
| | | | | | | | | | Obtained from: KAME MFC after: 1 week
* | Style cleanups to match the rest of this directory. For acpi_battery.c,njl2003-08-114-878/+800
| | | | | | | | remove unused includes.
* | Make the documentation of PT_STEP match its implementation: theiedowse2003-08-111-2/+3
| | | | | | | | | | | | | | `data' parameter is not ignored; if non-zero, it specifies a signal number to be delivered to the traced process. MFC after: 1 day
* | bus_dmamap_create() is no longer optional for non-static dma mappings. Thanksscottl2003-08-111-0/+14
| | | | | | | | to ru@ for testing this.
* | Add ng_atmpif: a HARP physical interface emulation. This allows oneharti2003-08-1111-2/+2131
| | | | | | | | | | | | to run the HARP ATM stack without real hardware. Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
* | Add the mlockall()/munlockall() system call manual page from NetBSD.bms2003-08-111-0/+140
| | | | | | | | | | | | | | | | PR: kern/42426, standards/54223 Obtained from: NetBSD Reviewed by: jake, alc Approved by: jake (mentor) MFC after: 2 weeks
* | Add the new arguments for the add pvc command to the help information.harti2003-08-111-1/+3
| | | | | | | | | | | | | | Correct a comment. Submitted by: Vincent Jardin <vjardin@wanadoo.fr> MFC after: 3 days
* | Add the mlockall() and munlockall() system calls.bms2003-08-1117-37/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All those diffs to syscalls.master for each architecture *are* necessary. This needed clarification; the stub code generation for mlockall() was disabled, which would prevent applications from linking to this API (suggested by mux) - Giant has been quoshed. It is no longer held by the code, as the required locking has been pushed down within vm_map.c. - Callers must specify VM_MAP_WIRE_HOLESOK or VM_MAP_WIRE_NOHOLES to express their intention explicitly. - Inspected at the vmstat, top and vm pager sysctl stats level. Paging-in activity is occurring correctly, using a test harness. - The RES size for a process may appear to be greater than its SIZE. This is believed to be due to mappings of the same shared library page being wired twice. Further exploration is needed. - Believed to back out of allocations and locks correctly (tested with WITNESS, MUTEX_PROFILING, INVARIANTS and DIAGNOSTIC). PR: kern/43426, standards/54223 Reviewed by: jake, alc Approved by: jake (mentor) MFC after: 2 weeks
* | Fix sparc64 LINT build. <blush>jake2003-08-111-2/+4
| |
* | This commit was generated by cvs2svn to compensate for changes in r118765,njl2003-08-111-2/+2
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Fix AcpiOsMapMemory to match the function definition. Don't use UINT32njl2003-08-111-2/+2
| | | | | | | | | | | | as a cast for a pointer. Change has been submitted to the vendor. Pointed out by: marcel, obrien
* | More pipe changes:silby2003-08-116-49/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | From alc: Move pageable pipe memory to a seperate kernel submap to avoid awkward vm map interlocking issues. (Bad explanation provided by me.) From me: Rework pipespace accounting code to handle this new layout, and adjust our default values to account for the fact that we now have a solid limit on allocations. Also, remove the "maxpipes" limit, as it no longer has a purpose. (The limit on kva usage solves the problem of having two many pipes.)
* | 2nd part of making the name of the release running script overrideable.obrien2003-08-111-1/+1
| |
* | Don't provide mutexes for static busdma allocations.scottl2003-08-111-19/+22
| |
* | Implement cpu_set_upcall_kse(). Further tweaking may be needed aftermarcel2003-08-111-4/+25
| | | | | | | | testing.
* | Use vm_page_hold() instead of vm_page_wire(). Otherwise, a multithreadedalc2003-08-111-3/+3
| | | | | | | | | | | | | | | | | | | | application could cause a wired page to be freed. In general, vm_page_hold() should be preferred for ephemeral kernel mappings of pages borrowed from a user-level address space. (vm_page_wire() should really be reserved for indefinite duration pinning by the "owner" of the page.) Discussed with: silby Submitted by: tegge
* | The iBCS2 system call translator for statfs(2) did not check thenectar2003-08-101-0/+4
| | | | | | | | | | | | length parameter for validity. Submitted by: David Rhodus <drhodus@catpa.com>
* | panic() if we try to handle an out-of-range signal number innectar2003-08-101-2/+5
| | | | | | | | | | | | | | | | psignal()/tdsignal(). The test was historically in psignal(). It was changed into a KASSERT, and then later moved to tdsignal() when the latter was introduced. Reviewed by: iedowse, jhb
* | Add or correct range checking of signal numbers in system calls andnectar2003-08-104-3/+7
| | | | | | | | | | | | | | | | | | ioctls. In the particular case of ptrace(), this commit more-or-less reverts revision 1.53 of sys_process.c, which appears to have been erroneous. Reviewed by: iedowse, jhb
* | Add some quick pathes to exit process when signal action is default anddavidxu2003-08-102-0/+42
| | | | | | | | | | | | signal can causes process to exit. Reviewed by: deischen
* | Initialize rtld lock just before turning on thread mode anddavidxu2003-08-106-70/+74
| | | | | | | | uninitialize rtld lock after thread mode shutdown.
* | If thread mode is not activated yet, just call __sys_fork() directly,davidxu2003-08-102-2/+44
| | | | | | | | | | | | | | | | otherwise masks all signals until fork() returns, in child process, we reset library state before restoring signal masks until we reach a safe to point. Reviewed by: deischen
* | Tweak rtld lock to allow recursive on reader lock and detect recursivedavidxu2003-08-102-20/+134
| | | | | | | | | | | | on writer lock. This is first cut at rwlock for rtld. Submitted by: desichen
* | If thread mode is not activated yet, don't do extra work.davidxu2003-08-102-0/+8
| | | | | | | | Reviewed by: deischen
* | Change name of state_link() to state_polling() to make itmbr2003-08-103-49/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | more clear what it does. Trim interface_active() to just do what it should do. Check if we got link or not and if the NIC supports it. No special treatment for mediachecks here anymore. Simplify the code a lot, and remove doublicated parts. Fix two minor spelling errors. Add one missing #ifdef ENABLE_POLLING_MODE Reviewed by: mdodd
OpenPOWER on IntegriCloud