Commit graph

83164 commits

Author SHA1 Message Date
Scott Long 1e06ae9969 Fix two typos from the previous commit. This code is definitely infectious. 2002-11-12 09:45:59 +00:00
Scott Long e6e272b905 Step one of cleaning and fixing cardbus:
- Fix some especially bad style in the CIS BAR tuple parsing code.
 - activate Option ROMS correctly.
 - de-obfuscate the Option ROM image selection code.
 - Fix mis-interpretation of the PCI spec that prevented Option ROMs whose
   CIS section wasn't in the first image from working.
 - Fix mis-interpretation of the PCI spec that prevented CIS's mapped into
   MEMIO space from working at all.
 - Reject invalid CIS pointers.

Reviewed by:	imp
2002-11-12 08:23:27 +00:00
David E. O'Brien 9bdc6053fb We don't use libpam, libopie, or libmd. 2002-11-12 07:41:59 +00:00
David E. O'Brien 606f5646b9 We have fparseln(3). Also libskey on RELENG_4. 2002-11-12 07:37:15 +00:00
Warner Losh 91618540a1 Turn off devd until I have a devd.conf file that I can install one
that does no harm.
2002-11-12 07:10:45 +00:00
Bill Fenner f10d3c5113 Don't divide by zero to calculate the ETA, even if we haven't gotten
any data in 30 seconds.
2002-11-12 07:09:43 +00:00
David E. O'Brien f17da7421b Update for version 1.2 Beta 2. 2002-11-12 06:48:35 +00:00
David E. O'Brien 39adcc0fdb This commit was generated by cvs2svn to compensate for changes in r106792,
which included commits to RCS files with non-trunk default branches.
2002-11-12 06:42:39 +00:00
David E. O'Brien 3d982f73f3 Import of LukeM's ftpd version 1.2 Beta 2. 2002-11-12 06:42:39 +00:00
Hidetoshi Shimokawa c572b81055 - Remove unused code.
- Style fixes.
2002-11-12 05:52:01 +00:00
Hidetoshi Shimokawa 783058fa0d Restrict process count in fwohci_arcv() and fwohci_ircv(). 2002-11-12 04:54:30 +00:00
Robert Watson 63b6f478ec Garbage collect mac_create_devfs_vnode() -- it hasn't been used since
we brought in the new cache and locking model for vnode labels.  We
now rely on mac_associate_devfs_vnode().

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-12 04:20:36 +00:00
Jonathan Mini 1cb53a1828 Schedule an idle context to block until timeouts expire without blocking
further upcalls.
2002-11-12 00:55:01 +00:00
Chad David 86b62d35bf - Document the chunk_name() function that replaces chunk_n[].
- Rearrange things a tiny bit.
2002-11-11 19:37:19 +00:00
Chad David 8ff8da756b Remove parameter names from function prototypes (at least one collided
with stdlib.h).

discussed with: phk
2002-11-11 18:55:57 +00:00
Matt Jacob 33fb5c1dbf Remove my 'pre-commit' on sa(4). 2002-11-11 16:56:40 +00:00
John Baldwin d2b28e078a Correct an assertion in the code to traverse the list of locks to find an
earlier acquired lock with the same witness as the lock currently being
acquired.  If we had released several earlier acquired locks after
acquiring enough locks to require another lock_list_entry bucket in the
lock list, then subsequent lock_list_entry buckets could contain only one
lock instance in which case i would be zero.

Reported by:	Joel M. Baldwin <qumqats@outel.org>
2002-11-11 16:36:20 +00:00
Maxime Henrion 2ac8c61ac4 Capitalize the first letter of device descriptions
for consistency with the rest of the drivers.
2002-11-11 15:26:08 +00:00
Robert Watson 2d43d24ed4 Garbage collect definition of M_MACOPVEC -- we no longer perform a
dynamic mapping of an operation vector into an operation structure,
rather, we rely on C99 sparse structure initialization.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-11 14:15:58 +00:00
Olivier Houchard f64e99baa2 Remove extra #include<sys/vmmeter.h>. 2002-11-11 13:57:50 +00:00
Sheldon Hearn 8b54273197 Add Ian Freislich's excellent, BSD-licensed POP3 server
(ports/mail/popd) to the list of packages that should appear on CDROM1.

Approved by:	re
2002-11-11 12:32:30 +00:00
Maxime Henrion 9b411580de kenv(1) is WARNS=6 clean. 2002-11-11 11:56:28 +00:00
Matt Jacob 81f71edaec atomic_set_8 isn't MI. Instead, follow Jake's suggestions about
ZONE_LOCK.
2002-11-11 11:50:03 +00:00
Ruslan Ermilov 34fa8213c3 Sort by floppy, type, driver name. 2002-11-11 11:44:57 +00:00
Ruslan Ermilov bd9ff04bd0 Removed redundant entries (these are handled by drivers.conf). 2002-11-11 11:02:14 +00:00
Thomas Moestl 67bc3e2af3 Update to match recent snp fixes.
Reviewed by:	dd
2002-11-11 10:59:28 +00:00
Thomas Moestl ba964e50b0 The FIONREAD sysctl operates on an int *, not a size_t *.
Reviewed by:	dd
2002-11-11 10:56:57 +00:00
Ruslan Ermilov 1b79652469 Don't attempt to strip obsolete, non-existing, or commented out
options and devices.
2002-11-11 10:53:28 +00:00
Thomas Moestl 20207b60a8 Declare the snp ioctl()s to work on udev_t, since that is what they
really do and dev_t is defined differently in kernel and userland.
Return a correctly formed udev from SNPGTTY.

