Commit Graph

106653 Commits

Author SHA1 Message Date
mbr
95ef22a8e2 It could happen that the renew/rebind times in the leasefile were
expired but the expire time itself was still valid and in the future.
If this happened we ended up using the state S_RENEW with an
INADDR_BROADCAST address set in the request and dhclient never got
any answer back. The only workaround was to delete the lease file.

Fix this case with a check for the S_RENEW and a fallback to the
S_INIT state.

PR:		bin/69361
Submitted by:	Andrew Gallatin <gallatin@cs.duke.edu>
2004-08-16 16:09:50 +00:00
nyan
1a7e5867b8 agp_amd64.c is not needed on pc98. 2004-08-16 16:01:40 +00:00
imp
3a66fec464 Some cards don't have the info entries in the CIS, so vendorstr and/or
prodstr may be NULL when fetched.  For the default device description,
guard against this and return the numeric IDs instead when this
happens.  For the matching routines, and consider NULL to not match
those entries that aren't NULL w/o calling strcmp.

Early patches by: Anders Hanssen
2004-08-16 15:57:18 +00:00
mbr
c593d7cfa8 Sync a reverted part of dhclient.c with the vendor source. It seems
that a buxfix from rc14 got backed out again. We do the same.
2004-08-16 15:48:02 +00:00
marius
2ebaabc3ab Instead of "OpenFirmware", "openfirmware", etc. use the official spelling
"Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended).

Ok'ed by:	tmm
2004-08-16 15:45:27 +00:00
imp
cb339af103 And isa_if.h 2004-08-16 15:24:03 +00:00
imp
4720de2495 Add pccbb_isa.c and pccbb_pci.c 2004-08-16 15:23:10 +00:00
kan
7ec20f5767 Upgrading a lock does not play well together with acquiring an exclusive lock
and can lead to two threads being granted exclusive access. Check that no one
has the same lock in exclusive  mode before proceeding to acquire it.

The LK_WANT_EXCL and LK_WANT_UPGRADE bits act as mini-locks and can block
other threads.  Normally this is not a problem since the mini locks are
upgraded to full locks and the release of the locks will unblock the other
threads.  However if a thread reset the bits without obtaining a full lock
other threads are not awoken. Add missing wakeups for these cases.

PR:		kern/69964
Submitted by:	Stephan Uphoff <ups at tree dot com>
Very good catch by: Stephan Uphoff <ups at tree dot com>
2004-08-16 15:01:22 +00:00
tjr
f239bd995e Store a pointer to "null" in struct ndblock's defn member instead of a
duplicate allocated on the heap; the address defn points to is significant,
and is checked against the address of "null" in certain conditionals.

PR:		59883
MFC after:	1 week
2004-08-16 14:18:22 +00:00
davidxu
aec61e06e8 Fix compile, s/tp_dtv/tp_tdv/g. 2004-08-16 14:07:38 +00:00
rwatson
3198b8c91b Add MP_WATCHDOG option information to pc98, as it uses the i386
mp_machdep.c, which relies on the option's include file and
defines.

Constancy of:	tinderbox
2004-08-16 13:59:01 +00:00
ssouhlal
0ead07e963 Add /dev/mem and /dev/kmem to powerpc.
Approved by:	grehan (mentor)
2004-08-16 13:07:40 +00:00
obrien
b486de5e57 Complete 'IA32' -> 'COMPAT_IA32' change for the Linuxulator32. 2004-08-16 12:51:33 +00:00
tjr
46b01ce8a2 Un-comment LINPROCFS. 2004-08-16 12:39:27 +00:00
obrien
08fe04eb3c AMD64 on-CPU GART support.
This also applies to AMD64 HW running 'i386' OS.

Submitted by:	Jung-uk Kim <jkim@niksun.com>
Integration by:	obrien
2004-08-16 12:25:48 +00:00
obrien
f11c4c097b style.9. 2004-08-16 12:23:53 +00:00
obrien
863d61032d Fix the 'DEBUG' argument code to unbreak the amd64 LINT build. 2004-08-16 12:15:07 +00:00
obrien
c17bb589d3 Put the 'antispoof' opcode in the proper place in the opcode list such
that it doesn't break the ipfw2 ABI.
2004-08-16 12:05:19 +00:00
rik
6a937bb7f4 Update low level code for Cronyx Tau-PCI:
1. Add support for Cronyx Tau-PCI/E3 rev.B.
2. Improve model identification and firmware load procedure.
2004-08-16 12:00:07 +00:00
cperciva
118632bcd7 Add 3653/tcp and 3653/udp, since they were specifically requested.
PR:		conf/63907
Submitted by:	Marc Blanchet
MFC after:	3 days
2004-08-16 11:52:22 +00:00
obrien
9142ceb362 I missed an 'IA32' in the documentation. 2004-08-16 11:15:46 +00:00
obrien
077f2fb5f3 Fix the 'DEBUG' argument code to unbreak the amd64 LINT build. 2004-08-16 11:12:57 +00:00
obrien
34f40785ef I'm not sure what tjr envisioned for turning on FreeBSD/i386 rt support,
but make it COMPAT_IA32 for now.
Fix the 'DEBUG' argument code to unbreak the amd64 LINT build.
2004-08-16 11:09:59 +00:00
obrien
4a77056b79 Fix the 'DEBUG' argument code to unbreak the amd64 LINT build. 2004-08-16 10:54:25 +00:00
simon
f5dec3d650 Remove Wiretek UBRJ4 from the list of supported devices. While it is
detected by the driver, it doesn't really work as soon as it really used
for network traffic.  Perhaps it can be re-added later when the issues
are resolved.

