CVS commit: src/share/man/man4/man4.hp300
Module Name:src Committed By: tsutsui Date: Wed Feb 9 14:13:09 UTC 2011 Modified Files: src/share/man/man4/man4.hp300: dvbox.4 gbox.4 hyper.4 rbox.4 topcat.4 Log Message: - update SYNOPSIS and SEE ALSO for wscons support - remove descriptions about obsolete ioctl To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/man4.hp300/dvbox.4 \ src/share/man/man4/man4.hp300/gbox.4 src/share/man/man4/man4.hp300/rbox.4 \ src/share/man/man4/man4.hp300/topcat.4 cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/man4.hp300/hyper.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/man4.hp300/dvbox.4 diff -u src/share/man/man4/man4.hp300/dvbox.4:1.5 src/share/man/man4/man4.hp300/dvbox.4:1.6 --- src/share/man/man4/man4.hp300/dvbox.4:1.5 Mon Mar 22 18:58:31 2010 +++ src/share/man/man4/man4.hp300/dvbox.4 Wed Feb 9 14:13:09 2011 @@ -1,4 +1,4 @@ -.\ $NetBSD: dvbox.4,v 1.5 2010/03/22 18:58:31 joerg Exp $ +.\ $NetBSD: dvbox.4,v 1.6 2011/02/09 14:13:09 tsutsui Exp $ .\ .\ Copyright (c) 1990, 1991, 1993 .\ The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\ .\ from: @(#)dv.4 8.1 (Berkeley) 6/9/93 .\ -.Dd June 9, 1993 +.Dd February 9, 2011 .Dt DVBOX 4 hp300 .Os .Sh NAME @@ -41,6 +41,10 @@ .Nd .Tn HP98730 ``DaVinci'' graphics device interface +.Sh SYNOPSIS +.Cd dvbox* at intio? +.Cd dvbox* at dio? scode ? +.Cd wsdisplay* at dvbox? .Sh DESCRIPTION This driver is for the .Tn HP98730 @@ -57,108 +61,6 @@ The hardware installation manual describes the procedure for setting these values. .Pp -A user process communicates to the device initially by means of -.Xr ioctl 2 -calls. For the -.Tn HP-UX -.Xr ioctl 2 -calls supported, refer to -.Tn HP-UX -manuals. -The -.Bx -calls supported are: -.Bl -tag -width indent -.It Dv GRFIOCGINFO -Get Graphics Info -.Pp -Get info about device, setting the entries in the -.Ar grfinfo -structure, as defined in -.In hpdev/grfioctl.h . -For the standard 98730, the number of planes should be 4. The number of -colors would therefore be 15, excluding black. If one 98732A frame buffer -board is installed, there will still be 4 planes, with the 4 planes on the -colormap board becoming overlay planes. With each additional 98732 frame -buffer board 4 planes will be added up to a maximum of 32 planes total. -.It Dv GRFIOCON -Graphics On -.Pp -Turn graphics on by enabling -.Tn CRT -output. The screen will come on, displaying -whatever is in the frame buffer, using whatever colormap is in place. -.It Dv GRFIOCOFF -Graphics Off -.Pp -Turn graphics off by disabling output to the -.Tn CRT . -The frame buffer contents -are not affected. -.It Dv GRFIOCMAP -Map Device to user space -.Pp -Map in control registers and frame buffer space. Once the device file is -mapped, the frame buffer structure is accessible. The structure describing -the 98730 is defined in -.In hpdev/grf_dvreg.h . -.El -.Sh FILES -.Bl -tag -width /dev/MAKEDEV.hpux -compact -.It Pa /dev/grf? -.Bx -special file -.It Pa /dev/crt98730 -.It Pa /dev/ocrt98730 -.Tn HP-UX -.Em starbase -special files -.It Pa /dev/MAKEDEV.hpux -script for creating -.Tn HP-UX -special files -.El -.Sh EXAMPLES -This is a short segment of code showing how the device is opened and mapped -into user process address space assuming that it is -.Ql grf0 : -.Bd -literal -offset indent -struct dvboxfb *dvbox; -u_char *Addr, frame_buffer; -struct grfinfo gi; -int disp_fd; - -disp_fd = open(/dev/grf0,1); - -if (ioctl (disp_fd, GRFIOCGINFO, \*[Am]gi) \*[Lt] 0) return -1; - -(void) ioctl (disp_fd, GRFIOCON, 0); - -Addr = (u_char *) 0; -if (ioctl (disp_fd, GRFIOCMAP, \*[Am]Addr) \*[Lt] 0) { -(void) ioctl (disp_fd, GRFIOCOFF, 0); -return -1; -} -dvbox = (dvboxfb *) Addr; /* Control Registers */ -frame_buffer=(u_char *)Addr+gi.gd_regsize; /* Frame buffer memory */ -.Ed -.Sh DIAGNOSTICS -None under -.Bx . -.Tn HP-UX -.Tn CE.utilities -must be used. -.Sh ERRORS -.Bl -tag -width [EINVAL] -.It Bq Er ENODEV -no such device. -.It Bq Er EBUSY -Another process has the device open. -.It Bq Er EINVAL -Invalid ioctl specification. -.El .Sh SEE ALSO -.Xr ioctl 2 , -.Xr grf 4 -.Sh BUGS -Not tested for all configurations of scan board and frame buffer memory boards. +.Xr wsdisplay 4 , +.Xr wscons 4 Index: src/share/man/man4/man4.hp300/gbox.4 diff -u src/share/man/man4/man4.hp300/gbox.4:1.5 src/share/man/man4/man4.hp300/gbox.4:1.6 --- src/share/man/man4/man4.hp300/gbox.4:1.5 Mon Mar 22 18:58:31 2010 +++ src/share/man/man4/man4.hp300/gbox.4 Wed Feb 9 14:13:09 2011 @@ -1,4 +1,4 @@ -.\ $NetBSD: gbox.4,v 1.5 2010/03/22 18:58:31 joerg Exp $ +.\ $NetBSD: gbox.4,v 1.6 2011/02/09 14:13:09 tsutsui Exp $ .\ .\ Copyright (c) 1990, 1991, 1993 .\ The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\ .\ from: @(#)gb.4 8.1 (Berkeley) 6/9/93
CVS commit: src/share/man/man4/man4.hp300
Module Name:src Committed By: wiz Date: Wed Feb 9 14:37:56 UTC 2011 Modified Files: src/share/man/man4/man4.hp300: dvbox.4 gbox.4 hyper.4 rbox.4 topcat.4 Log Message: New sentence, new line. Sort SEE ALSO. Use Dq. Noun is setup. Fix a Dd. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/man4.hp300/dvbox.4 \ src/share/man/man4/man4.hp300/gbox.4 src/share/man/man4/man4.hp300/rbox.4 \ src/share/man/man4/man4.hp300/topcat.4 cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/man4.hp300/hyper.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/man4.hp300/dvbox.4 diff -u src/share/man/man4/man4.hp300/dvbox.4:1.6 src/share/man/man4/man4.hp300/dvbox.4:1.7 --- src/share/man/man4/man4.hp300/dvbox.4:1.6 Wed Feb 9 14:13:09 2011 +++ src/share/man/man4/man4.hp300/dvbox.4 Wed Feb 9 14:37:55 2011 @@ -1,4 +1,4 @@ -.\ $NetBSD: dvbox.4,v 1.6 2011/02/09 14:13:09 tsutsui Exp $ +.\ $NetBSD: dvbox.4,v 1.7 2011/02/09 14:37:55 wiz Exp $ .\ .\ Copyright (c) 1990, 1991, 1993 .\ The Regents of the University of California. All rights reserved. @@ -40,7 +40,8 @@ .Nm dvbox .Nd .Tn HP98730 -``DaVinci'' graphics device interface +.Dq DaVinci +graphics device interface .Sh SYNOPSIS .Cd dvbox* at intio? .Cd dvbox* at dio? scode ? @@ -49,18 +50,21 @@ This driver is for the .Tn HP98730 and 98731 graphics device, also known as -the DaVinci. This driver has not been tested with all possible +the DaVinci. +This driver has not been tested with all possible combinations of frame buffer boards and scan boards installed in the device. -The driver merely checks for the existence of the device and does minimal set -up. +The driver merely checks for the existence of the device and does minimal setup. .Pp -The DaVinci can be configured at either the ``internal'' address +The DaVinci can be configured at either the +.Dq internal +address (frame buffer address 0x20, control register space address 0x56) or at an external select code less than 32. -At the internal address it will be the ``preferred'' console device. +At the internal address it will be the +.Dq preferred +console device. The hardware installation manual describes the procedure for setting these values. -.Pp .Sh SEE ALSO -.Xr wsdisplay 4 , -.Xr wscons 4 +.Xr wscons 4 , +.Xr wsdisplay 4 Index: src/share/man/man4/man4.hp300/gbox.4 diff -u src/share/man/man4/man4.hp300/gbox.4:1.6 src/share/man/man4/man4.hp300/gbox.4:1.7 --- src/share/man/man4/man4.hp300/gbox.4:1.6 Wed Feb 9 14:13:09 2011 +++ src/share/man/man4/man4.hp300/gbox.4 Wed Feb 9 14:37:55 2011 @@ -1,4 +1,4 @@ -.\ $NetBSD: gbox.4,v 1.6 2011/02/09 14:13:09 tsutsui Exp $ +.\ $NetBSD: gbox.4,v 1.7 2011/02/09 14:37:55 wiz Exp $ .\ .\ Copyright (c) 1990, 1991, 1993 .\ The Regents of the University of California. All rights reserved. @@ -40,7 +40,8 @@ .Nm gb .Nd .Tn HP98700 -``Gatorbox'' graphics device interface +.Dq Gatorbox +graphics device interface .Sh SYNOPSIS .Cd gbox* at intio? .Cd gbox* at dio? scode ? @@ -49,24 +50,33 @@ This driver is for the .Tn HP98700 and 98710 graphics devices, also known as -the Gatorbox. The term ``Gator'' will often be used, and it is not to be -confused with ``Gator'' used in reference to an +the Gatorbox. +The term +.Dq Gator +will often be used, and it is not to be confused with +.Dq Gator +used in reference to an .Tn HP 9837 or 200/237 machine. Also, the term Gatorbox is used for the 98700 alone, with the 98701 frame -buffer memory or with the 98710 accelerator installed. This driver merely -checks for the existence of the device and does minimal set up, as it is +buffer memory or with the 98710 accelerator installed. +This driver merely +checks for the existence of the device and does minimal setup, as it is expected the applications will initialize the device to their requirements. .Pp The 98700 can be used as the only graphics device on a system, in which case -it will be used as the system console. It can also be installed as a secondary -display device. For the first case, the +it will be used as the system console. +It can also be installed as a secondary display device. +For the first case, the .Tn HP .Tn 98287A M.A.D. interface card -should be set to internal control space. This will put the frame buffer at +should be set to internal control space. +This will put the frame buffer at the DIO address 0x20 and the control registers at 0x56. -At this address it will be the ``preferred'' console device (see +At this address it will be the +.Dq preferred +console device (see .Xr cons 4 ) . For use as a secondary device, the 98287A should be set to frame buffer address 0x30, @@ -80,5 +90,5 @@ .%T 98700H Installation Guide contains further configuration information. .Sh SEE ALSO -.Xr wsdisplay 4 , -.Xr wscons 4 +.Xr wscons 4 , +.Xr wsdisplay 4 Index:
CVS commit: src/share/man/man4/man4.hp300
Module Name:src Committed By: joerg Date: Sun Apr 12 15:03:00 UTC 2009 Modified Files: src/share/man/man4/man4.hp300: rd.4 Log Message: Fix markup. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/man4.hp300/rd.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/man4.hp300/rd.4 diff -u src/share/man/man4/man4.hp300/rd.4:1.10 src/share/man/man4/man4.hp300/rd.4:1.11 --- src/share/man/man4/man4.hp300/rd.4:1.10 Thu Aug 7 10:31:06 2003 +++ src/share/man/man4/man4.hp300/rd.4 Sun Apr 12 15:03:00 2009 @@ -1,4 +1,4 @@ -.\ $NetBSD: rd.4,v 1.10 2003/08/07 10:31:06 agc Exp $ +.\ $NetBSD: rd.4,v 1.11 2009/04/12 15:03:00 joerg Exp $ .\ .\ Copyright (c) 1990, 1991, 1993 .\ The Regents of the University of California. All rights reserved. @@ -94,160 +94,175 @@ .Xr physio 4 ) . The location and size (in sectors) of the partitions for these drives: -.Bl -column header diskx undefined length -.Tn 7945/7946 No partitions : -.Sy disk start length cyls - rd?a 112 15904 1-142 - rd?b 16016 20160 143-322 - rd?c 0 108416 0-967 - rd?d 16016 40320 143-502 - rd?e undefined - rd?f undefined - rd?g 36176 72240 323-967 - rd?h 56336 52080 503-967 -.Pp -.Tn 9134D No partitions : -.Sy disk start length cyls - rd?a 96 15936 1-166 - rd?b 16032 13056 167-302 - rd?c 0 29088 0-302 - rd?d undefined - rd?e undefined - rd?f undefined - rd?g undefined - rd?h undefined -.Pp -.Tn 9122S No partitions : -.Sy disk start length cyls - rd?a undefined - rd?b undefined - rd?c 0 1232 0-76 - rd?d undefined - rd?e undefined - rd?f undefined - rd?g undefined - rd?h undefined -.Pp -.Tn 7912P No partitions : -.Sy disk start length cyls - rd?a 0 15904 0-70 - rd?b 16128 22400 72-171 - rd?c 0 128128 0-571 - rd?d 16128 42560 72-261 - rd?e undefined - rd?f undefined - rd?g 38528 89600 172-571 - rd?h 58688 69440 262-571 -.Pp -.Tn 7914CT/P No partitions : -.Sy disk start length cyls - rd?a 224 15904 1-71 - rd?b 16128 40320 72-251 - rd?c 0 258048 0-1151 - rd?d 16128 64960 72-361 - rd?e 81088 98560 362-801 - rd?f 179648 78400 802-1151 - rd?g 56448 201600 252-1151 - rd?h 81088 176960 362-1151 -.Pp -.Tn 7958A No partitions : -.Sy disk start length cyls - rd?a 252 16128 1-64 - rd?b 16380 32256 65-192 - rd?c 0 255276 0-1012 - rd?d 16380 48384 65-256 - rd?e 64764 100800 257-656 - rd?f 165564 89712 657-1012 - rd?g 48636 206640 193-1012 - rd?h 64764 190512 257-1012 -.Pp -.Tn 7957A No partitions : -.Sy disk start length cyls - rd?a 154 16016 1-104 - rd?b 16170 24640 105-264 - rd?c 0 159544 0-1035 - rd?d 16170 42350 105-379 - rd?e 58520 54824 380-735 - rd?f 113344 46200 736-1035 - rd?g 40810 118734 265-1035 - rd?h 58520 101024 380-1035 -.Pp -.Tn 7933H No partitions : -.Sy disk start length cyls - rd?a 598 16146 1-27 - rd?b 16744 66976 28-139 - rd?c 0 789958 0-1320 - rd?d 83720 16146 140-166 - rd?e 99866 165646 167-443 - rd?f 265512 165646 444-720 - rd?g 83720 706238 140-1320 - rd?h 431158 358800 721-1320 -.Pp -.Tn 9134L No partitions : -.Sy disk start length cyls - rd?a 80 15920 1-199 - rd?b 16000 2 200-449 - rd?c 0 77840 0-972 - rd?d 16000 32000 200-599 - rd?e undefined - rd?f undefined - rd?g 36000 41840 450-972 - rd?h 48000 29840 600-972 -.Pp -.Tn 7936H No partitions : -.Sy disk start length cyls - rd?a 861 16359 1-19 - rd?b 17220 67158 20-97 - rd?c 0 600978 0-697 - rd?d 84378 16359 98-116 - rd?e 100737 120540 117-256 - rd?f 220416 120540 256-395 - rd?g 84378 516600 98-697 - rd?h 341817 259161 397-697 -.Pp -.Tn 7937H No partitions : -.Sy disk start length cyls - rd?a 1599 15990 1-10 - rd?b 17589 67158 11-52 - rd?c 0 1116102 0-697 - rd?d 84747 15990 53-62 - rd?e 100737 246246 63-216 - rd?f 346983 246246 217-370 - rd?g 84747 1031355 53-697 - rd?h 593229 522873 371-697 -.Pp -.Tn 7957B/7961B No partitions : -.Sy disk start length cyls - rd?a 126 16002 1-127 - rd?b 16128 32760 128-387 - rd?c 0 159894 0-1268 - rd?d 16128 49140 128-517 - rd?e 65268 50400 518-917 - rd?f 115668 44226 918-1268 - rd?g 4 111006 388-1268 - rd?h 65268 94626 518-1268 -.Pp -.Tn 7958B/7962B No partitions : -.Sy disk start length cyls - rd?a 378 16254 1-43 - rd?b 16632 32886 44-130 - rd?c 0 297108 0-785 - rd?d 16632 49140 44-173 - rd?e 65772 121716 174-495 - rd?f 187488 109620 496-785 - rd?g 49518 247590 131-785 - rd?h 65772 231336 174-785 -.Pp -.Tn 7959B/7963B No partitions : -.Sy disk start length cyls - rd?a 378 16254 1-43 - rd?b 16632 49140 44-173 - rd?c 0 594216 0-1571 - rd?d 16632 65772 44-217 - rd?e 82404 303912 218-1021 - rd?f 386316 207900 1022-1571 - rd?g 65772 528444 174-1571 - rd?h 82404 511812 218-1571 +.Bl -hang +.It Tn 7945/7946 No partitions : +.Bl -column diskx undefined length xxx- -compact +.It Sy disk start length cyls +.It rd?a 112 15904 1-142 +.It rd?b 16016 20160 143-322 +.It rd?c 0 108416 0-967 +.It rd?d 16016 40320 143-502 +.It rd?e undefined Ta Ta +.It rd?f undefined Ta Ta +.It rd?g 36176 72240
CVS commit: src/share/man/man4/man4.hp300
Module Name:src Committed By: wiz Date: Sun Apr 12 16:43:05 UTC 2009 Modified Files: src/share/man/man4/man4.hp300: rd.4 Log Message: New sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/share/man/man4/man4.hp300/rd.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/share/man/man4/man4.hp300/rd.4 diff -u src/share/man/man4/man4.hp300/rd.4:1.11 src/share/man/man4/man4.hp300/rd.4:1.12 --- src/share/man/man4/man4.hp300/rd.4:1.11 Sun Apr 12 15:03:00 2009 +++ src/share/man/man4/man4.hp300/rd.4 Sun Apr 12 16:43:05 2009 @@ -1,4 +1,4 @@ -.\ $NetBSD: rd.4,v 1.11 2009/04/12 15:03:00 joerg Exp $ +.\ $NetBSD: rd.4,v 1.12 2009/04/12 16:43:05 wiz Exp $ .\ .\ Copyright (c) 1990, 1991, 1993 .\ The Regents of the University of California. All rights reserved. @@ -76,14 +76,13 @@ .Sq Li rd and .Sq Li rrd -for the block and character files respectively. The second -component of the name, a drive unit number in the range of zero to -seven, is represented by a +for the block and character files respectively. +The second component of the name, a drive unit number in the range +of zero to seven, is represented by a .Sq Li \? -in the disk layouts below. The last component of the name is the -file system partition -and is designated -by a letter from +in the disk layouts below. +The last component of the name is the file system partition and is +designated by a letter from .Sq Li a to .Sq Li h