Commit Graph

148130 Commits

Author SHA1 Message Date
christos
fcad4273ae PR/33763: dieter roelants: Realtek 8168B doesn't function. Don't align
for i386/x86_64. From FreeBSD.
2006-06-18 21:29:48 +00:00
kardel
e1a3a74084 NetBSD Coverity CID 3797: bad return code check for open(2) fixed
(!fd replaced with fd < 0)
2006-06-18 21:25:13 +00:00
kardel
b58f2a229e NetBSD Coverity CID 3796: possible NULL deref 2006-06-18 21:20:35 +00:00
uwe
bf745482a4 Hide struct bintime and pertinent inline functions under #ifdenf _KERNEL.
This code is not intended to be visible by the userland anyway, and it
also triggers a bug in SPARC's gcc 3.3.* that causes bootxx to explode
beyond its size limit (gcc emits unused reference to __muldi3).
2006-06-18 21:09:24 +00:00
uwe
59d7f20391 Do not instal net/if_pppvar.h, net/if_slvar.h and net/if_stripvar.h.
The former two are no longer necessary as slstats is no more
and pppstats now uses an ioctl instead of rummaging through kmem.
The latter has nothign interesting for the userland, but uses
struct bintime that I'm about to hide under #ifdef _KERNEL.

A bunch of remaining <net/if_*.h> headers is pretty useless to the
userland too, but ... someone else's yag to shave...
2006-06-18 21:02:16 +00:00
christos
097de97608 reset kbc as the comment said. from joerg. 2006-06-18 20:53:10 +00:00
scw
301e60300b Pull in <string.h> if !_KERNEL, otherwise gcc4 complains about no
prototype for memset(3) (in AUDIO_INITINFO()).
2006-06-18 20:45:09 +00:00
nonaka
3b9b5a75bb Added 'Low Voltage Intel Pentium M processor 1.30 GHz' entry. 2006-06-18 16:39:56 +00:00
rpaulo
656f536d09 Use IFQ_IS_EMPTY(). 2006-06-18 16:14:10 +00:00
rpaulo
7a69791e70 Remove IF_PREPEND() to comply with altq. I think the logic is safe to just
remove the macro call.
2006-06-18 15:44:49 +00:00
rpaulo
c545be67e3 When calling IF_DEQUEUE() check if the dequeued mbuf is NULL to comply
with altq.
2006-06-18 15:37:27 +00:00
gdamore
494d0cb31a Forgot to commit these for TOOL_SED. Thanks to tsutsui@ for pointing it out. 2006-06-18 14:38:48 +00:00
christos
d89021fe17 Modernize:
getopt -> getopts
	`` -> $()
	YES/NO -> true/false
	[ x$f = x ] -> [ -z $f ]
	test -> [
	errors to stderr
2006-06-18 14:28:12 +00:00
christos
8ab9b7b454 PR/33760: dieter roelants: a default install can't send mail due to
missing aliases.db
2006-06-18 14:05:34 +00:00
xtraeme
0b27695a68 Fix AMD 766 PMC entry. 2006-06-18 10:34:34 +00:00
xtraeme
84989a2fad regen 2006-06-18 10:33:42 +00:00
xtraeme
06684d3b32 Add ALI M1533 PCI-ISA Bridge 2006-06-18 10:33:12 +00:00
xtraeme
9552b18ed1 Match the following products:
* SIS 962 and SIS 963
* AMD 766 and AMD 768
* ALI M1533

... syncing the code with openbsd.
2006-06-18 09:57:37 +00:00
xtraeme
c8a267e9c8 Sync with openbsd and apply fix from mickey@openbsd rev 1.5:
"It seems that via has 7, not 4 pci interrupt lines.
this fixes unmapped interrupts on some via-based boards."
2006-06-18 09:55:11 +00:00
wiz
35c2a3d2fc Remove superfluous character. 2006-06-18 09:27:41 +00:00
wiz
3f76175ac9 Drop trailing whitespace. 2006-06-18 09:25:15 +00:00
dogcow
444e690921 Remove various dotfiles that wandered their way in. 2006-06-18 08:59:39 +00:00
gdamore
ef3a65883d Fix to make this cross compile on Solaris. (Don't include sys/endian.h
if HAVE_NBTOOL_CONFIG_H is defined.)
2006-06-18 05:53:51 +00:00
gdamore
5b4951cdf4 Use TOOL_SED for asm2gas, which makes it possible to cross-compile this
on Solaris 10.  (Solaris 10's sed doesn't like the comment lines, and
also complains about too many commands in the input.)
2006-06-18 05:21:21 +00:00
gdamore
d9ac053afa Make TOOL_SED, to allow using our own sed in cases where the host's version
is busted in some way.

The TOOL_SED doesn't use TIOCGWINSIZE, and has some changes to include
nbtool_config.h in a cross build environment.

Combined with some other changes (not yet committed), this allows cross
compiling m68k code on Solaris 10/amd64.
2006-06-18 05:16:41 +00:00
christos
4f29764cfe Update for latest powersave api. 2006-06-18 02:59:21 +00:00
christos
1251317743 Jared asked me to commit the powerhooks for this 2006-06-18 02:25:18 +00:00
christos
63bbcb495a re-factor the pci powestate api. reviewed by gimpy 2006-06-17 23:34:26 +00:00
christos
99d15da99a Don't dick with cr3. It pisses pmap.c off. 2006-06-17 20:14:26 +00:00
mrg
911a6956b3 add another GCC4 uninitialised variable warning. it only shows with -O3. 2006-06-17 19:00:03 +00:00
uwe
46daac62de G/c KMSRCS and KMINCLUDES now that we have common/lib/libc 2006-06-17 18:04:23 +00:00
jmcneill
38d73745c0 Forgot to commit the register definition for PIIX_UDMATIM. 2006-06-17 17:45:52 +00:00
jmcneill
e1b3711024 More ACPI wakecode changes:
* Enable VBIOS hack by default
	* Beep while calling VBIOS, for debugging.
	* Fix a DIAGNOSTIC error in the sleep path.
	* Remove the erroneous mutex not locked error message.
2006-06-17 17:11:53 +00:00
jmcneill
efd8b75c34 For Ricoh 5c47x class controllers, restore the "misc control" PCI config
register on resume.
2006-06-17 17:06:51 +00:00
jmcneill
5045be0e4d Restore IDE and UDMA timings on resume for the PIIX4. 2006-06-17 17:05:20 +00:00
jmcneill
7efa3ff635 Restore the device activity PCI configuration registers on resume. 2006-06-17 17:04:44 +00:00
xtraeme
be705fc9c7 Support for the 24/32bit timer in the AMD 768 Power Management
Controller, to try it use `sysctl -w kern.timecounter.hardware=amdpm`.

From OpenBSD.
2006-06-17 15:05:15 +00:00
simonb
62496a150d LCD and PCMCIA address info is chip-specific and not board-specific.
Remove them from here.
2006-06-17 14:42:54 +00:00
tsutsui
0d19f25f87 Fix typo and a function name in panic message. 2006-06-17 14:11:16 +00:00
tsutsui
0b8cd19c9e Remove extern from function declarations. 2006-06-17 14:10:28 +00:00
rjs
58b3f82903 Rename IPL_IMP to IPL_VM, needed for CardBus support. 2006-06-17 12:44:52 +00:00
kardel
d58917ea1c cope with situations where interface are UP and bound to
INADDR_ANY - ntpd will ignore those interfaces
(bug 637 @bugs.ntp.isc.org)
2006-06-17 12:11:55 +00:00
xtraeme
e446596092 Mention support for NVIDIA MCP04/MCP55 IDE/SATA controllers and
VIA VT8237R SATA controller.

Bump date.
2006-06-17 09:00:58 +00:00
kardel
51b815822b mark branch terminated 2006-06-17 08:34:46 +00:00
elad
fc534d00ff mark strpy safe 2006-06-17 08:32:42 +00:00
kardel
a92b1ff84d move timecounters-branch to individual developers terminated section 2006-06-17 08:29:57 +00:00
elad
1b28df2fb7 strncpy -> strlcpy 2006-06-17 08:22:06 +00:00
xtraeme
4adbe74d71 s/SATA/Serial ATA/ 2006-06-17 08:10:17 +00:00
xtraeme
87cdb22404 Enable support for NVIDIA MCP04 and MCP55 IDE/SATA Controllers, tested
by rillig with MCP55.
2006-06-17 08:03:14 +00:00
yamt
7d3142aa6a - introduce vfs_composefh() and use it where appropriate.
- fix lock/unlock mismatch in sys_getfh.
2006-06-17 07:06:50 +00:00