Commit Graph

107192 Commits

Author SHA1 Message Date
njl
db5a3f2456 Fix _FDE probing by using the buffer contents instead of the buffer
object itself.  ACPI-CA returns an ACPI_OBJECT of type Buffer rather than
the buffer contents itself.
2004-08-30 21:13:03 +00:00
kensmith
a04cd15781 Remove support for configuring the X server from sysinstall. General
concensus seems to be that is best left for doing post-install.

Discussed on:	freebsd-current@
Tested with:	make release
Approved by:	re@
MFC after:	3 days
2004-08-30 21:03:09 +00:00
gibbs
4162ee9910 Correct a typo in a comment: alloated->allocated
Reported by: Jens Schweikhardt <schweikh@schweikhardt.net>
2004-08-30 20:15:42 +00:00
gibbs
bdc93267e1 Correct a typo in a comment: alloation->allocation
Reported by: Jens Schweikhardt <schweikh@schweikhardt.net>
2004-08-30 20:14:21 +00:00
pjd
48de94741d Allow to configure debug level from /boot/loader.conf. 2004-08-30 18:50:06 +00:00
wilko
020cb43c7e Add em(4) to Alpha. I had a couple running recently on Alpha and it
appeared to work fine.

Submitted by:	Konstantin Saurbier saurbier at mathematik uni-bielefeld de
2004-08-30 18:40:00 +00:00
sheldonh
236048c2f5 Regen:
* Hart:		rev 489 of pcidevs.txt (2004-08-23)
* Boemler:      vendors.txt (2004-08-30)
2004-08-30 15:50:50 +00:00
rwatson
5b94fb4ab6 Acquire Giant arounds calls into the linker from Netgraph sockets.
We now no longer hold Giant in send(), so it isn't inheritted by the
linker, which calls into VFS.

Reported by:	glebius
Discussed with:	glebius, bz
2004-08-30 14:41:25 +00:00
pjd
58b2814b3a According to module(9), when command is unrecognized, the module should
return EOPNOTSUPP.
2004-08-30 09:49:59 +00:00
phk
c13af7fc14 Add more KASSERTS and checks. 2004-08-30 09:33:06 +00:00
cperciva
b764d42615 Don't g_waitidle() when initializing a preloaded md. This fixes a
deadlock which otherwise occurs during the boot process.

Reported by:	kensmith
MFC after:	3 days
		(assuming that re@ approves)
2004-08-30 08:38:30 +00:00
brooks
caeacbe8d0 Add a new variable, ifi_epoch, to struct if_data. It is set to the last
time the interface counters were zeroed, currently the time if_attach()
was called.  It is indentended to be a valid value for RFC2233's
ifCounterDiscontinuityTime and to make it easier for applications to
verify that the interface they find at a given index is the one that was
there last time they looked.

An if_epoch "compatability" macro has not been created as ifi_epoch has
never been a member of struct ifnet.

Approved by:	andre, bms, wollman
2004-08-30 06:29:26 +00:00
ru
7388a02768 Added lang/perl5.8 to the doc/ ports list, it's the default Perl
version, and "make release -DNOPORTS" breaks without it.

Noticed by:	scottl

Keep lang/perl5 in the list because it's the default Perl version
for 4.x, and it's still possible to "make release" of HEAD on 4.x.
2004-08-30 06:19:34 +00:00
imp
7bef620f88 Fix BUS_DEBUG case 2004-08-30 05:48:49 +00:00
yar
cc1a84ed25 Use an ANSI-style definition for slstart()
in accord with the rest of the file.
2004-08-30 04:48:52 +00:00
yar
a0ba6f74c3 Grant the poor old SLIP driver with an if_start handler
so that it becomes happy and no longer panics the system
upon getting the very first packet to transmit.

Reported and tested by:	Igor Timkin <ivt@gamma.ru>
Reviewed by:		rwatson
MFC after:		5 days
2004-08-30 04:32:52 +00:00
alc
40e641adba Remove unnecessary check for curthread == NULL. 2004-08-30 03:52:05 +00:00
scottl
6a4dd028ba Enable aac(4) module build for amd64 2004-08-30 03:37:36 +00:00
scottl
90dfcc6264 Only compile aac_linux.ko for i386 2004-08-30 03:35:17 +00:00
marcel
5a77898b6d Set WARNS level to 2. 2004-08-30 03:12:49 +00:00
marcel
566bf98f4d Improve 64-bit cleanliness: make sure to use long format specifiers for
long arguments. This is WARNS=2 clean now.
2004-08-30 03:11:46 +00:00
marcel
2ca3e88887 Build kgmon(8) on ia64. 2004-08-30 02:59:11 +00:00
marcel
e95b695a1e s/ENTRY/ENTRY_NOPROFILE/g for particular functions that do not follow
the C calling convention or are otherwise not regular functions. This
allows us to boot a profiling kernel.
2004-08-30 01:32:28 +00:00
pjd
40e24fb49c Add a missing '\n'. 2004-08-30 01:10:20 +00:00
davidxu
1bb2a70d89 Only test return_instead if P_SINGLE_EXIT is set, otherwise a fork()
syscall can interrupt other thread's syscall in sleepq_catch_signals().
Current, all callers know thread_suspend_check may suspend thread
itself, so we need't to check return_instead for normal suspension
flags (no P_SINGLE_EXIT set).

