Commit Graph

144296 Commits

Author SHA1 Message Date
yamt
a5fe09f2de remove a wrong assertion. 2006-03-10 11:07:01 +00:00
christos
f7f0b66150 Do not use SCARG() in userland. Eliminates need for <sys/systm.h>. 2006-03-09 23:44:43 +00:00
uwe
042caffba8 XXX: #undef SET before including <machine/config_hook.h>, which defines
SET as a nickname for CONFIG_HOOK_SET to be used in kernel config files.
Makes ioconf.c compile again.
2006-03-09 23:41:13 +00:00
he
17acd2c1c5 Add recognition of Nortel Baystack 21 as an rtk8139 variant.
Rest of information submitted in PR#33044.
2006-03-09 22:17:49 +00:00
he
09dd8aa07e Commit regenerated files after adding Nortel Baystack 21 info. 2006-03-09 22:15:19 +00:00
he
ca9813a911 Add vendor code for Nortel and Baystack 21 id. Part of info
submitted in PR#33044.
2006-03-09 22:14:48 +00:00
macallan
934c5059a7 add commented out DBRI_* options 2006-03-09 20:58:40 +00:00
garbled
7001ea36f9 Make INSTALL compile again with the new changes. Try to clean it up a
little too.
2006-03-09 20:58:12 +00:00
macallan
494a6eb736 default to sun terminal emulation, add DBRI_* options and comments 2006-03-09 20:58:00 +00:00
macallan
b4978607ac keep the chip powered down when not in use on machines that support it
( like SPARCbooks ) - needs testing on other machines
tested on my SPARCbook 3GX
2006-03-09 20:44:18 +00:00
gdamore
08f478e5ab Fix the RTC so that the AU1550 keeps accurate time. The RTC is taken from
the TOY register, which is presumed to be seconds since Jan. 1 2000.

For now I'm assuming the trim divider is 32K, which makes 1 tick per sec.
This is true for the DBAU1550 board at least.  Other boards might need to
initialize a reasonable trim counter and establish the 32KHz oscillator.

In any case, this code is *no worse* on older systems than what was there
before.
2006-03-09 20:42:18 +00:00
garbled
fbf9d81aaf Deleting this kernel. These days it looks pretty much identical to
GENERIC.. so I'm not sure what it is supposed to be an example of.
2006-03-09 20:22:52 +00:00
garbled
1dd8b98704 Prep super-commit:
1) create new pnpbus psuedo bus.  This is a bus layer that reads the PNP
tree from the residual data and allows attachment of devices with the
information given therein.  Based loosely on i386/pnpbios.

2) Delete obio bus, as with the pnp bus we no longer need it.

3) Create a number of functions that gather the information needed to set
up the machine from the residual data, rather than hardcoding it in.

4) Create a quirk table for machines that are bizzare enough that the
residual information is not sufficient.  (such as the 6015)

5) Using the data gathering routines and the quirk table, delete struct
platform completely from the architecture.  Prep is now almost completely
dynamic in figuring out the machine it is running on and setting things
up properly.

6) Add a wdc_pnpbus driver which attaches the wdc controller found on
some 7248's and the 6015.  This replaces the now-defunct wdc_obio.

7) delete all the mot_* and ibm_* files, and replace them with a single
ibm_machdep.c which only contains the quirk functions for the 6015 and
the 6050.

8) Modify GENERIC to work with all this stuff.
2006-03-09 20:17:27 +00:00
he
f45aef6127 Remove now-unused local variable. 2006-03-09 18:50:17 +00:00
he
cbc9e47bd2 Give it 10000 bytes more SYMTAB_SPACE, so that it fits again. 2006-03-09 18:48:20 +00:00
wiz
79e2096684 cdrecord package has been renamed to cdrtools, fix paths.
From OKANO Takayoshi in PR 33008.
2006-03-09 18:10:07 +00:00
wiz
009e260f10 Fix a URL. From OKANO Takayoshi in PR 33001. 2006-03-09 18:07:53 +00:00
wiz
3a1bb3b232 Fix some URLs. From OKANO Takayoshi in PR 33001. 2006-03-09 18:07:30 +00:00
christos
eebf12020e files moved from arch compat layout 2006-03-09 16:20:55 +00:00
christos
22d2b3199c Welcome to the new compat layout. 2006-03-09 16:20:27 +00:00
jmcneill
777ce723e2 Save and restore PCI configuration state on suspend/resume. 2006-03-09 16:02:55 +00:00
hamajima
28405426f4 Add support for EXAR XR17D15x serial. 2006-03-09 15:24:21 +00:00
hamajima
2e79c90835 Add support for EXAR XR17D15x serial.
(I tested only XR17D154.)
2006-03-09 15:16:13 +00:00
hamajima
3762b561e7 Regen: Add EXAR devices, and fix duplicated NVIDIA product id 0x0057. 2006-03-09 15:09:13 +00:00
hamajima
190c7ab6ea Add EXAR devices.
Fix duplicated NVIDIA product id 0x0057.
2006-03-09 15:06:45 +00:00
hubertf
164b476f23 Add & enable smbfs
Patch by Michael-John Turner <mj@turner.org.za> on port-sparc64@,

