summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Sync type of linkspeed with firewire.c.simokawa2004-01-111-1/+1
|
* Stay in sync with src/COPYRIGHT and src/sys/sys/copyright.h,ru2004-01-111-2/+2
| | | | and put the starting year of the project into the copyright.
* Add Audigy support.obrien2004-01-112-95/+532
| | | | | | I started with a year-old patch by Orlando Bassotto <orlando.bassotto@ieo-research.it>, and ported it to 5.2-CURRENT along with fixing the problems working with pre-Audigy cards.
* Print the correct pointer in a KASSERT.phk2004-01-111-1/+1
| | | | Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
* MFi386: revision 1.583.nyan2004-01-112-0/+6
|
* The ida module is not needed for pc98.nyan2004-01-111-1/+1
|
* ida(4) module. PCI only for now.mdodd2004-01-112-0/+10
|
* Remove long dead code, specifically, code related to munmapfd().alc2004-01-113-28/+0
| | | | (See also vm/vm_mmap.c revision 1.173.)
* Add support for subtractive decoding bridges. These bridges pass allimp2004-01-112-159/+128
| | | | | | | | | | | | | | | | | | | signals to addresses to the child busses. Typically, ProgIf of 1 means a subtractive bridge. However, Intel has a whole lot of ones with a ProgIf of 80 that are also subtractive. We cope with these bridges too. This eliminates hw.pci.allow_unsupported_io_range because that had almost the same effect as these patches (almost means 'buggy'). Remove the bogus checks for ISA bus locations: these cycles aren't special and are only passed by transparent bridges. We allow any range to succeed. If the range is a superset of the range that's decoded, trim the resource to that range. Otherwise, pass the range unchanged. This will change the location that PC Card and CardBus cards are attached. This might bogusly cause some overlapping allocation that wasn't present before, but the overlapping fixes need to be in the pci level. There's also a few formatting changes here.
* Release audit device major number reservation. The new auditrwatson2004-01-111-1/+0
| | | | | | implementation writes directly to a file, similar to the Darwin, Solaris, and whoever else implementations, rather than buffering through a pseudo-device.
* This commit was generated by cvs2svn to compensate for changes in r124361,obrien2004-01-111-10/+19
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import emu10k1.h from version 1.0.1 of the ALSA driver.obrien2004-01-111-10/+19
| | | | | | | | | | ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.1.tar.bz2 or http://www.alsa-project.org/alsa/cvs/alsa-kernel/include/emu10k1.h
* | Include "opt_cpu.h" and related #ifdef's for SSE so that pagezero()alc2004-01-111-0/+8
| | | | | | | | actually includes the call to sse2_pagezero().
* | When not creating a core dump due to resource limits specifyingrwatson2004-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | a maximum dump size of 0, return a size-related error, rather than returning success. Otherwise, waitpid() will incorrectly return a status indicating that a core dump was created. Note that the specific error doesn't actually matter, since it's lost. MFC after: 2 weeks PR: 60367 Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
* | Remove EMUDEBUG [un]def. This should be done in the Makefile.obrien2004-01-111-1/+0
| |
* | MF-p4/diff reduction:imp2004-01-111-1/+0
| | | | | | | | Eliminate trailing blank line in this file.
* | - Unmanage pages allocated by contigmalloc1(). (There is no point inalc2004-01-101-6/+2
| | | | | | | | | | having PV entries for these pages.) - Remove splvm() and splx() calls.
* | s/Muliple/Multipleschweikh2004-01-102-96/+92
| | | | | | | | Removed whitespace at EOL and EOF.
* | More unparenthesized return values.des2004-01-101-1/+1
| |
* | Properly fix the FreeBSD copyright.ru2004-01-101-3/+3
| | | | | | | | Pointed by: scottl
* | s/FreeBSD Inc./The FreeBSD Foundation/gru2004-01-101-4/+4
| |
* | Style: parenthesize return values.des2004-01-101-3/+3
| |
* | try rtinit() only when the route is not installed.ume2004-01-101-2/+5
| | | | | | | | | | | | | | | | this allows, e.g., duplicated attempts of 'ifconfig lo0 ::1' like for IPv4. Obtained from: KAME MFC after: 1 week
* | Check that sa_len is the appropriate value in tcp_usr_bind(),truckman2004-01-101-0/+8
| | | | | | | | | | | | | | | | | | | | tcp6_usr_bind(), tcp_usr_connect(), and tcp6_usr_connect() before checking to see whether the address is multicast so that the proper errno value will be returned if sa_len is incorrect. The checks are identical to the ones in in_pcbbind_setup(), in6_pcbbind(), and in6_pcbladdr(), which are called after the multicast address check passes. MFC after: 30 days
* | Add a somewhat redundant check on the len arguement to getsockaddr() totruckman2004-01-101-0/+2
| | | | | | | | | | | | | | | | | | | | avoid relying on the minimum memory allocation size to avoid problems. The check is somewhat redundant because the consumers of the returned structure will check that sa_len is a protocol-specific larger size. Submitted by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: nectar MFC after: 30 days
* | Don't execute the code in in6_ifdetach() that removes the link-localtruckman2004-01-101-7/+9
| | | | | | | | | | | | | | | | allnodes multicast route if the routing table has not been initialized. This avoids a panic during boot if an interface detaches before the routing table is initialized. Submitted by: sam
* | in set{peer, sock}addr, do not convert the unspecifiedume2004-01-101-2/+2
| | | | | | | | | | | | | | | | address (::) to the mapped address form. PR: kern/22868 Obtained from: KAME MFC after: 3 days
* | Restore closing of SMB find handle in smbfs_close().tjr2004-01-101-1/+8
| |
* | Remove the HACK section it breaks the older firmware and doesn't totallyambrisko2004-01-101-21/+0
| | | | | | | | fix the new firmware so remove it.
* | Fix a panic when attempting a v4 op against a v3/v2-only server.alfred2004-01-101-10/+12
| | | | | | | | | | | | | | It happens because rpcclnt_request is incorrectly returning 0 in the case of an rpc mismatch or auth error. Submitted by: Jim Rees <rees@umich.edu>
* | Unmanage pages allocated by kmem_alloc(). (There is no point in having PValc2004-01-101-0/+1
| | | | | | | | entries for these pages.)
* | Prevent a race condition between fork1() and whatever changes the pgrp bycognet2004-01-091-0/+1
| | | | | | | | | | | | | | | | | | | | setting the new process' p_pgrp again before inserting it in the p_pglist. Without it we can get the new process to be inserted in a different p_pglist than the one p2->p_pgrp points to, and this is not something we want to happen. This is not a fix, merely a bandaid, but it will work until someone finds a better way to do it. Discussed with: jhb (a long time ago)
* | Remove duplicate __FBSDID().cognet2004-01-091-3/+1
| | | | | | | | Mark trm as depending on cam.
* | Clean up the acpi announce message of trailing spaces.njl2004-01-091-3/+11
| |
* | Expand the check for overriding the OS name to override _OS* (includingnjl2004-01-091-7/+9
| | | | | | | | | | _OS_, _OS, and _OSI). This should fix this option for people who reported it not changing anything.
* | Disable the APIC when selecting the 'Safe Mode' option of the loader. Thisscottl2004-01-091-0/+1
| | | | | | | | will disable both APIC interrupt routing and SMP.
* | Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'mnectar2004-01-095-1/+6
| | | | | | | | | | | | | | | | | | | | at it, use the ANSI C generic pointer type for the second argument, thus matching the documentation. Remove the now extraneous (and now conflicting) function declarations in various libc sources. Remove now unnecessary casts. Reviewed by: bde
* | KASSERT against no-op access requests.phk2004-01-091-0/+1
| | | | | | | | Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
* | Reduce TCP_MINMSS default to 216. The AX.25 protocol (packet radio)andre2004-01-091-4/+3
| | | | | | | | | | is frequently used with an MTU of 256 because of slow speeds and a high packet loss rate.
* | Fix a warning when NATM is not defined. In this case s is not used.harti2004-01-091-0/+2
| |
* | The private data section of ndis_packets has a 'packet flags' bytewpaul2004-01-094-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which has two important flags in it: the 'allocated by NDIS' flag and the 'media specific info present' flag. There are two Windows macros for getting/setting media specific info fields within the ndis_packet structure which can behave improperly if these flags are not initialized correctly when a packet is allocated. It seems the correct thing to do is always set the NDIS_PACKET_ALLOCATED_BY_NDIS flag on all newly allocated packets. This fixes the crashes with the Intel Centrino wireless driver. My sample card now seems to work correctly. Also, fix a potential LOR involving ndis_txeof() in if_ndis.c.
* | Sync with Creative's 8010.h rev 1.51.obrien2004-01-092-74/+147
| |
* | Dike out some very Linux-specific parts that we can't compile with.obrien2004-01-091-0/+8
| | | | | | | | Also protect AC97_MUTE which is also defined in our own ac97.h.
* | This commit was generated by cvs2svn to compensate for changes in r124273,obrien2004-01-091-2/+42
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import revision 1.9 of ac97_codec.h (we renamed the file) fromobrien2004-01-091-2/+42
| | | | | | | | http://cvs.sourceforge.net/viewcvs.py/emu10k1/emu10k1/ac97_codec.h
* | Implement NdisOpenFile()/NdisCloseFile()/NdisMapFile()/NdisUnmapFile().wpaul2004-01-093-10/+125
| | | | | | | | | | | | | | | | | | By default, we search for files in /compat/ndis. This can be changed with a systcl. These routines are used by some drivers which need to download firmware or microcode into their respective devices during initialization. Also, remove extraneous newlines from the 'built-in' sysctl/registry variables.
* | Also, don't crash in the netgraph disconnect node if the interface isgreen2004-01-091-1/+2
| | | | | | | | detached from the other direction.
* | Don't try to ifpromisc() on an interface that's deleted already.green2004-01-091-4/+4
| |
* | Improve the expressiveness of ttyinfo (^T) when dealing with threadsrwatson2004-01-081-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in slightly less usual states: If the thread is on a run queue, display "running" if the thread is actually running, otherwise, "runnable". If the thread is sleeping, and it's on a sleep queue, display the name of the queue, otherwise "unknown" -- previously, in this situation we would display "iowait". If the thread is waiting on a lock, display *lockname. If the thread is suspended, display "suspended" -- previously, in this situation we would display "iowait". If the thread is waiting for an interrupt, display "intrwait" -- previously, in this situation we would display "iowait". If the thread is in a state not handled by the above, display "unknown" -- previously, we would print "iowait". Among other things, this avoids displaying "iowait" when the foreground process turns out to be suspended waiting for a debugger to properly attach.
* | Drop the sigacts mutex around calls to stopevent() to avoid sleepingrwatson2004-01-081-2/+10
| | | | | | | | | | | | | | | | | | holding the mutex. Because the sigacts pointer can't change while the process is "live" (proc locking (x)), we know our pointer is still valid. In communication with: truckman Reviewed by: jhb
OpenPOWER on IntegriCloud