Commit Graph

148465 Commits

Author SHA1 Message Date
wiz a583fd878d Drop trailing whitespace. 2006-06-20 06:28:32 +00:00
garbled 1efe96e909 Basic prep timecounter support. This greatly increases the stability of
ntp on my 7248, however, my 7043-140 is still a bit flaky.  I suspect the
only way to fix the 7043 is going to be writing a timecounter driver for
the 8254 present on these machines.  Either way, this makes some of the
machines better, and the other machines are still about the same as they
were before, so it's a net gain for the port.
2006-06-20 05:49:09 +00:00
jdc 67dcc592dc Mention installboot and sparc changes to support RAID boot. 2006-06-20 05:44:47 +00:00
jdc ad424c18b3 Add some PROM monitor and Open Boot PROM boot-related commands and a
BUGS section describing boot limitations.
2006-06-20 05:43:37 +00:00
jdc 4e27372d03 Add support to the 2nd stage boot loader for booting from RAID
partitions.  We do this by checking the NetBSD label to see if the
boot partition is of type RAID.  If so, we offset reads from the
disk so that the kernel image can be read.

Note that with this code, sun4 machines (with PROM monitor) will only
boot from RAID if the RAID partition is the first one on the disk.

Tested on a SPARCstation 20, a SPARCstation 2 and a 4/330.
2006-06-20 05:41:59 +00:00
jdc 373c752392 Add support for finding files on RAID partitions. This allows us to
add the block list of the 2nd stage boot loader to the 1st stage boot
loader when the partition is a RAID partition.  Tested on sparc.

Reviewed by gdt.
2006-06-20 05:37:24 +00:00
christos 18b73e414c Don't allocate too much stuff on the stack. 2006-06-20 03:22:12 +00:00
christos e6ea8fe642 Don't allocate too much stuff on the stack 2006-06-20 03:21:30 +00:00
christos 709b2e6f55 don't allocate too much stuff on the stack. 2006-06-20 03:20:44 +00:00
christos 8dc1cf5155 PR/33445: Brian Buhrow: Fix a number of problems with the pdcsata driver:
> The driver for the family of Promise SATA controllers,
> /usr/src/sys/dev/pci/pdcsata.c is not very robust when it comes to handling
> transient drive errors, or interrupt hickups when the card is under load.
> Worse, my experience seems to indicate, and the Linux driver confirms,
> that these cards tend to fall over rather frequently during high load
> operations or if drives unexpectedly reset or go to sleep.  Symptoms
> include interupt timeouts during heavy load, the inability to reset drives
> if they go to sleep, and a failure of the card to generate interrupts at
> all if the interrupt load gets too high.
2006-06-20 02:39:58 +00:00
jmcneill 1404a243f2 Add powerhook for wm(4), from George Michaelson <ggm AT apnic DOT net> 2006-06-20 01:16:23 +00:00
gdamore d106438030 Make include of opt_bluetooth.h unconditional. 2006-06-19 22:38:55 +00:00
christos 89826912b8 Add another rogue card. 2006-06-19 21:53:57 +00:00
rpaulo 6c7e5e5535 Enable altq for macppc. 2006-06-19 21:36:56 +00:00
rpaulo 700760bd47 Add ALTQ_PRIQ. 2006-06-19 20:40:48 +00:00
dogcow f76552d855 Huzzah. /bin/pwd -P, instead of silently failing, now returns an error code
on many linuces I've tried. If so, bail and invoke /bin/pwd sans argument.
2006-06-19 18:12:30 +00:00
tnozaki 2bcfe3b4c8 added Chinese Tradisional Big5 family,
Big5-2003, Big5-ETen, Big5-IBM, Big-5E, Big-5+.

``Big5 is now the alias of Big5-ETen,
if you want Unicode.org's obsolete mappings, use Big5-IBM instead.
2006-06-19 17:28:24 +00:00
gdamore 7b03593e9b Note bluetooth support. 2006-06-19 17:02:58 +00:00
gdamore abf73663d1 Regen pcmciadevs. Sorry. 2006-06-19 16:44:24 +00:00
gdamore a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
jmcneill 052a8ad2ad Restore PCI configuration space on resume. 2006-06-19 13:56:29 +00:00
jmcneill 3e47be4df9 Restore yds(4) state on resume. 2006-06-19 13:55:40 +00:00
jmcneill bd22603476 Halt input/output on soft suspend if currently running, and restore them
on soft resume.
2006-06-19 10:19:08 +00:00
jmcneill a3f69214b6 acpi_pci_fixup didn't work as well as I had hoped; don't bother for now. 2006-06-19 10:18:08 +00:00
jmcneill 3c27eb63b5 cube@ says that acpi_pci_fixup() only writes in devices interrupt line
registers, so restore the PCI-ISA bridge IRQ routing here again.
2006-06-19 10:08:16 +00:00
hannken 835f09ae96 db_stack_trace_print(): Enable backtrace with pid argument.
Approved by: Martin Husemann <martin@netbsd.org>
2006-06-19 08:44:45 +00:00
jmcneill 6df1267b6f Enable interrupts in the error path also. 2006-06-19 02:33:19 +00:00
jmcneill 3aa64055a0 Fixup PCI interrupt routing using ACPI tables on return from S3 sleep.
Requires options PCI_INTR_FIXUP in your kernel.
2006-06-19 02:32:12 +00:00
jmcneill dda9d480db Don't try to fixup PCI interrupt routing here; we're going to use ACPI to
do this for us instead. This prevents us from having to write chipset
specific support -- yay!
2006-06-19 02:30:35 +00:00
chap 2c3d85cc29 Not related to chap-midi branch; corrects two compilation errors induced
by a stack-police commit to the HEAD.  (Is this why so many comments about
catching up with -current say "here we go again"?)
2006-06-18 23:15:33 +00:00
kardel d66ddb6f9c use the version that is now in ntp-stable (4.2.2 release branch) 2006-06-18 22:48:51 +00:00
kardel 7d46a5bb55 NetBSD Coverity CID 3804: avoid file pointer leak 2006-06-18 21:35:57 +00:00
christos 1c541a0edd Regen 2006-06-18 21:32:50 +00:00
christos 8b28dc1494 PR/33761: dieter roelants: NetBSD doesn't recognize a RealTek 8168B nic 2006-06-18 21:32:24 +00:00
kardel 50fd338dac NetBSD Coverity CID 3799: overrun static array (off by one) fixed 2006-06-18 21:30:19 +00:00
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