summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
AgeCommit message (Collapse)Author
2008-07-21nam2blk[] needs a "vnd" entry for some things (like softraid)Todd T. Fries
ok marco@ no objection miod@ need this for regress djm@ no objection krw@
2008-07-20Nuke unused readbsdlabel() function.Kenneth R Westerback
ok jsing@
2008-07-20Use NULL instead of 0 for pointer parameters.Kenneth R Westerback
ok jsing@
2008-07-16Now that uvm_pglistalloc() does not lose on large memory gaps, do notMiod Vallat
restrict the memory allocation range in _dmamem_alloc().
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-06-27add bio & bioctlTodd T. Fries
ok deraadt@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-14Mask the upper 56 bits of the rx ports when reading them, pckbd_input() willMiod Vallat
rely on this very soon.
2008-06-12Enable /dev/video* for all USB capable archs. MAKEDEV bits will followMarcus Glocker
shortly. OK todd@
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-08alpha/conf/RAMDISKTheo de Raadt
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