Reviewed & OK'd by martin@
2006-03-09 11:38:15 +00:00
macallan
4e4b29e7e3 this should have been committed with p9100.*
add the vcons attribute to pnozz
2006-03-09 05:42:35 +00:00
dogcow
824b02d959 add ACPI_DSDT_OVERRIDE and ACPI_DSDT_FILE 2006-03-09 00:34:07 +00:00
lukem
a1f606d3fd Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
scottr
9e93b0c323 Cleaner check for offset to grf_mmap 2006-03-08 23:37:15 +00:00
jmmv
582b13f281 Fix typo: inteface -> interface. 2006-03-08 22:47:40 +00:00
dsl
5e60bf00ce Avoid calling JobRestartJobs() from the SIGCONT signal handler, instead
push a byte through the (now badly named) exit_pipe and call JobRestartJobs()
from the main code path when poll() wakes up.
Part of a plan to remove JobSigLock() and the zillions of system calls
it does.
2006-03-08 22:11:48 +00:00
macallan
a12ced4fd9 sprinkle #if NWSDISPLAY > 0 to make this compile cleanly without wscons again 2006-03-08 20:09:01 +00:00
hubertf
05524656d1 in src.tgz, set build.sh permissions +x 2006-03-08 19:18:04 +00:00
dyoung
fe756b012b config(8) creates opt_ah.h, no need to do so here. 2006-03-08 17:06:07 +00:00
dyoung
f2746f1ea3 No need to create opt_ah.h here, config(8) takes care of it. 2006-03-08 17:03:13 +00:00
nathanw
422fd73258 This copy of bus_dma.c is unused; evbppc ports have referenced
powerpc/powerpc/bus_dma.c for over two years.
2006-03-08 15:18:39 +00:00
he
927b30ab63 Remove yet another instance of the macro triplet SET/CLR/ISSET, now
found in <sys/types.h>.
2006-03-08 12:10:58 +00:00
he
5bc221cbe3 Remove yet another instance of the macro triplet SET/CLR/ISSET, now
found in <sys/types.h>.
2006-03-08 10:48:40 +00:00
sekiya
11927f82ba The network bootloader entry point should be nisse(), not start(). Fixes a
very long-standing netboot issue.

Patch contributed by Hans Rosenfeld.
2006-03-08 09:32:22 +00:00
dyoung
cafe884d2c Change macro names to avoid collisions:
BIT -> __BIT
BITS -> __BITS
2006-03-08 08:26:50 +00:00
thorpej
b0275539fe Make extent_alloc_subregion(), extent_alloc(), and extent_alloc1() real
functions, not CPP macros.
2006-03-08 04:43:00 +00:00
jonathan
b9c6a2634b Rework Linux sysctl()-emulation, so that on amd64, we return the same
Linux kernel-version as on i386 and ppc (currently 2.4.18), and a date
in Feb 2002.

On all other NetBSD platforms we return a Linux-kernel version of
2.0.38 and a date sometime in 2000, which (AFAIK) predates the
existence of amd64, and therefore predates Linux support for amd64.

To me, it makes much more sense to return the same Linux-kernel-version
and date for both 32-bit x86 and 64-bit x86.

Empirically (and not least), this change also allows SuSE 10 amd64
binaries to run under our Linux amd64 binary emulation (both static
and dynamic-linked, given suitable setup) , which they didn't when we
reported a Linux/x86_64 kernel version of 2.0.38.
2006-03-08 03:55:31 +00:00
christos
93edf29420 Fix clock reading problem on turbo nexts and color slabs. First
reported by: Timm Wetzel twetzel at gwdg.de on 2001-06-22, and now
again by: Cory Bajus cbajus at mts.net
2006-03-08 03:29:49 +00:00
msaitoh
1e5874b3c2 fix memory leak when resetting the source address and destination address. 2006-03-08 03:09:33 +00:00
jnemeth
1a6a87b59b PR/23616: Christian Biere: login might not back-off as expected 2006-03-08 03:09:04 +00:00
jnemeth
2e3c4f59d7 PR/23616: Christian Biere: login might not back-off as expected 2006-03-08 02:49:18 +00:00
christos
f02eb7273c rename ISSET to ISBITSET. 2006-03-08 02:10:04 +00:00
macallan
d443f196f2 report lid and AC power state to sysmon 2006-03-08 01:17:49 +00:00
dyoung
ce412dc403 Straggler from previous commit: rename macro LSHIFT->SHIFTIN. 2006-03-08 00:26:43 +00:00