summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
AgeCommit message (Collapse)Author
2013-11-15Added dev/usb/if_ugl.c, a driver for Genesys Logic GL620USB-Asasano
USB host-to-host link cable. This driver is derived from upl(4).
2013-11-13fix typo in last commitTheo de Raadt
2013-11-12Oops. Use %llu for DL_GETDSIZE() value.Kenneth R Westerback
2013-11-12Use DL_GETDSIZE() to get disk size.Kenneth R Westerback
2013-11-05Add a stub for the new MD hook needed to handle ACPI Power Resources.Martin Pieuchot
ok kettenis@
2013-11-04remove iop(4) driver. it is entirely unmaintained and supports somethingTheo de Raadt
which basically doesn't exist at all. reminded about it by brad
2013-11-04Convert wskbd_set_mixervolume() to use a task internally instead ofMartin Pieuchot
being called in a workq. ok kettenis@
2013-10-23adapt to new DL_BLKTOSEC(); ok krwTheo de Raadt
2013-10-21Fix lies in comments, and apply some KNF and unused or duplicate prototypeMiod Vallat
removals.
2013-10-21Add load_font and list_font accessops to all rasops-based wsdisplay drivers.Miod Vallat
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting up a new font.
2013-10-20Use C99 named initializers for struct wsdisplay_accessops fields.Miod Vallat
No functional change.
2013-10-19Use daddr_t * instead of int * for the partoffp parameter toKenneth R Westerback
readdoslabel(). Ditto all the MD variables whose addresses are passed to readdoslabel() via partoffp. Fix some 512-byte block vs disk sector confusion in hppa and sgi. All the DL_GETxxxxx() defines return disk sector values. All DL_SETxxxx() take disk sector values. These changes should be no-ops until a drive using non-512-byte-sectors is encountered. ok deraadt@
2013-10-17Remove support for a.out and ecoff. We only do elf now.Theo de Raadt
ok miod
2013-10-15Rewrite the awk script that generates the data for option DDB_STRUCT:Philip Guenther
- switch to perl for better data structures and (thus) speed - fix a couple glitches in the interpretation of the stabs output - compress the strings by putting them in one big array and overlaying suffixes - all sizes and offsets are <64k, so use u_short for them This results in ~60% reduction in the resulting text size and it now takes less than a second to create on fast platforms. ok miod@
2013-09-28Refine the frame buffer probe again, to correctly detect a newport frame bufferMiod Vallat
on Indy if an HPC SCSI board is plugged in either expansion slots, as this somehow affects pipelined reads of the newport space. The framebuffer detection is slowly becoming an ISA-like mess... Thanks to Alain Tauch for giving me an HPC SCSI board (wrapped in yet another Indy)
2013-09-28Correctly probe for the Ethernet chip on HPC 1.5 expansion boards. Gets rid ofMiod Vallat
false sq positives ("sq not configured" since rejected by the sq driver) in dmesg, for SCSI HPC boards.
2013-09-28In boot(), do not iterate over alldevs if it's empty (i.e. halting from ddbMiod Vallat
with ddb entered early with boot -d or from UKC).
2013-09-05ugold(4) is a driver for PCsensor's USB gold TEMPer temperaturesasano
measurement device (idVendor:idProduct=0x0c45:0x7401). newly added. ok by mpi@ and sthen@
2013-08-20Add urtwn(4) to the sgi kernels where it makes sense. I've been using itBrian Callahan
on my O2 for a while now. ok miod@
2013-08-20Remove uscanner(4). It was disabled in GENERIC more than 2.5 years ago.Antoine Jacoutot
No regression has been reported since libusb became the prefered solution to work with USB scanners. req. by mpi@ ok ian@ mpi@ miod@
2013-08-17Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include line also from the sgi/hpc driver which I have forgotten in my last commit. test jsing@
2013-08-17Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include lines from sgi drivers. test jsing@
2013-06-23Stop using -traditional-cpp on gcc3/4 platforms.Miod Vallat
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
2013-06-21enable 24-bit, lsb-aligned encoding, which is the device'sAlexandre Ratchov
native one. Allows encoding conversions to be handled in userland
2013-06-11Replace all ovbcopy with memmove; swap the src and dst arguments tooTheo de Raadt
ok otto
2013-06-03changes for isc fuse support. not enabled. ok beck deraadt.Ted Unangst
from Sylvestre Gallon ccna.syl gmail.com
2013-06-01add missing license (PD) blockJasper Lievisse Adriaanse
ok guenther@
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too
2013-05-27Correctly specify the visible part of the rightmost tile when the currentMiod Vallat
resolution is not a multiple of the tile size, in emulation (text) mode. The usual 1280x1024 resolution ended up with the correct value, by chance, but a width of 1600 would be wrong. (X11 was running fine) Tested on the 1600x1024 resolution of the 1600SW display. Thanks to Johan Sanchez for lending me a 1600SW monitor and an adapter board.
2013-05-18fix cut'n'paste abuse in "can't happen" error messageMiod Vallat
2013-05-17Add a dummy IPL_MPSAFE definition.Mark Kettenis
ok miod@, mikeb@
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani
2013-04-21Well, it turns out the assumption that boards with a 32-bit ID registerMiod Vallat
will not accept smaller-than-32-bit accesses to the ID register is wrong with some boards (such as the Set Eng. fast Ethernet). Rework the logic introduced in 1.10 to allow matching a board with a 32-bit ID register and consistent reads at smaller sizes. Tested to not cause false positive or disappearing devices against newport, grtwo, impact, Phobos G130/G160, Fore ATM, Cyclone Colorbus, and of course Set Eng.
2013-04-21Unify the zs tty driver.Sebastian Reitenbach
Most of the hard work by mpi@, who provided the initial diff. Fixes for sparc from myself. Tested on sgi and sparc myself. Compiles and detects zstty on my powerbook, compile tested on sparc64 by me. Real testing with zs device on sparc64 by miod@ who also gave a lot of help and feedback. ok miod@, mpi@
2013-04-20Do not wait too long for the chip to unbusy, and return EAGAIN to the upperMiod Vallat
layers when the chip can't process commands fast enough; wscons knows how to cope.
2013-04-01Build mips kernels with -G 0, to disable use of so-called `small' data andMiod Vallat
bss sections. The current kernel linker script is not gp-friendly enough for that; and while gas 2.15 was not attempting to output gp-relative relocations for variables which might have ended up in .sdata or .sbss, gas 2.17 will, and the kernel will fail to link. To be improved eventually with a better kernel ld script putting the gp-addressable sections close enough to gp... and making sure kernel gp is reloaded in all the userland->kernel code paths which might need gp in the kernel.
2013-03-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-28Add __strong_alias macros for all architectures to be able to aliasMartynas Venckus
another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@.
2013-03-26sync TDIRS with realityJasper Lievisse Adriaanse
"looks good" deraadt@
2013-03-23refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is addedTheo de Raadt
to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
2013-01-01Remove libsa exec.c, not used by anything anymore; all boot blocks now useMiod Vallat
loadfile or a derivative of.
2012-10-26Previous revision would prevent grtwo(4) boards from being recognized.Miod Vallat
Make sure that what seems to be a 8-bit ID register of value zero does not match as an expansion board, which it can't be, and continue with the specific frame buffer test logic.
2012-10-19Be sure to compile boot block objects with -D_NO_ABICALLS, to prevent .S filesMiod Vallat
in libkern from getting a ".abicalls" pseudo-op from including <machine/asm.h>; this will in turn flag the .o file as PIC even though it doesn't contain PIC code, really. This gets rid of the annoying "linking PIC files with non-PIC files" warnings spewed by ld at link time.
2012-10-19Link boot64 twice, first as a self-contained binary, to enforce there are noMiod Vallat
unresolved symbols, then as a relocatable image as initially intended. This will prevent the arcbios.c 1.18 breakage from occuring again.
2012-10-18Put back the kl_n_shift variable, removed by mistake in 1.18, causing theMiod Vallat
boot blocks to fail on IP27 and IP35 (IP26, IP30 and 32-bit ARCBios systems unaffected). While there, provide a simpler ARC_Call() macro for 32-bit boot blocks, and put a few more variables and statements within explicit __LP64__ guards. Crank boot blocks version as well.
2012-10-17Swap arguments to wdog_register() since it is nicer, and prepareTheo de Raadt
wdog_shutdown() for external usage.
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin
2012-10-03Don't include <mips64/archtype.h> unless you really need it.Miod Vallat
2012-10-03Split ever-growing mips <machine/cpu.h> into what 99% of the kernel needs,Miod Vallat
which will remain in <machine/cpu.h>, and a new mips_cpu.h containing only the goriest md details, which are only of interest to a handful set of files; this is similar in spirit to what alpha does, but here <machine/cpu.h> does not include the new file.
2012-09-29Work in progress support for the Power Indigo2 R8000 system (IP26). This isMiod Vallat
basically an IP22 system (R4000 Indigo2) with the ECC memory board of IP28, and a so-called ``streaming'' L2 cache. IP26 kernels currently boot single-user, but don't live long; I am suspecting a bug in the tcc cache routines, but am currently not able to find it (come to think of it, my understanding of how this cache works could be wrong, and of course there is no documentation for it but what can be gathered from IRIX' <sys/IP26.h> comments and defines). Hopefully this situation will improve in the near future; in the meantime I am commiting this as `work in progress' to make sure this code doesn't get lost.