summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
AgeCommit message (Collapse)Author
2008-04-12Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).Miod Vallat
2008-04-09Add new stub uvm_shutdown() and call it from the right place in MD boot()Theo de Raadt
2008-04-08Split the cdev makro for bpftun into two seperate definitions. tun(4) andClaudio Jeker
bpf(4) are different enough so that the split makes sense -- this is necessary to make bpf(4) cloneable. requested deraadt@, OK thib@
2008-04-07SGI 1-Wire Number-In-a-Can drivers. These are regular Dallas/Maxim append-onlyMiod Vallat
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).
2008-04-07Simple com@ioc (with interrupt handling disabled until ioc interrupt code isMiod Vallat
written). Joint work with jsing@
2008-04-07Preliminary IOC3 multi-function chip driver, from jsing@ and I. CurrentlyMiod Vallat
missing a driver for the ethernet part, and interrupt handling is not written yet.
2008-04-07RegenMiod Vallat
2008-04-07A first cut at XBow bus support, very minimal, limited to a local bus only;Miod Vallat
HUB driver (for IP27) is a stub, and interrupt support is a shoot in the dark and will need some serious debugging until it is sane, but I want to reduce the weight of these diffs first. Based on a lot of tinkering and experiments, as well as knowledge extracted from the Linux source code.
2008-04-07Platform-specific bits for IP30 (Octane). Based on knowledge extracted fromMiod Vallat
Linux source code.
2008-04-07Allow for up to 32 memory segments.Miod Vallat
2008-04-07Split clock attachment in two parts: a timecounter attachment (at mainbus),Miod Vallat
and a time-of-day chip (wherever it gets found).
2008-04-07Since uncached virtual addresses will depend upon space identifiers on R1xkMiod Vallat
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.
2008-04-07Unclutter machdep.c by moving the IP32-specific initialization code to itsMiod Vallat
own file. While there, more dead beef removal in struct sys_rec.
2008-04-07Use CCA_CACHED as the default CCA for all cached mappings and addresses.Miod Vallat
2008-04-07In _dmamem_map(), be sure to convert the address from the device view toMiod Vallat
a real physical address in the single-segment short-circuit code.
2008-03-30nam2blk[] clearly must contain "rd" ... found by krwTheo de Raadt
2008-03-30Implement bus_space_*8 and bus_space_vaddr.Miod Vallat
2008-03-30Remove former idle_stack.Miod Vallat
2008-03-28If we fail to load the kernel, drop the user into interactive mode of ARCS,Joel Sing
rather than just rebooting. ok deraadt@, miod@, jasper@
2008-03-27Remove unwanted code and sync with mips64/arcbios.c.Joel Sing
ok miod@
2008-03-27Majorly cleanup/overhaul com @ macebus code.Joel Sing
ok miod@
2008-03-27Data mode can only be changed when updating the clock, so don't botherJoel Sing
trying to change to BCD mode before reading. Also, don't assume that the clock is in 24 hour mode when updating. tested jasper@, ok miod@
2008-03-23setroot() is supposed to be safe in all cases, so kill the special casesTheo de Raadt
for RB_DFLTROOT; ok miod
2008-03-08Cleanup/style(9) code and comments.Joel Sing
2008-02-29Fix dksc() bootpath parsing.Miod Vallat
2008-02-21There's no need to print the IRQ now that we have direct configuration.Joel Sing
Cleanup the interrupt establishment code a little whilst we're here. ok miod@
2008-02-21There's no need to print the IRQ now that we have direct configuration.Joel Sing
Cleanup the interrupt establishment code a little whilst we're here. ok miod@ jasper@
2008-02-20More dead includes and functions noone will mourn.Miod Vallat
2008-02-20Completely overhault attachment rules on sgi. No more indirect configurationMiod Vallat
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@
2008-02-19Remove duplicate strcmp().Joel Sing
From Iruata Souza <iru.muzgo@gmail.com>
2008-02-18Cleanup sgivol(8) and make it behave more appropriately. Remove the '-f'Joel Sing
option - if we ask sgivol(8) to manipulate the volume header we really mean it. Also, use a single mode variable rather than a bunch of nutty opt_* variables. Improve the man page and usage() whilst we're here. Aside from the removal of '-f' there should be no functional changes. ok miod@ jmc@.
2008-02-16Remove unused fields of struct mips_pci_chipset.Miod Vallat
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2008-01-21Fix boot time interrupt storm on mec(4) by disabling DMA when stopping theJoel Sing
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@.
2008-01-20Clean up comments.Joel Sing
2008-01-06Sync console devices with GENERIC.Miod Vallat
2008-01-06Enable raw keyboard for wscons - prompted by matthieu@. Whilst we're hereJoel Sing
remove entries that are irrelevant and clean up comments/indentation. ok miod@
2008-01-04- remove two entries that'll never be usedJasper Lievisse Adriaanse
ok jsing@ miod@
2007-12-31Enable gbe(4) and mkbc(4) now that we have early console support.Joel Sing
ok miod@
2007-12-31Significantly improve the gbe(4) driver, including:Joel Sing
- 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@.
2007-12-31Move wscons_machdep.c to it's rightful location. This brings OpenBSD/sgiJoel Sing
inline with all other architectures. ok miod@
2007-12-27power(4) can now make use of the DS1687 register definitions header file.Joel Sing
ok jasper@
2007-12-27Clean up the clock MD code. Move all of the DS1687 register definitions toJoel Sing
the appropriate place and remove all of the magic numbers. Whilst we're here fix up some KNF issues. Also, the get/set functions used the wrong control registers, allowing the clock to update during operation. ok miod@, jasper@
2007-12-18move variable declarations where they belongJasper Lievisse Adriaanse
prodded by and ok dlg@
2007-12-18- powerbutton -> power buttonJasper Lievisse Adriaanse
- minor knf nit (suggested by miod@)
2007-12-18add power(4), a driver for the power button found on SGI O2's.Jasper Lievisse Adriaanse
when machdep.kbdreset is set, and the correct interrupt is fired, the machine gets shut down. with help from and ok jsing@, ok miod@
2007-12-18Expose the clock address space so that it can be used outside of clock(4).Joel Sing
ok miod@
2007-12-14Cleanup some comments.Joel Sing
2007-12-14Enable console support for SGI O2 workstations. Switch between the serialJoel Sing
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@
2007-12-14Add console/cnattach support to mkbc(4). This allows for early attachmentJoel Sing
of pckbd(4) and provides us with a console keyboard. Tested by jasper@. ok miod@