Commit Graph

162 Commits

Author SHA1 Message Date
thorpej c9b3657ce9 Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
thorpej bacf3a10fa Use CFATTACH_DECL(). 2002-09-30 20:43:55 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
thorpej 71404bb533 Don't include <sys/map.h>. 2002-09-25 22:21:01 +00:00
ad f8ec17dbbc Make the self-test logic match zsms, removing a 300ms delay on open. 2002-09-24 12:53:30 +00:00
ad 176dcfaf3d On pmax, drop into DDB on break. 2002-09-24 06:19:09 +00:00
ad 600684fe1c Also initalize dz_sc for each line. 2002-09-19 23:22:56 +00:00
ad 02efaf3855 Remove some duplicate/confusing lines. 2002-09-18 17:06:07 +00:00
ad 4db02b982d Initalize sc_dz[*].dz_line for the benefit of the bus front-end. 2002-09-18 16:51:16 +00:00
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
lukem 4369818766 Migrate alpha/pmax/vax bootblock stuff from <dev/dec/dec_boot.h> to
<sys/bootblock.h>  (leaving ultrix compat goo in the former)
2002-05-14 06:34:20 +00:00
lukem 38b5c3b216 - Add alpha boot block info, derived from sys/arch/alpha/include/disklabel.h,
adding "alpha_" / "ALPHA_" prefix to items as appropriate.  Rename
  CHECKSUM_BOOT_BLOCK() -> ALPHA_BOOT_BLOCK_CKSUM().  Add cgd's copyright
  from disklabel.h.
- Clean up a couple of comments.
2002-04-03 04:05:05 +00:00
fredette c3d894c1c3 Wait longer for the mouse self-test to complete, otherwise some
faster machines decide that the mouse is broken.
2002-03-26 13:59:10 +00:00
atatat 31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
ad 0cf4c60b83 zskbd_keydesctab -> lkkbd_keydesctab 2002-03-13 15:21:30 +00:00
ad 690cf19e33 Give wskbdmap_lk201.c its own attribute. 2002-03-13 15:18:19 +00:00
ad 3f78ffdeca Argh, dont reference any wscons parts in files.dec yet. 2002-02-25 17:11:17 +00:00
ad f89bb3064e Move the dz driver to dev/dec, since it can be shared with pmax. 2002-02-25 14:58:06 +00:00
simonb 20a3ef2b53 Remove some debug printf()s. 2001-12-05 10:54:51 +00:00
simonb 1b1e4bd3d1 Remove hardcoded values for HZ (under different names!) from mcclock.c
and clock_machdep.h, so that now HZ can be any supported frequency of
the mc146818a/ds1287a RTCs.
Tested at 256Hz and 2048Hz.
2001-11-23 01:04:11 +00:00
lukem dca6ccc83f add/cleanup RCSID 2001-11-13 12:49:45 +00:00
chs fd3414abea fix typo in previous. 2001-09-24 01:29:06 +00:00
ad 350d86c879 Save the new keyclick volume for later retrieval. 2001-09-19 12:42:11 +00:00
ad 21787ea4c6 Get/set keyclick volume. 2001-09-18 23:25:25 +00:00
mrg c13e3a6693 use _KERNEL_OPT 2001-05-30 11:40:35 +00:00
matt 893ab0ad39 export dec_boot.h 2001-05-03 05:26:08 +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
matt d4792454d8 Change parameter to int from u_short as gcc doesn't like subint
arguments.
2001-03-06 07:40:52 +00:00
ragge 47dabcfc3f Support files to use wskbd/wsmouse on VAXen with DZ-like chips.
From Matthew Fredette (fredette@MIT.EDU).
2000-12-02 17:03:55 +00:00
ragge 23eb2da75d Accept the "Utför" key as a giant ctrl-alt key. On LK201 "Ctrl" and
"Compose" cannot be pressed at the same time.
2000-12-02 16:57:41 +00:00
nisimura 728e424e54 Repopulate 4 files, zs_ioasic.c and zs_ioasicvar.h from arch/alpha/tc,
zskbd.c and zsms.c from dev/dec/, respectively.  No functionality
change this time.
2000-07-05 02:48:50 +00:00
matt 3259331d60 There's only for 15 blocks of bootstrap, not 16. 2000-06-21 14:57:21 +00:00
matt 6bda02ae4b Fix typo. 2000-06-16 23:33:47 +00:00
matt bd24eacf64 Move dec_boot.h to here from arch/pmax/include and add the VAX boot block
info.  Eventually Alpha boot block information as well.
2000-06-16 23:09:57 +00:00
simonb 2db5581a4c Declare the mcclock_pad32_busfns variable as extern. 2000-02-11 02:36:16 +00:00
takemura ba04c55ed3 Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
   relative or absolute.
 - Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
   WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
nisimura 40f7514028 Introduce wscons vsxxx mice (and possible tablet) routines; changes
of existing codes (lk201_ws.c, zskbd.c, and zsms.c) will follow.
1999-11-20 04:55:30 +00:00
drochner 29dd0803eb allow to wildcard the serial channel 1999-10-26 18:20:44 +00:00
drochner fa13e8eb92 set odd parity for the serial line
(done by directly setting zilog chip control bits -- there should be
a zs_set_frame() or so in z8530sc.c)
fixes PR port-alpha/8423 by Konrad Schroder <perseant@hhhh.org>
1999-09-19 14:45:47 +00:00
drochner 61ab682f29 set baudrate before talking to the keyboard (in non-console case)
from Konrad Schroder per PR port-alpha/8422
1999-09-16 19:39:05 +00:00
nisimura cb6ed03a59 - Replace device node names of zskbd/zsms into lkkbd/vsms, respectively.
No functionality was changed at this moment.
- Apply recent changes in GENERIC to TCWSCONS.
1999-08-04 07:17:50 +00:00
ragge 708904c240 Moved to ubavar.h,v 1999-05-27 16:04:47 +00:00
ragge 6fa26360b3 Moved to ubareg.h,v 1999-05-27 16:04:28 +00:00
ragge 24a2d9159f Moved to uba.c,v 1999-05-27 16:04:14 +00:00
ragge ea56e2d6a7 Moved to files.uba,v 1999-05-27 16:03:56 +00:00
ragge 607566ab67 Moved to dzvar.h,v 1999-05-27 16:03:40 +00:00
ragge fd1e7f64df Moved to dzreg.h,v 1999-05-27 16:03:12 +00:00
ragge 0377900670 Moved to dz_uba.c,v 1999-05-27 16:02:49 +00:00
ragge ae0c1db46f Moved to dz.c,v 1999-05-27 16:02:33 +00:00
ragge fecbb5dd59 Moved to dlreg.h,v 1999-05-27 16:02:03 +00:00