Commit Graph

352 Commits

Author SHA1 Message Date
lukem 2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
lukem 6a3181d38f add/cleanup RCSIDs 2001-11-13 06:26:09 +00:00
augustss 1339e88a86 Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
simonb 30d7e93296 Move pmax-only if_le_ibus.c from dev/tc to arch/pmax/ibus. 2001-10-01 11:42:17 +00:00
simonb 342856c15c Move asc_tc and asc_tcds config info to dev/tc/files.tc now that pmax
uses MI SCSI.
2001-10-01 10:22:42 +00:00
simonb 240c203d16 s/asc_pmaz/asc_tc/g 2001-10-01 10:19:09 +00:00
simonb f976a7141c Move MI PMAZ-A SCSI attachment to sys/dev/tc. 2001-10-01 10:17:25 +00:00
ad 21787ea4c6 Get/set keyclick volume. 2001-09-18 23:25:25 +00:00
ad 4824a8d9d9 Beef up the stic X interface, and tighten a few screws here and there. 2001-09-18 19:51:23 +00:00
wiz 9fa0b17629 Give initiali[sz]e all the "i"s it deserves. 2001-09-18 18:15:49 +00:00
simonb 2d06de8eb9 General cleanup: ANSIfy, white-space, remove unused #includes.
XXX: should be moved to arch/pmax/ibus - this is pmax specific.
2001-09-18 12:46:33 +00:00
ad 6e9cae3be0 Zero out uninitalized fields in the freshly allocated zs_chanstate. 2001-09-14 11:58:39 +00:00
simonb cddf6cf55b Switch to MI SCSI and drop old pmax MD SCSI support completely. 2001-08-26 11:47:18 +00:00
nisimura bd799bf74f Use ri->ri_hw field for TC module base address. 2001-08-22 05:15:58 +00:00
nisimura 1df3ced126 Move small storage for ev_name string into tcds_softc. 2001-08-22 05:00:27 +00:00
nisimura b7f1b6d54b Nuke fb_devconfig data structure which was found unnecessary to have. 2001-08-22 02:24:29 +00:00
nisimura a6f7e30eec Nuke fb_devconfig data structure which was found unnecessary to have.
224 byte saving in text+bss, and runtime.
2001-08-20 08:34:39 +00:00
jdolecek 74954dadf9 use unsigned variable types as appropriate 2001-08-05 18:07:51 +00:00
thorpej 44e529fecc Use BUS_DMA_READ and BUS_DMA_WRITE in some obvious places. 2001-07-19 16:36:14 +00:00
ad 86e7fe72a4 Don't print the module description, since it doesn't mean much. 2001-07-04 14:17:58 +00:00
tron 29dc8fc7e3 Install "dev/tc/sfbreg.h" which is required for building the Alpha X11
server.
2001-06-30 21:16:52 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
lukem d84d2c6c85 add missing #include "opt_kgdb.h" 2001-05-30 15:24:23 +00:00
mrg c13e3a6693 use _KERNEL_OPT 2001-05-30 11:40:35 +00:00
ad c6da2452c0 Put back /usr/include/dev/tc/sticreg.h. 2001-05-16 13:48:52 +00:00
bouyer 937a7a3ed9 Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
thorpej 27253eea15 Use uvm_pageboot_alloc() rather than pmap_steal_memory(). 2001-04-22 16:44:41 +00:00
reinoud 1351706593 Fix a few race conditions ... the VSYNC update flag could be cleared
resulting in a blank screen when f.e. a setcursor ioctl was called
after the screenblanker had enabled the screen again ... the actual
switching on was then never performed at VSYNC.

A simple |= instead of = does the trick ... just leave the other bits
on please :)
2001-04-20 11:53:06 +00:00
jdolecek 745ab257dc Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
jdolecek 372e5956ef Only install headers which are actually used by our userland. This
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.

