sekiya
e2a64ba528
Nuke homegrown PCI configuration routines. #ifdef'd out by tsutsui@ a long
...
time ago; this is just garbage collection.
2007-04-17 12:41:57 +00:00
sekiya
1eb315b681
g/c unused file.
2007-04-17 12:29:06 +00:00
jmcneill
1fcc2e9929
Fix crime_intr so intr handlers registers w/ crime_intr_establish actually
...
get called. "seems more right to me" mrg@
2007-04-16 23:31:04 +00:00
jmcneill
6f89ab967c
Flush the write buffer as appropriate in the MACE case as we do in the
...
non-MACE cases. From sekiya@
2007-04-16 12:19:00 +00:00
jmcneill
c1ee0b42d1
We don't support WSDISPLAYIO_[SG]VIDEO, so don't try to hide it.
2007-04-15 20:37:24 +00:00
jmcneill
69a102c0bb
Disable the CRIME watchdog for now; looks like we can't keep up with it
...
under load. With this patch, my O2 is finally running stable.
2007-04-15 04:42:55 +00:00
jmcneill
ed55554c70
We don't use the RTC interrupt (yet), so mask it as well.
2007-04-14 20:57:55 +00:00
jmcneill
dd9aa16186
Disable count/compare timer interrupts, as NetBSD does not use these.
2007-04-14 19:36:46 +00:00
jmcneill
8dd565451d
Don't bother attaching if the keyboard is not the console. Reduce the
...
amount of time that macekbc_wait takes before timing out, and don't
bother checking the status of unattached ports in the interrupt handler.
2007-04-14 15:11:39 +00:00
martin
6668495936
Avoid crashing if booting via serial console
2007-04-14 10:59:18 +00:00
macallan
ec27b894ba
also include files.rasops
2007-04-14 04:50:40 +00:00
jmcneill
b7875ec423
Add shadow framebuffer support; scrolling the screen still isn't great,
...
but it's noticeably better now than it was before.
2007-04-13 12:21:00 +00:00
jmcneill
d8dfb3533c
GC a few commented out lines of code, no functional change.
2007-04-13 03:42:39 +00:00
jmcneill
d3000ebca1
Enable mavb audio device.
2007-04-13 03:40:22 +00:00
jmcneill
7d13eb09bd
Remove traces of macau, it never existed in the first place apart for
...
a handful of register definitions.
2007-04-13 03:39:44 +00:00
jmcneill
845cd29d75
Add SGI O2 MACE audio driver, from OpenBSD.
2007-04-13 03:37:41 +00:00
jmcneill
e7c2f5f47f
Add some MACE audio bit definitions, from OpenBSD.
2007-04-13 03:36:24 +00:00
jmcneill
7abea6b501
Don't claim to be the console if we're supposed to be using a serial
...
console. While we're here, save a few MB of RAM by properly calculating
the framebuffer size based on the selected video mode.
2007-04-12 22:30:48 +00:00
jmcneill
e88e747668
Replace pckbc with macekbc.
...
Enable crmfb
Enable wsfont, wsmux
2007-04-12 13:14:53 +00:00
jmcneill
eaf962445e
Remove pckbc_mace, it has never worked and has been replaced by macekbc
2007-04-12 13:12:00 +00:00
jmcneill
5d51f0c963
Enable O2 onboard framebuffer driver.
2007-04-12 13:10:59 +00:00
jmcneill
d4c79dc9a5
Add crmfb, a framebuffer console driver for the onboard O2 video (SGI-CRM)
2007-04-12 13:10:20 +00:00
jmcneill
ab47cb33cd
Add SGI MACE ps2 keyboard/aux controller driver. ok rumble@
...
XXX can someone confirm that we can remove pckbc_mace?
2007-04-10 23:44:10 +00:00
macallan
43b2c2b989
include files.wsfb
2007-04-10 02:50:32 +00:00
rumble
9b1a76ecf8
The wd33c93 chip appears to be clocked at 20MHz for all systems with a HPC.
2007-03-30 19:04:40 +00:00
sekiya
5afc64c3b1
Update my bits of the TODO list.
2007-03-25 00:49:31 +00:00
drochner
ab07e481e4
It doesn't make sense to specify "configuration" and "interface"
...
locators for uhub because a hub can't have sub-devices.
This might be sanity-checked eventually.
Same for ubt now after the change to device attachment.
2007-03-14 12:27:20 +00:00
tsutsui
4fc7add5a3
Use (char *) to appease -Wpointer-arith.
2007-03-06 12:41:52 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
thorpej
f6d76ae22a
TRUE -> true, FALSE -> false
2007-02-22 16:45:48 +00:00
rumble
b8aa615905
Make this compile again.
2007-02-22 01:04:18 +00:00
thorpej
712239e366
Replace the Mach-derived boolean_t type with the C99 bool type. A
...
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
mrg
4410329b87
add a pair of new bus_dma(9) functions:
...
int _bus_dmatag_subregion(bus_dma_tag_t tag,
bus_addr_t min_addr,
bus_addr_t max_addr,
bus_dma_tag_t *newtag,
int flags)
void _bus_dmatag_destroy(bus_dma_tag_t tag)
that allow a (normally broken/limited) device to restrict the bus address
range it can talk to. this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.
all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.
XXX: bus_dma(9) needs an update still.
2007-02-21 20:41:23 +00:00
rumble
a701d81379
Disable handling of the power interrupt. We aren't handling it properly and
...
hitting any of the buttons results in infinite such interrupts.
2007-02-21 04:33:41 +00:00
rumble
1a50f13991
Since IP12 doesn't use ARCS, we could read the console setting from the
...
nvram, but it may not be valid. For example, if the console is set to
graphics, but no keyboard is attached, we should not attempt to use a
graphical console.
To fix this, we extend arcemu to parse the prom's environment array, which
is the third argument to the kernel. If the console mode is graphics, but
no keyboard is found, the 'gfx' environment variable will contain 'dead'.
Note that since IP12 has no bootloader, we assume that the third parameter
is the environment table, not bootinfo.
2007-02-21 04:27:10 +00:00
rumble
992fd734bf
Nix a few completed tasks.
2007-02-21 02:53:41 +00:00
rumble
1c8d0954e6
Add a reasonably disgusting hack to not complain about a non-configured
...
"sq" or "wdsc" device in the GIO32 SCSI and E++ adapter cases,
respectively.
This file is getting nasty, but we've just about covered all the bases now.
2007-02-20 23:49:20 +00:00
rumble
06d4753ba6
Add wdsc devices for the GIO32 SCSI adapter.
2007-02-20 23:45:09 +00:00
rumble
f17c59def9
Only read the eeprom once per hpc.
2007-02-20 23:09:15 +00:00
rumble
043fd3ee40
Enable GIO32 SCSI adapters to attach at secondary and tertiary HPCs.
2007-02-20 22:21:26 +00:00
rumble
6db143f7fd
Add probe for wdsc so that we do not falsely attach wdsc(4) devices to E++
...
ethernet adapters.
By resetting the chip we also allow the wd33c93 attach routines to succeed.
Otherwise, device register accesses would result in a bus error.
2007-02-20 21:54:44 +00:00
rumble
cc1161439c
Add a real probe so that we don't attach sq(4) on GIO32 SCSI adapters.
2007-02-20 16:11:38 +00:00
rumble
2c7e45820a
Support the sq(4) interface on the Challenge S's IOPLUS mezzanine. This
...
requires us to configure the IOPLUS to use the appropriate DMA channel,
depending on what other expansion cards may be installed. Further, we need
to do a bit more configuration of the sq(4) DMA engine, which apparently
was formerly being configured properly by the PROM. Use the same values,
which appear to work fine.
Also, extend the gio_arb_config interface as needed.
NB: We're currently setting the IOPLUS board to long burst, but it may be
better to use realtime. This will require some experimentation.
2007-02-19 20:14:30 +00:00
rumble
ba3f4cc332
Update a comment: G100 has now been tested.
2007-02-19 04:48:37 +00:00
rumble
acd87b911b
regen.
2007-02-19 04:47:06 +00:00
rumble
4468ccf7ad
PHOBOS_G100 is 100Mbit only - don't lie. Also, make it clear that
...
SETENG_GFE is 10/100.
2007-02-19 04:46:33 +00:00
ad
e2147a0dfd
+ mutex.h, rwlock.h
2007-02-18 16:25:44 +00:00
ad
3363855a4a
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
...
via a soft interrupt. In the near future, softclock will be run from process
context.
2007-02-16 02:53:43 +00:00
ad
b07ec3fc38
Merge newlock2 to head.
2007-02-09 21:55:00 +00:00
tsutsui
5a003ebca0
Accept RX packets which are larger than ETHER_MAX_LEN but can be stored
...
into RX mbufs.
(BTW, is there any way to allocate RX mbufs aligned at PAGE_SIZE?)
2007-02-04 06:16:12 +00:00