Reported by:	Soeren Vrist <seet@seet.dk>
2004-08-16 10:49:45 +00:00
pjd
86a4c1ebf0 Add myself as geom_raid3 maintainer. 2004-08-16 10:43:41 +00:00
obrien
210a408700 Fix the 'DEBUG' argument code to unbreak the LINT build. 2004-08-16 10:36:12 +00:00
obrien
4e0b4c9281 Minor style.9 cleanup. 2004-08-16 10:33:35 +00:00
obrien
0f92869b9f Bring back 'NO_FLOPPIES', but as a user external knob.
The internal logic knob remains MAKE_FLOPPIES.

Suggested by:	ru
2004-08-16 10:25:43 +00:00
dwmalone
009beefd7e When looking for some extra data to include in the hash, use the
address of the dirhash, rather than the first sizeof(struct dirhash
*) bytes of the structure (which, thankfully, seem to be constant).

Submitted by:	Ted Unangst <tedu@zeitbombe.org>
MFC after:	2 weeks
2004-08-16 10:00:44 +00:00
dwmalone
2d1b75dafb Improve MIME handling. This patch is based on Eugene's patch, but
with the following changes:

1) Don't make a mime_types.h 'cos we should avoid creating variables
   in header files,
2) Use strrchr to find the extension, rather than strchr,
3) Slightly simplify the mime-type matching loop.

any goof are likely to be mine. Note that there are links to more
improvements by Eugene in the PR.

PR:		29725
Submitted by:	Eugene Grosbein <eugen@kuzbass.ru>
2004-08-16 09:38:34 +00:00
dfr
b1ed8872f7 Remove some debug cruft from the Makefiles and make them ${.OBJDIR}
friendly.
2004-08-16 09:35:49 +00:00
sos
cffa7390a6 Improve (hopefully) on the workaround code for devices that doesn't
interrupt when command is done, ie some ATAPI CD drives with no
media loaded.
2004-08-16 09:32:35 +00:00
dwmalone
f8f65bb48e Add Hungarian calendar entries.
PR:		42725
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
2004-08-16 09:31:09 +00:00
sos
390a2035cf Fix Promise sx4/sx4000 support that broke on the latest race fixes. 2004-08-16 09:29:46 +00:00
pjd
3d2bec3b5a Add regression tests for GEOM_RAID3. 2004-08-16 09:09:23 +00:00
obrien
672ef49450 Accept the fact that floppies either aren't applicable or relevant on most
platforms.  So follow 'MAKE_ISOS''s style and s/NO_FLOPPIES/MAKE_FLOPPIES/g.
2004-08-16 08:58:04 +00:00
obrien
64340f18fd Follow 'MAKE_ISOS' in naming and s/FLOPPIES/MAKE_FLOPPIES/g
Submitted by:	ru
2004-08-16 08:56:50 +00:00
obrien
59ffbc2a5f Increase the scaling of VM_KMEM_SIZE_MAX.
Submitted by:	alc
2004-08-16 08:35:22 +00:00
obrien
4b648a6cd2 s/MAX_SAFE_MAXVNODES/MAXVNODES_MAX/g 2004-08-16 08:33:37 +00:00
pjd
5c368920d0 Decrease debug level to 0. 2004-08-16 08:33:04 +00:00
obrien
9e104b9399 Accept the fact that floppies either aren't applicable or relevant on most
platforms.  So make the floppy logic easier to read.
2004-08-16 08:28:58 +00:00
pjd
719f7a1769 Fix warning. 2004-08-16 08:21:31 +00:00
tjr
b8317cc64b Add support for 32-bit Linux binary emulation on amd64:
- include <machine/../linux32/linux.h> instead of <machine/../linux/linux.h>
  if building with the COMPAT_LINUX32 option.
- make minimal changes to the i386 linprocfs_docpuinfo() function to support
  amd64. We return a fake CPU family of 6 for now.
2004-08-16 08:19:18 +00:00
dfr
409e3f047a Fix alpha build and add __FBSDID.
PR: 70518
2004-08-16 08:12:29 +00:00
tjr
7af40f1f39 Regen. 2004-08-16 08:07:06 +00:00
tjr
5f396b174d Add preliminary support for running 32-bit Linux binaries on amd64, enabled
with the COMPAT_LINUX32 option. This is largely based on the i386 MD Linux
emulations bits, but also builds on the 32-bit FreeBSD and generic IA-32
binary emulation work.

Some of this is still a little rough around the edges, and will need to be
revisited before 32-bit and 64-bit Linux emulation support can coexist in
the same kernel.
2004-08-16 07:55:06 +00:00
pjd
3621d1c2a3 Update the date.
Reminded by:	ru
2004-08-16 07:53:43 +00:00
alfred
884e72bbc0 This patch merges the sort fields for both pages, so you can (for
example) view io stats while sorting by process size.  Also adds
voluntary and involuntary context-switch stats to the io page because
there was lots of room.

Submitted by: Dan Nelson dnelson at allantgroup.com
2004-08-16 07:51:22 +00:00
tjr
d7dac4b701 Changes to MI Linux emulation code necessary to run 32-bit Linux binaries
on AMD64, and the general case where the emulated platform has different
size pointers than we use natively:
- declare certain structure members as l_uintptr_t and use the new PTRIN
  and PTROUT macros to convert to and from native pointers.
- declare some structures __packed on amd64 when the layout would differ
  from that used on i386.
- include <machine/../linux32/linux.h> instead of <machine/../linux/linux.h>
  if compiling with COMPAT_LINUX32. This will need to be revisited before
  32-bit and 64-bit Linux emulation support can coexist in the same kernel.
- other small scattered changes.

This should be a no-op on i386 and Alpha.
2004-08-16 07:28:16 +00:00