Age | Commit message (Collapse) | Author |
|
figure out how the interrupt was routed from xbridge to xheart... (it bypasses
the regular `have xbridge send a xio interrupt packet' mechanism)
|
|
specified in the kernel configuration file, but is provided by macebus(4)
as part of the child device attachment args, and provide both crime and
mace interrupt bitmasks; this allows us to only really enable interrupt
sources we care about, and to avoid invoking interrupt handler we don't need
to for the few mace interrupts multiplexed at the crime level.
|
|
on all systems but O2 (to catch up soon). Also use the IOC4 MCR register to
figure out the IOC4 clock, instead of checking the widget control register,
to be consistent with iof(4).
|
|
pick the right clock if the PCI bus the I/O board is on degrades to 33MHz.
|
|
lines. (This is done only to make dmesg look nice)
|
|
|
|
|
|
return zero on success and nonzero on failure.
This commit only performs mechanical changes for the existing emulops to
always return zero.
|
|
Origin 350 and Tezro systems. While this chip provides serial ports, an ATAPI
interface and a PS/2 keyboard and mouse interface, this code currently only
attempts to support the serial ports.
|
|
when rebooting.
ok deraadt@ jasper@
|
|
bus_space_handle_t, pass them ioc's own bus_space_handle and bus_space_tag,
and have the children use bus_space_subregion() on it.
|
|
when resetting the chip.
From Brad.
|
|
significantly reduces the number of times the chip gets wacked at boot.
From brad, tested by me.
|
|
|
|
|
|
MK48Txx). Entangled with preliminary changes which will hopefully eventually
lead to power(4) attaching on IP30 (but not finished yet).
|
|
the chip is in, and honour it.
|
|
before deciding to attach dsrtc.
|
|
printing the part number as the serial number.
|
|
some years ago for KL enumeration, building on the existing XBow support
to limit ourselves to a single node for now.
This is a work-in-progress; it currently lacks complete interrupt code,
as well as PCI resource management. And there are likely bugs creeping
inside.
|
|
of the Ethernet address.
|
|
SuperIO part, the Ethernet part needs a whole driver); kernel now boot
single user (or bsd.rd). Joint work with jsing@
|
|
framebuffer for the console on SGI O2 workstations. X is still supported via
wsfb(4) by switching back to the unaccelerated linear framebuffer mode.
Some hardware details and magic numbers from NetBSD's crmfb(4) driver.
ok miod@ jasper@ "Sure, go for it" deraadt@
|
|
from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by..
RAMDISK - 2176 bytes
RAMDISKB - 1504 bytes
RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users.
Build tested on almost all archs by todd@/brad@
ok naddy@
|
|
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
|
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch case.
Thus allowing drivers to define their own ioctl handlers and then
falling back on ether_ioctl(). The only functional change this results
in at the moment is having all Ethernet drivers returning the proper
errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown
ioctl's.
Shrinks the i386 kernels by..
RAMDISK - 1024 bytes
RAMDISKB - 1120 bytes
RAMDISKC - 832 bytes
Tested by martin@/jsing@/todd@/brad@
Build tested on almost all archs by todd@/brad@
ok jsing@
|
|
ok miod@
|
|
with and ok jsing@
|
|
rely on this very soon.
|
|
|
|
instead of 8-bit mono mulaw @ 8kHz.
this is just the infrastructure; no drivers are specifying a default
yet.
ok ratchov@, deanna@
|
|
EEPROM, with knowledge of how SGI formats their contents. They are needed
by IOC to figure out the Ethernet address of its Ethernet subdevice (yes,
verily).
|
|
written). Joint work with jsing@
|
|
and a time-of-day chip (wherever it gets found).
|
|
systems, switch to the PHYS_TO_UNCACHED macro to compute proper addresses.
Not really necessary for the O2 which does not implement spaces, but can't
hurt either.
|
|
Cleanup the interrupt establishment code a little whilst we're here.
ok miod@
|
|
Cleanup the interrupt establishment code a little whilst we're here.
ok miod@ jasper@
|
|
inherited from OpenBSD/arc machines with ISA bus; mainbus children match on
device name and other hierarchies match on simplified locators.
As a bonus, attachment lines in dmesg will now print their locators.
ok jsing@
|
|
interface. Without this we are potentially freeing TX buffers that are in
use, plus we leave DMA enabled when rebooting. This leads to an interrupt
storm at boot time if we were receiving/transmitting network traffic whilst
shutting down.
ok miod@. Tested by jasper@.
|
|
|
|
- Internal restructure to separate code paths.
- Add support for early console. This allows for gbe(4) to takeover were
the ARCBios leaves off (if we should do so).
- Add support for 8bpp and 16bpp colour depths. As a result, we also have
support for colourmaps. We now use 8bpp as the default.
- Add mmap() support, enabling wsfb to operate correctly.
- Correct initial origin problem that occurred occasionally.
ok miod@. tested by jasper@.
|
|
inline with all other architectures.
ok miod@
|
|
ok jasper@
|
|
prodded by and ok dlg@
|
|
- minor knf nit (suggested by miod@)
|
|
when machdep.kbdreset is set, and the correct interrupt is fired,
the machine gets shut down.
with help from and ok jsing@, ok miod@
|
|
and graphical console based on the selection made in the ARCBIOS.
Early attachment of gbe(4) is still required, otherwise we have a working
graphical console.
ok miod@
|
|
of pckbd(4) and provides us with a console keyboard. Tested by jasper@.
ok miod@
|
|
ARCBIOS. Tested by jasper@.
ok miod@
|
|
"feel free to do so" jsing@
|