summaryrefslogtreecommitdiffstats
path: root/drivers/sgi
Commit message (Collapse)AuthorAgeFilesLines
* o New memset. Fastest in town for size > 6 bytes.Ralf Baechle1998-05-041-10/+35
| | | | | | | | | | | | | | | | | | | | | | | o New clear_user. o Memcpy now efficiently copies the (src^dest)&3 != 0. o Memmove new correctly deals with overlaps o Rewrite csum_partial in assembler. o Rewrte csum_partial_from_user in assembler. o __copy_user is now integrated with memcpy. o get_user now returns a zero value on error. o copy_from_user now clears the destination buffer on error. o strncpy_user now has a more efficient caller routine. o strlen_user now has a more efficient caller routines and is faster. o The unaligned handler is now much cleaner. It's now also save from interrupt. Some more esotheric bugs fixed as well. o Don't export bcopy anymore, it's now a inline function. o Delete ancient junk from the first days of Linux/MIPS. o Delete dead code in indy_sc.c. o Including the IDE driver doesn't crash an Indy anymore. o Eleminate active_ds. We now use current_ds directly in the thread structure which is faster and threadsafe. Saves almost 2kb on the kernel. o Serial console should work again.
* o Merge with Linux 2.1.91.Ralf Baechle1998-04-055-16/+17
| | | | | | | | | o First round of bugfixes for the SC/MC CPUs. o FPU context switch fixes. o Lazy context switches. o Faster syscalls. o Removed dead code. o Shitloads of other things I forgot ...
* Look Ma' what I found on my harddisk ...Ralf Baechle1998-03-176-3/+5
| | | | | | | o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
* And again ...Ralf Baechle1998-03-041-587/+1
|
* Once more duplicated content ...Ralf Baechle1998-03-042-932/+0
|
* Ooops, the entire file content was duplicated ...Ralf Baechle1998-03-041-444/+0
|
* Add console_is_present() to make it compile.Ralf Baechle1998-03-031-0/+5
|
* Cache fixes, part #1.Ralf Baechle1998-03-0313-4874/+1
|
* Upgrade to 2.1.73.Ralf Baechle1998-03-0317-2/+6827
|
* Merge with Linux 2.1.72, part 2.Ralf Baechle1997-12-161-0/+12
| | | | | | The new signal code with exception of the code for the rt signals. The definitions in <asm/siginfo.h> and <asm/ucontext.h> are currently just stolen from the Alpha and will need to be overhauled.
* Merge with Linux 2.1.72, part 1.Ralf Baechle1997-12-164-10/+20
|
* Make the thing compile.Ralf Baechle1997-12-022-11/+11
|
* Part #2 merging back my changes ...Ralf Baechle1997-12-011-1/+1
|
* Fixed the userland semaphores. No need for the dentry hacksMiguel de Icaza1997-11-011-150/+57
| | | | as I found that struct file has a private_data pointer. WOOO!
* Fixes to the shmiq implementation.Miguel de Icaza1997-09-212-19/+167
| | | | Fixes to some of the stream-like devices; implemented the mouse interface.
* Some newport specific ioctls implemented.Miguel de Icaza1997-09-212-3/+170
| | | | More DCB/xmap9 defines compatible with the SGI defines added;
* More toys: per-card ioctl and per-card reset console.Miguel de Icaza1997-09-211-0/+2
|
* 1. Add support for enabling/disabling console output (requiered when theMiguel de Icaza1997-09-211-27/+54
| | | | | | | | | | | | | | | X server is running. This machine does not have a crappy fb you can just play with like the sparcs). 2. Drop support for multiple cards (temporary, I need to fix the way the direct graphics code works). 3. Lots of fixes to the GFX_* ioctls. 4. Add support for per-graphics card ioctl processing. 5. Direct rendering works properly now (context switching code disabled for now, this depends on the rrm code updates I have to do).
* newport_reset() implemented. upadte to new graphics.h interface.Miguel de Icaza1997-09-211-17/+24
|
* Added a few #ifdef CONFIG_REMOTE_DEBUG's to keep Mark's cool debuggingMike Shaver1997-09-161-1/+4
| | | | | stuff from breaking kernel compiles for those of us who aren't cool enough to have kgdb set up yet. =)
* Call set_async_breakpoint() if kgdb 'stop' character is received. kgdbMark Salter1997-09-161-2/+2
| | | | | will subsequently take control at the insn interrupted by the incoming stop character.
* Merge with Linux 2.1.55. More bugfixes and goodies from my privateRalf Baechle1997-09-121-3/+5
| | | | CVS archive.
* Newport context switching implemented (la de da, la de da).Miguel de Icaza1997-08-285-142/+382
| | | | | | | Linux newport structure is now compatible with the IRIX version. GNOME compliant display properties implemented. Oops. Wrong mailing list.
* Disable the console driver when a direct rendering applicationMiguel de Icaza1997-08-262-2/+7
| | | | is running.
* restore_flags fix from Ralf.Miguel de Icaza1997-08-261-1/+3
|
* Stubbed out usema driver for Miguel.Mike Shaver1997-08-164-2/+10
| | | | (Untested, really, thanks to UPS.)
* It now compiles, but almost certainly doesn't work.Mike Shaver1997-08-121-4/+6
|
* OK, another (better, I think) way to handle the clone-device issue.Mike Shaver1997-08-111-2/+18
| | | | | | | | | | I'm now doing filp->d_entry swaps, which will require the creation of /dev/usema###, but which should make the rest of the system much happier with me. I'm also beginning to think that /dev/usema should be a misc device, and that /dev/usemaclone should be associated with the major. Makes no difference, really, except conceptually.
* Still more work on /dev/usema{,clone}.Mike Shaver1997-08-111-12/+77
| | | | | | | Code (but not necessarily working or healthy code) for all ioctls now in place. Need some syssgi support as well: SGI_FDHI, SGI_USE_FP_BCOPY.
* Added skeletal support for /dev/usema and /dev/usemaclone.Mike Shaver1997-08-101-0/+195
| | | | | | | | | | | | | | Still need to figure out how to do SVR-style clone devices with fops->open(), and I need a good poll() tutorial. =) Other than that, I think I know how to do: /dev/usemaclone open()ing, poll()ing /dev/usema ioctls: - UIOCATTACHSEMA - UIOCBLOCK - UIOCUNBLOCK Also, some minor additions to sysirix.c:syssgi().
* Merge to 2.1.38.Miguel de Icaza1997-08-061-0/+3
| | | | | | | | | | | IMPORTANT NOTE: I could not figure out what information is the one that should be used for the following files (ie, those that were in our tree, or those that came from Linus' patch), please, check these: include/asm-mips/jazz.h include/asm-mips/jazzdma.h include/asm-mips/ioctls.h
* More streams ioctls for the keyboard, as used by the Xsgi server, shouldMiguel de Icaza1997-08-022-9/+82
| | | | be enough for now in the keyboard arena.
* Heh. I forgot to make vmalloc_prot use the argument, it wasMiguel de Icaza1997-08-011-1/+0
| | | | | | | | | still using PAGE_KERNEL, so the shmiq was getting cached pages, not the uncached ones. Get rid of the flush_cache_all upon even pushing. Thanks Ralf :-)
* Heh, I did not include this file in cvs add. Go figure :-)Miguel de Icaza1997-08-011-0/+461
| | | | | | | | Anyways, this is Workarounds-101: call flush_cache_all once we stick the event in the queue, this makes the shmiq work. Of course, this is not exactly the desired fix.
* shared memory input queue changes:Miguel de Icaza1997-07-314-10/+99
| | | | | | | | | | | | | | | | | | | | | | | - make keyboard forward events to the streams keyboard module for delivery to the shmiq. - Fixes to make the graphics streams driver use dentries (this is the reason Alex's compile failed). - Major/misc numbers that were assigned by HPA for the streamable devices. - keyboard streams device. - working shmiq framework for the keyboard. What needs to be done: - Fix the mouse driver, did someone ever got any information out from /dev/psaux on the SGI port? - Figure out why changes made in the kernel side to the SHMIQ are not always seen by the user space.
* o Implement /dev/graphics virtualizable access toMiguel de Icaza1997-07-168-40/+298
| | | | | | | | | | | | | | | | | | | | | | | | | registers. The actual context switch code is not yet there. But the rest of the magic (mapping/unmapping the registers on demand is already in). o Interface for allowing binary-only console modules added. o My RRM bits, nothing really interesting now. For now, I am assuming in the code that there will be a minor per real graphics device, and that the X server will go and open /dev/graphicsN instead of opening /dev/graphics and using the gfx_attach_board->board variable. The interface the X server uses is not clear. I believe it will be pretty easy to provide the stripped down shmiq interface. Not only that, but we can even provide the same ABI (yes, ABI) for SGI shmiq input modules (yep, looks pretty easy once you have an strace that shows this information). Now, the only thing missing is figuring what is wrong my current conception of the use of shmiq. I just can't get it.
* New CONFIG_SGI_GRAPHICS turns on the new devices.Miguel de Icaza1997-07-022-2/+2
| | | | And remaining files from previous commit.
* Preparing for supporting graphic drivers on Linux.Miguel de Icaza1997-07-029-948/+1304
| | | | | | | | | | | | | | | | | | 1. Make the code multiple-device aware (even if I can't test it, it is better to have it designed like this since now). 2. Added the beginning of the /dev/{graphics,opengl}, /dev/gfx drivers. 3. Renamed newport.c to cons_newport.c. This is just the console rendering code. Will put the more complex virtualizing, context switching code for the newport on newport.c 4. streamable.c is supposed to have all of the stream devices that we need for IRIX emulation (not much there just now): shmiq, gfx and keyboard and mouse plugins. More tomorrow, now it is time to sleep :-)
* Adapt to changes in 2.1.43 console.Ralf Baechle1997-06-171-5/+5
|
* Ignore .depend.Ralf Baechle1997-06-031-0/+1
|
* Initial revisionRalf Baechle1997-06-012-6/+13
|
* Import of Linux/MIPS 2.1.36Ralf Baechle1997-04-292-21/+21
|
* Import of Linux/MIPS 2.1.14.2Ralf Baechle1997-03-259-0/+4784