summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
AgeCommit message (Collapse)Author
2008-05-20Change the OpenBSD/sgi boot loader so that we use libsa loadfile(), ratherJoel Sing
than rolling our own load functions. tested jasper@, feedback and ok miod@
2008-05-18Unbreak glass console on OpenBSD/sgi - if we're supposed to be using theJoel Sing
glass console set comconsaddr to zero so we don't switch to serial when com* attach. spotted by jasper@, ok miod@
2008-05-14Fix more chrtoblktbl[] sloppyness, and add proper block st nodes to *ppc andMiod Vallat
sgi.
2008-05-04Unpopulated CRIME memory banks (or logically empty due to CRIME mergingMiod Vallat
contiguous 64MB DIMMs in a single 128MB one) are not reported as memory at offset zero, but actually as duplicates of the first entry (which always matches real memory). If the DIMMs are set up in decreasing sizes, as recommanded by SGI, the first entry will be configured at offset zero, so the existing code would run fine. If, however, you order your DIMMs in a different order, the first entry might not be at offset zero, so the kernel will mess up its memory information, which will cause random effects from simply misreported memory sizes, to the inability to boot. Fix this by strengthening the check for an empty bank. Problem reported by Jason Bergstrom (bergie, bergie dot net), analysis and fix by me.
2008-05-04convert arm and mips64 platforms to ptoa/atopMartin Reindl
tested by maja@
2008-05-01Don't forget to bus_space_unmap() after probing for a com chip.Miod Vallat
2008-04-29Attempt to locate an ELF header and symbol table directly after the kernel.Joel Sing
If it exists assume that the boot loader has provided a pointer to the end of the symbol table. If it does not exist fall back to the previous behaviour and expect that pointers to the symbol table have been provided directly after the kernel. ok miod@
2008-04-24Remove variables that are no longer used to specify the serial console.Joel Sing
ok dlg@
2008-04-24Unbreak IP30 serial console.Joel Sing
ok dlg@
2008-04-24Cleanup serial console handling and remove some of the MD code from com.c.Joel Sing
Specify the serial configuration from within the MD code, rather than passing things via macros. This will allow other platforms to more readily change the serial console configuration. Committing this so it actually gets tested. ok dlg@
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2008-04-14typo in attachmentTheo de Raadt
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@