Tested by: deischen
Reported by: Maarten L. Hekkelman <m.hekkelman@cmbi.kun.nl>
2004-08-29 23:10:02 +00:00
alc
9db659c514 Move the acquisition and release of the lock on the object at the head of
the shadow chain outside of the loop in vm_object_madvise(), reducing the
number of times that this lock is acquired and released.
2004-08-29 20:14:10 +00:00
marcel
772289b97b Put the ispfw.ko module on the EFI boot partition when creating a
bootable ISO. HP machines (like the rx2600) that (also) have isp(4)
may have a non-standard firmware on the controller. Our isp(4) driver
is not able to work with those and even panics. This makes installing
FreeBSD rather impossible. By adding the ispfw.ko module, we give the
user a chance to upload a certified firmware onto the card and so make
it possible to either use the isp(4) successfully or otherwise avoid
the panic.
2004-08-29 19:52:33 +00:00
des
aeb1a970cb Add -c option to preserve comments from GENERIC in the output. 2004-08-29 19:45:50 +00:00
des
f9c6584349 Remove the last remnants of HW_WDOG (no, really!) 2004-08-29 19:19:38 +00:00
marcel
4624eed2f8 In alpha_pci_alloc_resource(), when allocating a memory resource,
do not set the virtual address to the bus address when the bus
doesn't have either of the PCI_RF_DENSE or PCI_RF_BWX flags set.
The TGA driver uses the virtual address to access the registers,
which on some machines can cause a memory management fault.  Map
the bus address as K0SEG virtual memory instead. Note that with
some hardware combinations involving the TGA2 adapter this change
merely results that the memory management fault is replaced by a
machine check.
2004-08-29 19:07:14 +00:00
obrien
ec6c174ed5 Start the de-orbital burn of our previous FreeBSD version compat libs
living in usr/src.  We need to use them from ports to record dependencies.

Discussed with:	re(scottl)
2004-08-29 18:27:00 +00:00
imp
9c5a1c6da4 Initial support (disabled) for rebidding devices. I've been running
this in my tree for a while and in its disabled state there are no
issues.  It isn't enabled yet because some drivers (in acpi) have side
effects in their probe routines that need to be resolved in some
manner before this can be turned on.  The consensus at the last
developer's summit was to provide a static method for each driver
class that will return characteristics of the driver, one of which is
if can be reprobed idempotently.
2004-08-29 18:25:21 +00:00
imp
f060946fc6 MFp4: Merge in the patches, submitted long ago by someone whose email
address I've lost, that move the location information to the atttach
routine as well.  While one could use devinfo to get this data, that
is difficult and error prone and subject to races for short lived
devices.

Would make a good MT5 candidate.
2004-08-29 18:11:10 +00:00
ru
cf7c13b731 Finish the removal of the HW_WDOG option.
Hopefully, we'll finally have the compilable LINT kernels again.  ;)
2004-08-29 15:03:06 +00:00
kensmith
4cdf4d5c87 Protect the command flags set in the rc.conf files in case they're
more than one word, adding some quotes.

Advice from:	mtm (my first attempt wasn't quite right)
Reviewed by:	mtm
MFC after:	3 days
2004-08-29 15:02:43 +00:00
pjd
bd7f4be14b GCC, ehh. 2004-08-29 14:29:30 +00:00
simokawa
cb71f1ee6d Remove an unused variable. 2004-08-29 13:45:55 +00:00
des
500b256e50 Back out previous commit, ichwd is i386-only. 2004-08-29 11:26:36 +00:00
des
e53736d666 According to mdoc(7), HISTORY comes before AUTHORS.
MFC after:	3 days
2004-08-29 11:19:35 +00:00
des
1c62dd1fa8 Add a section for hardware watchdog timers, initially populated by ichwd.
MFC after:	3 days
2004-08-29 11:11:31 +00:00
des
646439dd5c Remove the HW_WDOG option; it serves no purpose.
MFC after:	3 days
2004-08-29 11:10:09 +00:00
des
c74ba88665 Back out the two previous commits; ichwd is i386-only. 2004-08-29 10:52:39 +00:00
obrien
444a3b31b7 Enable more modules on AMD64:
ciss em ext2fs i2c ida iir ips lnc mly safe scsi_low smbfs sppp twa
2004-08-29 10:05:00 +00:00
obrien
08e35a2f82 Enable sound modules. 2004-08-29 09:14:18 +00:00
maxim
0833f380c0 o Restore a historical ipfw1 logamount behaviour: rules with 'log'
keyword but without 'logamount' limit the amount of their log messages
by net.inet.ip.fw.verbose_limit sysctl value.

RELENG_5 candidate.

PR:		kern/46080
Submitted by:	Dan Pelleg
MFC after:	1 week
2004-08-29 08:25:02 +00:00
ru
e4a56ba589 Fixed the module name (macros don't work here). 2004-08-29 07:49:53 +00:00
tjr
d1c697339c Add cross-reference to ftw(3). 2004-08-29 06:39:58 +00:00
iedowse
0f3d04ce73 Add an entry for ichwd to hopefully unbreak the LINT build. 2004-08-29 03:59:49 +00:00
marcel
5f249a6ef0 Do not match TGA2 adapters. They are not compatible with TGA adapters,
nor are they 3D accelarators as the description would like us to
believe. Since the TGA2 adapter has a VGA mode (unlike the TGA adapter),
one can use the VGA driver instead.

This fixes GENERIC kernels on alpha with TGA2 adapters.
2004-08-29 02:53:07 +00:00
iedowse
0058e6a0f5 Fix two cases where a successful return from usbd_transfer() would
be treated as an error and cause a transfer to be freed twice. This
can probably only happen at boot time when transfers are processed
synchronously.
2004-08-29 02:35:59 +00:00