rumble
63c6a08fb6
Specify the member names of struct platform for clarity.
2006-12-27 07:45:11 +00:00
martin
e131201724
When converting FP exception codes, prefer overflow/underflow over
...
inexact result - this makes regress/lib/libc/ieeefp/except a bit happier.
2006-12-26 23:26:13 +00:00
rumble
d1139b199f
zskbd is unit 0, not 1.
2006-12-26 19:29:00 +00:00
rumble
0887b4b60e
Make backspace and control keys work.
...
XXX: Why does KS_BackSpace not do what we want? We're copying pckbd now...
2006-12-26 17:37:22 +00:00
ad
e96fca7884
Define ipl_t as uint8_t so that it can be packed into a word with a lock
...
byte. Ok yamt@.
2006-12-26 15:22:44 +00:00
martin
e404fd2fc6
Make the DDB_TRACE variant compilable
2006-12-26 12:28:31 +00:00
elad
504c71d9fe
Make machdep scope architecture-agnostic by removing all arch-specific
...
requests and centralizing them all. The result is that some of these
are not used on some architectures, but the documentation was updated
to reflect that.
2006-12-26 10:43:43 +00:00
rumble
78f4031e6d
Bring in support for the SGI Light/Entry/Starter LG1/LG2 framebuffers
...
found in Indigo systems.
2006-12-26 04:28:16 +00:00
wiz
3ed1aa9185
Spell "separate" correctly. From Zafer Aydogan.
2006-12-25 18:39:47 +00:00
wiz
0ec178eea9
Spell "relevant" correctly. From Zafer Aydogan.
2006-12-25 18:31:18 +00:00
rumble
21e8e22085
Add zskbd console attachment.
2006-12-24 03:57:44 +00:00
rumble
b830d82e42
The Set Engineering workaround is now set as a proplib entry in
...
sgimips/autoconf.c.
2006-12-24 02:07:29 +00:00
rumble
b4c47cf7f7
Set the DMA page boundary property for the Set Engineering GIO Fast
...
Ethernet board.
2006-12-24 02:05:55 +00:00
rumble
90e37dd7fb
The Set Engineering board now works, so enabled it with the appropriate
...
workaround option. Also, add 'tlphy' to keep the dmesg tidy (it's unused).
2006-12-23 21:30:42 +00:00
rumble
86f754de17
Permit sq(4) to attach to secondary HPCs, enabling support for the E++
...
GIO adapters and the secondary ethernet on the Challenge S (untested).
2006-12-23 21:25:51 +00:00
rumble
75aae500a9
Prefix 'dma_data{in,out}_cmd' with 'scsi_', since that's what they're used
...
for. Also, remove the 'clk_freq' variable, since this value differs on a
per-platform (IP12 is 20MHz, others are 10MHz) basis.
NB: I have no idea what frequency the GIO SCSI cards use. We'll have to
re-investigate this if we ever come across one.
2006-12-22 23:36:42 +00:00
rumble
ee970eec94
Remove errnoneous register definitions and rename some to be more specific.
...
Also, remove unused/invalid fields in our hpc revision abstraction and
be sure to zero entries when they do not apply to a specific revision.
2006-12-22 23:25:28 +00:00
rumble
b1d3f5ef52
Use SGIMIPS_BUS_SPACE_HPC, rather than hard-coding it.
2006-12-22 23:09:14 +00:00
rumble
5ecb2874d8
Determine if we've an onboard HPC. If not, we must set up the bus arbiter
...
appropriately. We may need to do further work to get the IOPLUS mezzanine
devices working as well.
2006-12-22 23:08:22 +00:00
rumble
905fd33243
s/Challenge-S/Challenge S/ and fix an incorrect comment.
2006-12-22 22:42:47 +00:00
rumble
15065b7e7b
Break our list of HPC devices into HPC1 and HPC3 variants. This cleans up
...
the list a bit and avoids Challenge S from using the HPC1 offets for its
HPC3-based secondary ethernet on the IOPLUS mezzanine board.
2006-12-22 22:38:42 +00:00
rumble
a295ad6c89
Revert the change to using objcopy in 1.9. Our present objcopy solution
...
results in unbootable ecoff kernels ("malloc_type_attach: bad magic"
panic). Maybe this could be fixed with appropriate flags, but elf2ecoff
produces working ecoff kernels and ecoff bootloaders, which was the reason
for the switch in the first place.
2006-12-22 21:07:52 +00:00
rumble
79cd03d3ea
Indigo and Indigo2 machines have only one shared interrupt for the two
...
GIO slots. This differs from Indy, which has an interrupt per slot, neither
of which is the same as on the other two machines.
This lets my Phobos G160 run in both slots in my Indigo2 and my E++ adapter
works in both slots in my Indigo.
2006-12-22 20:29:18 +00:00
jdc
06da305240
We don't need the cpu_startup() prototype here. It is already provided by
...
sys/systm.h. Pointed out by skrll@.
2006-12-22 18:00:19 +00:00
elad
3d11477c94
Add requests indicating access to unmanaged memory for arm, pc532, powerpc,
...
sh3, sh5, and vax, and use them instead of KAUTH_GENERIC_ISSUSER.
Update documentation and example secmodel code.
2006-12-22 11:13:21 +00:00
rumble
e42e4bd92a
EEPROM and LED controls occupy the same byte. Unify them again.
2006-12-22 08:35:46 +00:00
rumble
121e1e9bfa
Provide attaching hpc devices with the eeprom contents, should a chip be
...
connected to the HPC. The only real reason for doing this is to get the
mac addresses off of E++ ethernet boards and the Challenge S IOPLUS board.
If no eeprom is present, we read in invalid data and take some default
action (query ARCBIOS).
2006-12-22 08:17:14 +00:00
rumble
5e86516f78
Sprinkle static.
2006-12-22 05:26:01 +00:00
rumble
b8f12e0261
Rework detecting the HPC revision. In most cases we can presume what it is
...
based on mach_type (or at least know the major revision). The only case we
really need to concern ourselves with is differentiating between HPC1
and HPC3 on IP22. Specifically, between a HPC3 on the Challenge S IOPLUS
board and a HPC1.5-based adapter in an Indy.
2006-12-22 05:08:56 +00:00
rumble
fe14643cc2
Fix previous by including the necessary header.
2006-12-22 01:36:24 +00:00
rumble
d5df315486
Remove superfluous extern declarations; they're already in the headers.
2006-12-22 01:34:20 +00:00
rumble
af1144f245
Guiness -> Guinness.
2006-12-22 01:32:37 +00:00
rumble
2ae0b89234
Codenames for IP12 and IP20.
2006-12-22 01:26:44 +00:00
yamt
8bf7662829
merge yamt-splraiseipl branch.
...
- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
2006-12-21 15:55:21 +00:00
simonb
a236c92fa8
Fix a tyop, and a few other little punctuation nits while here.
2006-12-19 01:13:05 +00:00
gdt
38eac16b69
Use agp_machdep.c from the new location (x86, not i386).
2006-12-18 20:07:36 +00:00
nonaka
964e61ba35
compile again.
2006-12-18 15:32:10 +00:00
nonaka
751c643773
Bump up SYMTAB_SPACE.
2006-12-18 15:31:30 +00:00
nonaka
405a97b628
Fix evbarm compile again.
2006-12-18 15:30:56 +00:00
nonaka
225dafea20
cosmetic
2006-12-18 13:50:58 +00:00
nonaka
9dc4fd032d
Remove unused files.
2006-12-18 13:36:47 +00:00
christos
03f66b5764
Moved from i386/pci/agp_machdep.c; from Blair Sadewitz
2006-12-18 12:11:33 +00:00
christos
75cde65fed
move to x86/pci/agp_machdep.c from Blair Sadewitz
2006-12-18 12:10:42 +00:00
christos
8e5125c9ca
Attach agp too.
2006-12-18 12:07:40 +00:00
skrll
03c2b891e6
Update uvm_grow to support stacks that grow upwards.
...
Use on hppa and fix a bug in the hppa trap handler.
2006-12-18 09:39:14 +00:00
ad
f48eb2511b
__cpu_simple_unlock(): add a note about memory ordering and why this is
...
correct, contrary to Intel's documentation.
2006-12-18 07:34:42 +00:00
simonb
346a126e90
Handle KSEG0 addresses specifically in pmap_extract(), similar
...
to how other KSEG-style pmaps (alpha, sh3, sh5) do.
Add a DIAGNOSTIC panic for KSEG1 addresses (nothing should touch
uncached memory, right?)
Clean up the the pmapdebug printfs a little too (athough with
more ugly #ifdef DEBUG bits of code).
XXX: should use DPRINTF() type printfs here.
Fixes panic running regress/sys/kern/umount on MIPS platforms
reported by Martin Husemann.
2006-12-18 00:40:26 +00:00
bouyer
ea4f35dcd0
Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
...
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.
2006-12-17 23:02:06 +00:00
bouyer
462dc620e3
Add mfi(4), a driver for LSI Logic & Dell MegaRAID SAS RAID controller.
...
Ported from OpenBSD, tested on i386 and amd64.
2006-12-17 22:57:14 +00:00
macallan
b2bac7650b
don't pretend to support 8kHz since the chip really doesn't
...
noticed by Marco Trillo
2006-12-17 21:26:04 +00:00