I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
2001-04-11 07:42:31 +00:00
nathanw a8c1e6280a Fix spelling errors in comments. 2001-04-09 16:10:06 +00:00
ad 571ef6d823 Make this work on alpha, and fix some other bogons. 2001-03-04 13:32:25 +00:00
nisimura 8e3f2f7c65 Change to exclude TC identification string PMAGD-AA because 8bpp can not
be handled with current implementation.  sfbplus.c should be capable of
doing the right things for multiple depths by ultilizing SFB+ design.
2001-02-27 02:11:36 +00:00
nisimura ab8c4071cc Void-filling to honour SVIDEO ioctl call. 2001-02-19 09:11:11 +00:00
nisimura b4ef15f3bc - paint underline on text honouring WSSCREEN_UNDERLINE.
- use accellerated painting for text cursor, should improve speed.
2001-01-19 05:43:43 +00:00
nisimura 1d8bb9f134 managed to make this useful enough for screen editor.
- video base register value brings different scanline starting address
  of framebuffer depending on VRAM chip column size.
many other issues left unsolved.
- text rendered in incorrect colours.
- acceleration codes should be reimplemented from scratch.
2001-01-17 06:48:09 +00:00
nisimura f20b78bb5d Add a definition for PMAGD which should cover all (three?) variations of
it.  Left commented out until DECstation switchs to WSCONS.
2001-01-16 05:49:41 +00:00
nisimura bd7039cbdb - relocate the code to place sprite cursor inside interrupt handlers
called on every virtical replace.
- efforts to make the code strucutures similar across TC framebuffers.
2001-01-16 05:32:16 +00:00
nisimura f493d886c1 - make this more senseful 32bpp TC framebuffer. This is far less broken
than the preivous code.  It can show readable characters on screen.
  Tested only with 32bpp model of PMAGD opion card.  Need more work for 8bpp.
- 2D accelleration will be revamped to ultilize SFBplus features.
- there seems much mulfunctionness in 32bpp codes of /sys/dev/rasops/.
  Need to rectify every corners.
2001-01-16 05:06:02 +00:00
nisimura 9b47b68152 abandon an attempt to have 8bpp textop and 32bpp textop parallelly.
Pursuade a unified logic effective for both depths.
2001-01-15 09:45:30 +00:00
nisimura 452e3d1a2f fix a typo and rearrange a comment about SFB register aliasing effect. 2001-01-15 09:41:57 +00:00
nisimura 3a6d3e0771 use ri_devcmap[] values directly, instead of calling rasops_unpack_attr().
-
2001-01-15 09:37:42 +00:00
ad 1b4eef2721 - Make VDAC state per-board.
- Add an ioctl to reset the STIC.
- Add an ioctl to restore the screen contents from backing.
- Other tweaks.
2001-01-09 16:04:03 +00:00
mrg d9a9b8d6d5 the tcds cards work in pmaxen. move tcds attachment to files.tc. leave asc
at tcds in files.alpha for now, and add a new `xasc at tcds' to files.pmax.
after pmax has moved fully to MI scsi (and `asc' is MI scsi), we should move
the device asc, etc., lines to files.tc.
2001-01-01 23:43:05 +00:00
ad 024d36d353 - Fix bugs, make this useful.
- Add ioctls to start and stop the co-processor (if present).
2000-12-22 13:30:32 +00:00
perseant 3475e639f3 Add register #defines similar to those in <dev/pci/tgareg.h>, referring to
a 32-bit sfb_reg_t, for easy comparison between tga and sfb Xservers.
2000-12-19 01:25:46 +00:00
ad b5aee7bd4c Thinko. 2000-12-17 14:46:43 +00:00
ad 3b02b279aa Regen. 2000-12-17 13:56:19 +00:00
ad d092cb0d0a Sync with PixelStamp drivers. 2000-12-17 13:56:05 +00:00
ad 553c5108d4 Add wscons drivers for the DEC PixelStamp graphics accelerators. 2000-12-17 13:52:03 +00:00