Reviewed by:	dd
2002-11-11 10:45:31 +00:00
Maxime Henrion aa26768242 Warning fixes. 2002-11-11 10:28:44 +00:00
Maxime Henrion 97be736aca Warning fix. 2002-11-11 10:17:01 +00:00
Ruslan Ermilov f47a35c909 There's no longer a P1003_1B option. 2002-11-11 10:15:03 +00:00
Ruslan Ermilov 4d28d2b43c Tabulate, sort. 2002-11-11 10:13:30 +00:00
Maxime Henrion cca416b2b1 Don't override CWARNFLAGS in these Makefiles. 2002-11-11 10:11:59 +00:00
Poul-Henning Kamp efb14d4614 Remove debugging printfs. 2002-11-11 10:08:46 +00:00
Ruslan Ermilov 875614e09c Handle the removal of CD9660 and NFSCLIENT options in drivers.conf.
Removed duplicate entry from drivers.conf.
2002-11-11 10:07:57 +00:00
Maxime Henrion 00a91cb7f4 Don't override CWARNFLAGS in this Makefile. 2002-11-11 10:07:18 +00:00
Ruslan Ermilov e7342d5da3 Removed more redundant lines: amr, mlx, pcn, ahc and mpt are handled
by drivers.conf already.
2002-11-11 09:52:59 +00:00
Marcel Moolenaar 7aa65edc75 ia64 ABI breaker:
Don't force 16-byte alignment at run-time. Do it at compile-time.
This saves us the pointer fiddling by the setjmp functions and
reduces complexity. While here, increase the jmp_buf by 16 bytes
to an even 512 bytes. Coincidentally, due to the way alignment
was handled prior to this change, the jmp_buf has not changed in
size, but only in how the space is used. Prior to this change
the 16 bytes were reserved for enforcing alignment; now they are
reserved by us for future extensions.
Therefore, this ABI breaker is relatively save: the failure is
always an alignment trap.
2002-11-11 08:11:44 +00:00
Yaroslav Tykhiy 1f75c13ee0 Don't free the current addrinfo list, or else a pointer to a freed
memory area would arise.  Only an addrinfo list from an earlier
call to getaddrinfo() should be freed there because it will be
substituted by the current list referenced by "res".

Reported by:	John Long <fbsd1@pruam.com>
MFC after:	5 days
2002-11-11 07:31:48 +00:00
Alan Cox 6372d61e3e - Clear the page's PG_WRITEABLE flag in the i386's pmap_changebit()
if we're removing write access from the page's PTEs.
 - Export pmap_remove_all() on alpha, i386, and ia64.  (It's already
   exported on sparc64.)
2002-11-11 05:17:34 +00:00
Marcel Moolenaar cd5a1c3b76 MBR slices are named the same on ia64 as they are on i386. 2002-11-11 04:46:39 +00:00
Marcel Moolenaar 3c428f6a5a Comment-out USB support. A kernel doesn't boot with it. Deal with it
later.
2002-11-11 01:50:10 +00:00
Marcel Moolenaar 4d34acc792 Double the size of the EFI boot image. 5MB is not enough. The kernel
is not compressed.
2002-11-11 00:48:35 +00:00
Marcel Moolenaar 40e2de8b79 Given that we have 3 places to document UUID related information,
namely uuidgen(1), uuidgen(2) and uuid(3), the following division
has been choosen:
	uuidgen(1)	A description of the command line utility,
			and other user oriented UUID information.
	uuidgen(2)	A mostly technical description of UUIDs.
	uuid(3)		A description of the functions and other
			programmer oriented UUID information.

According to the division: add more technical contents.

Contributed by: Hiten Pandya <hiten@uk.FreeBSD.org>
Edited and enhanced: marcel
2002-11-11 00:29:01 +00:00
Daniel C. Sobral c2c821be56 Add gerrold.limerick to the building process. 2002-11-10 23:41:01 +00:00
Daniel C. Sobral e8fa871053 Finished at last. 2002-11-10 23:37:25 +00:00
Jake Burkholder 83702273a3 Write the boot block to the first 16 sectors of all partitions, instead of
always to the first 16 sectors of the disk.  The firmware reads the boot
code from a partition, defaulting to 'a' if none is specified, which only
corresponds to the first 16 sectors of the disk if 'a' is first.  Solaris
often makes the swap partition first, instead of the root partition, and
users expect to be able to do the same with freebsd as well.  This also
allows one to temporarily boot from another partition if the boot block
on the root partition gets scrambled somehow.
2002-11-10 21:07:29 +00:00
Marcel Moolenaar 0ec091888c A support for creating EFI partitions. This is required on ia64,
but not made conditional upon it.
2002-11-10 20:56:53 +00:00
Marcel Moolenaar 7593e0d3c5 Add efi to the list of types for which we need to return tha name.
Also, return chunk type efi in case we find an EFI partition in
the GPT. We used to return FAT due to a lack of EFI type.
2002-11-10 20:53:10 +00:00