summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MNT_NODEV is deprecated.ru2004-11-294-15/+8
|
* Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero).ru2004-11-294-13/+2
| | | | Asked to commit by: phk
* Pick up loader.rc from its old home.ru2004-11-291-1/+1
|
* Merge the contents of lstInt.h into the public lst.h. This let's us getharti2004-11-2929-355/+227
| | | | | | | rid of a lot of uneccesary casts and temporary variables that have just obfuscated the code. This also let's us implement a couple of the one- liner list functions as macros (the first one is Lst_IsEmpty) and simplify life once we start to throw consts on the code.
* Reviewed by: SUZUKI Shinsuke <suz@kame.net>gnn2004-11-291-17/+34
| | | | | | | | | | Approved by: Robert Watson <rwatson@freebsd.org> Add locking to the IPv6 scoping code. All spl() like calls have also been removed. Cleaning up the handling of ifnet data will happen at a later date.
* Disable the beastie menu. It offends some and annoys everyone else, and I'mscottl2004-11-292-18/+1
| | | | | frankly tired of the controversy. When people ask me why FreeBSD isn't user- friendly, I'll tell them that I tried. RIP.
* Move the purely device-name based entries for mice and ethernetiedowse2004-11-282-16/+7
| | | | | | | | adapters from usbd.conf to devd.conf. USB ethernet devices were already handled in devd.conf so this just removes their usbd.conf entry. PR: conf/73799
* Add support for the TwinMOS Memory Disk IV.iedowse2004-11-282-0/+8
| | | | | | PR: kern/73766 Submitted by: Valentin Nechayev MFC after: 1 week
* Add the device ID for the 3Com 3CRSHEW696 wireless adapter.iedowse2004-11-281-0/+1
| | | | | PR: kern/73286 Submitted by: Daan Vreeken
* Add support for the Trumpion/Comotron C3310 MP3 player.iedowse2004-11-282-0/+8
|
* Fix a long standing bug in geom_mbr which is only now exposed by thephk2004-11-281-4/+14
| | | | | | | | | | | | | | | correct open/close behaviour of filesystems: When an ioctl to modify the MBR arrives, we cannot take for granted that we have the consumer open. The symptom is that one cannot run 'boot0cfg -s2 /dev/ad0' in single-user mode because / is the only open partition in only open r1w0e1. If it is not, we attempt to increase the write count by one and decrease it again afterwards. Presumably most if not all other slices suffer from the same problem.
* Add axe(4) devices to the USB ethernet regular expression.iedowse2004-11-281-1/+1
| | | | | | MFC after: 1 week PR: conf/73239 Submitted by: Daan Vreeken
* Fix a few coding errors that caused compiler warnings.iedowse2004-11-281-5/+6
| | | | | PR: bin/71615 Submitted by: Craig Rodrigues (original patch by Dan Lukes)
* Check that saddr->sa_family is a sensible value before using it.cperciva2004-11-281-0/+4
| | | | | Reported by: Bryan Fulton and Ted Unangst, Coverity, Inc. Found by: The SWAT analysis tool
* When determining whether filename is too long for akientzle2004-11-281-6/+6
| | | | | | | | | regular 'ustar' entry, use narrow-character version, not wide-character version, as the ustar entry always uses the narrow-character filename. Thanks to: Michal Listos Inspired by, but doesn't fix: bin/74385
* Correct the spelling of "archive_write_pax_header"kientzle2004-11-281-1/+1
| | | | | | | in an error message. Thanks to: Michal Listos Inspired by, but doesn't fix: bin/74385
* Clarify that devd will only parse files whose names end in .conf.ceri2004-11-281-1/+3
| | | | | | | | Prompted by PR: docs/73668 Submitted by: Dan Pelleg MFC After: 3 days
* Change CUSTOMIZE example.phk2004-11-281-3/+2
|
* Make it possible to specify a list of customize scripts.phk2004-11-281-7/+8
| | | | Look for them in ./Customize first, then relative to . and then absolute.
* Add various customize scripts.phk2004-11-284-0/+146
|
* Hardlink the generated /etc/fstab to /conf/base/etc/fstabphk2004-11-281-0/+1
|
* - Don't blindly use the return value of uart_cpu_channel() to calculatemarius2004-11-281-7/+33
| | | | | | | | | | | | | | | | | | | | the address of a channel on a SCC, it returns 0 on failure. [1] - Hardcode channel 1 for the keyboard on Z8530, the information present in the Open Firmware device tree doesn't allow to determine this via uart_cpu_channel(). This makes the keyboard (if one backs out rev. 1.5 of sys/dev/puc/puc_sbus.c and has both keyboard and mouse plugged in to avoid the hang that revision works around) and consequently syscons(4) on Ultra 2 work. There's a problem with the keyboard LEDs similar to the one on Ultra 60 (LEDs don't get lit under X) though, instead of lighting just a specific single one all get lit and can't be turned off again. [1] - Add comments about what uart_cpu_channel() and uart_cpu_getdev_keyboard() do and their constraints. - Improve the comments about what uart_cpu_getdev_[console,dbgport]() do, they don't return an address (as in bus) but an Open Firmware package handle. Reviewed by: marcel (modulo the comments) [1]
* Don't acquire Giant before calling closef() in close() (and elsewhere);rwatson2004-11-281-7/+7
| | | | | | | | | | | | | | instead acquire it conditionally in closef() if it is required for advisory locking. This removes Giant from the close() path of sockets and pipes (and any other objects that don't acquire Giant in their fo_close path, such as kqueues). Giant will still be acquired twice for vnodes -- once for advisory lock teardown, and a second time in the fo_close method. Both Poul-Henning and I believe that the advisory lock teardown code can be moved into the vn_closefile path shortly. This trims a percent or two off the cost of most non-vnode close operations on SMP, but has a fairly minimal impact on UP where the cost of a single mutex operation is pretty low.
* don't mv(1) nonexistent directories.phk2004-11-281-1/+1
|
* Reduce -j12 to -j3phk2004-11-281-1/+1
|
* Use FILEDESC_LOCK_FAST in checkdirs()phk2004-11-281-5/+5
|
* #define the ioctls that take no arguments correctly.phk2004-11-281-4/+4
|
* Assert the inpcb lock in tcp_xmit_timer() as it performs read-modify-rwatson2004-11-282-0/+4
| | | | write of various time/rtt-related fields in the tcpcb.
* Expand coverage of the receive socket buffer lock when handling urgentrwatson2004-11-282-4/+6
| | | | | | | | pointer updates: test available space while holding the socket buffer mutex, and continue to hold until until the pointer update has been performed. MFC after: 2 weeks
* Whitespace fixes:marcel2004-11-281-33/+18
| | | | | | | o Remove a bogus comment that relates to alpha. o s/u_int64_t/uint64_t/g o Add bi_spare2 to make the internal padding explicit. o Move BOOTINFO_MAGIC after the field it applies to.
* o Introduce efimd_va2pa() to translate addresses in efi_copy{in|out}()marcel2004-11-284-55/+31
| | | | | and efi_readin(). This removes MD code from copy.c. o Don't unconditionally add pal.S to SRCS. It's specific to ia64.
* Add efimd.c. This file contains MD code used by the EFI library. Whilemarcel2004-11-282-2/+47
| | | | | | changing the Makefile, fail the creation of loader.efi when there are unresolved symbols in loader.sym. This avoids silently creating a faulty EFI binary.
* When required to negate the absoulte result of a division/remainderpeadar2004-11-272-2/+2
| | | | | | | | | | | | | | operation (by subtracting the absolute result from 0), don't test for overflow. This avoids an arithmetic exception when dividing LONG_MIN by 1: This is the only case that causes overflow, and the resulting value is correct under 2's compliment arithmetic. PR: 72024 Approved by: dwmalone@ Obtained from: NetBSD MFC after: 4 days
* Disable protocol field compression on the inner PPP frame when also doingarchie2004-11-271-1/+1
| | | | | | | normal PPP compression, as a workaround for certain (arguably) broken Linux PPP implementations that can't handle this particular case. MFC after: 1 week
* Do export the advertised receive window via the tcpi_rcv_space field ofrwatson2004-11-272-1/+2
| | | | struct tcp_info.
* Auto generate device listings for the snd_ich(4) driver.simon2004-11-273-0/+5
| | | | MFC after: 1 week
* Add manual page for snd_ich(4).simon2004-11-272-0/+95
| | | | | | Submitted by: Jorge Mario G. Mazo <jgutie11@eafit.edu.co> (original version) PR: docs/73789 MFC after: 1 week
* Unlock mutex if PDROP was set by caller.davidxu2004-11-271-0/+2
|
* The Ken Thompson school of thought on expert systems:dds2004-11-271-0/+4
| | | | | | | | there's table lookup, fraud, and grand fraud. -- Andrew Hume USENIX'04 Technical Conference, reported by Adam S. Moskowitz ;Login: 29(5):49, October 2004.
* Don't include sys/user.h merely for its side-effect of recursivelydas2004-11-2764-76/+64
| | | | including other headers.
* Axe a.out core dump support. Neither older gdb binaries nor currentdas2004-11-273-69/+1
| | | | bfd sources understand the present format.
* Remove a.out support from gcore(1).das2004-11-272-249/+0
|
* Axe the semblance of support for PECOFF and Linux a.out core dumps.das2004-11-272-119/+3
|
* Temporarily disable programming IRQ links on resume. The new code hangsnjl2004-11-261-0/+2
| | | | several of my systems.
* With mii.h rev 1.4 changes to BMSR_MEDIAMASK merged in frombz2004-11-261-2/+2
| | | | | | | | | | | | | | | | | NetBSD got activated. NetBSD has an additional change in their mii.c rev 1.26 which got missed with that merger: : When probing for a PHY, look at the EXTSTAT bit in the BMSR, as well, : not just the media mask. This prevents PHYs/TBIs that only support : Gigabit media from slipping through the cracks. With this GE only ones like from the SK-9844 are detected again. PR: i386/63313, i386/71733, kern/73725 Tested by: matt baker <matt at sevenone dot com>, Jin Guojun <jin at george dot lbl dot gov> Approved by: rwatson (mentor) Obtained from: NetBSD mii.c rev 1.26 MFC after: 1 week
* Eliminate MNT_NODEV usage, it doesn't have any meaning any more.phk2004-11-262-5/+5
| | | | | Keep a #define MNT_NODEV 0 around to avoid dealing with contrib userland like mount_smbfs.
* Allow the gif module to be built without IPv6 support when NOINET6 isbrooks2004-11-261-1/+8
| | | | | | defined. Submitted by: mitrohin a.s. <swp at uni-altai dot ru>
* Implement parts of the TCP_INFO socket option as found in Linux 2.6.rwatson2004-11-262-2/+120
| | | | | | | | | | | | | | | This socket option allows processes query a TCP socket for some low level transmission details, such as the current send, bandwidth, and congestion windows. Linux provides a 'struct tcpinfo' structure containing various variables, rather than separate socket options; this makes the API somewhat fragile as it makes it dificult to add new entries of interest as requirements and implementation evolve. As such, I've included a large pad at the end of the structure. Right now, relatively few of the Linux API fields are filled in, and some contain no logical equivilent on FreeBSD. I've include __'d entries in the structure to make it easier to figure ou what is and isn't omitted. This API/ABI should be considered unstable for the time being.
* Add Intel RAID Controller SRCS16 and SRCU42X to the list of supportedsimon2004-11-261-1/+5
| | | | | | devices. Submitted by: Samuel Clements <sclements@linkline.com>
* Remove unused file.harti2004-11-261-300/+0
|
OpenPOWER on IntegriCloud