Subject: port-mac68k/3736: section 4 mac68k-specific man pages are missing
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ender@is.rice.edu>
List: netbsd-bugs
Date: 06/11/1997 02:59:11
>Number:         3736
>Category:       port-mac68k
>Synopsis:       Section 4 of the mac68k manual is empty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 10 20:05:01 1997
>Last-Modified:
>Originator:     Colin Wood
>Organization:
Colin Wood                                      ender@is.rice.edu
Consultant                                        Rice University
Information Technology Services                       Houston, TX
>Release:        Sat Jun 7 1997
>Environment:
	Mac IIci with 28MB RAM.  Should affect all mac68k-based NetBSD systems.
System: NetBSD mycroft-holmes 1.2D NetBSD 1.2D (DAYSTAR) #17: Sun Jun 1 02:48:28 CDT 1997 ender@mycroft-holmes:/usr/src/sys/arch/mac68k/compile/DAYSTAR mac68k


>Description:
	No one has bothered to write any of the section 4 manual pages for the
	mac68k port of NetBSD.
>How-To-Repeat:
	On a system with the full manual set installed, do the following:

	cd /usr/share/man/cat4/mac68k
	ls

	Notice that there is nothing there.
>Fix:
	Add the following files to /usr/src/share/man/man4/man4.mac68k
	(keep in mind that I'm not entirely sure how accurate they are
	but they should suffice for now, I think):

/usr/src/share/man/man4/man4.mac68k/Makefile:
*** Makefile	Tue Jun 10 18:10:18 1997
--- /usr/src/share/man/man4/man4.mac68k/Makefile	Fri Oct 13 20:29:20 1995
***************
*** 1,8 ****
  #	from: @(#)Makefile	5.1 (Berkeley) 6/29/90
! #	$NetBSD: Makefile,v 1.2 1997/6/10 10:49:04 ender Exp $
  
! MAN=	ae.4 intro.4 mem.4 sn.4
! MLINKS=	mem.4 kmem.4
  MANSUBDIR=/mac68k
  
  .include <bsd.prog.mk>
--- 1,8 ----
  #	from: @(#)Makefile	5.1 (Berkeley) 6/29/90
! #	$Id: Makefile,v 1.2 1994/12/22 10:49:04 cgd Exp $
  
! MAN=
! MLINKS=
  MANSUBDIR=/mac68k
  
  .include <bsd.prog.mk>

/usr/src/share/man/man4/man4.mac68k/ae.4:
.\"
.\" Copyright (c) 1997 Colin Wood
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"      This product includes software developed by Colin Wood.
.\" 4. The name of the author may not be used to endorse or promote products
.\"    derived from this software without specific prior written permission
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"	$NetBSD$
.\"
.Dd June 7, 1997
.Os NetBSD 1.0
.Dt AE 4 mac68k
.Sh NAME
.Nm ae
.Nd Ethernet driver for DP8390-based NuBus ethernet boards
.Sh SYNOPSIS
.Cd "ae* at nubus?"
.Sh DESCRIPTION
The
.Nm
interface provides access to a 10 Mb/s Ethernet network via the
National Semiconductor DP8390 Ethernet chip set.  This set includes
the DP83902.
.Pp
Each of the host's network addresses is specified at boot time with an
.Dv SIOCSIFADDR
.Xr ioctl 2 .  The
.Nm
interface employs the address resolution protocol described in
.Xr arp 4
to dynamically map between Internet and Ethernet addresses on the
local network.
.Sh HARDWARE
The
.Nm
interface is currently known to support the following NuBus cards:
.Bd -filled -offset indent
.Bl -item -compact
.It
Asante MacCon Series
.It
Asante MacCon-i Series
.It
Farallon EtherMac Series
.It
Farallon EtherWave Series
.It
Apple EtherTalk NB
.It
3Com EtherLink NB
.El
.Ed
.Sh DIAGNOSTICS
.Bl -diag -compact
.It ae%d at nubus%d: address %s, type %s  %dKB memory.
This is a normal autoconfiguration message noting the 6 byte physical
ethernet address of the adapter, its manufacturer, and how much buffer
memory it has.
.El
.\" .Sh ERRORS
.Sh SEE ALSO
.Xr arp 4 ,
.Xr ifconfig 8 ,
.Xr inet 4 ,
.Xr netintro 4 ,
.Xr sn 4
.Sh HISTORY
The
.Nm
interface first appeared in
.Nx 1.0 .
.\" .Sh BUGS

/usr/src/share/man/man4/man4.mac68k/intro.4:
.\"	$NetBSD: intro.4,v 1.4 1997/03/28 00:29:35 veego Exp $
.\"
.\" Copyright (c) 1990, 1991 Regents of the University of California.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     from: @(#)intro.4	5.2 (Berkeley) 3/27/91
.\"
.Dd June 8, 1997
.Dt INTRO 4 mac68k
.Os NetBSD
.Sh NAME
.Nm intro
.Nd introduction to special files and hardware support
.Sh DESCRIPTION
This section describes the special files, related driver functions,
and networking support
available in the system.
In this part of the manual, the
.Tn SYNOPSIS
section of
each configurable device gives a sample specification
for use in constructing a system description for the
.Xr config 8
program.
The
.Tn DIAGNOSTICS
section lists messages which may appear on the console
and/or in the system error log
.Pa /var/log/messages
due to errors in device operation;
see
.Xr syslogd 8
for more information.
.Pp
This section contains both devices
which may be configured into the system
and network related information.
The networking support is introduced in
.Xr netintro 4 .
.Sh MAC68K DEVICE SUPPORT
This section describes the hardware supported on the
.Tn Mac .
Software support for these devices comes in two forms.  A hardware
device may be supported with a character or block
.Em device driver ,
or it may be used within the networking subsystem and have a
.Em network interface driver .
Block and character devices are accessed through files in the file
system of a special type; see
.Xr mknod 8 .
Network interfaces are indirectly accessed through the interprocess
communication facilities provided by the system; see
.Xr socket 2 .
.Pp
A hardware device is identified to the system at configuration time
and the appropriate device or network interface driver is then compiled
into the system.  When the resultant system is booted, the
autoconfiguration facilities in the system probe for the device
and, if found, enable the software support for it.
If a device does not respond at autoconfiguration
time it is not accessible at any time afterwards.
To enable a device which did not autoconfigure,
the system will have to be rebooted.
.Pp
The autoconfiguration system is described in
.Xr autoconf 4 .
A list of the supported devices is given below.
.Sh HISTORY
The
.Tn Mac68k
.Nm intro
man page first appeared in
.Nx 
1.2F.
.Sh SEE ALSO
.Xr intro 4 ,
.Xr autoconf 4 ,
.Xr config 8 .
.Sh LIST OF DEVICES
The devices listed below are supported in this incarnation of
the system. 
Devices are indicated by their functional interface.
Not all supported devices are listed.
.Bl -tag -width "xxxxxx" -compact -offset indent
.It Em adb
Apple Desktop Bus event interface
.It Em ae
DP8390-based ethernet interface
.It Em asc
Apple Sound Chip 
.It Em esp
.Tn NCR
53C9x built-in SCSI interface
.It Em grf
on-board and NuBus-based video interface
.It Em kmem
kernel virtual memory
.It Em ite
Mac68k Internal Terminal Emulator
.It Em mem
physical memory
.It Em ncrscsi
.Tn NCR
5380 built-in SCSI interface
.It Em sbc
.Tn NCR
5380 built-in SCSI interface
.It Em sn
DP83932-based ethernet interface (SONIC)
.It Em zsc
.Tn Zilog
Z8530 built-in serial interface
.El

/usr/src/share/man/man4/man4.mac68k/mem.4:
.\" Copyright (c) 1992, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" This software was developed by the Computer Systems Engineering group
.\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
.\" contributed to Berkeley.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     from: @(#)mem.4	8.1 (Berkeley) 6/5/93
.\"	$NetBSD: mem.4,v 1.1 1997/06/08 17:40:57 ender Exp $
.\"
.Dd June 8, 1997
.Dt MEM 4 mac68k
.Os NetBSD 1.0
.Sh NAME
.Nm mem ,
.Nm kmem
.Nd main memory
.Sh DESCRIPTION
The file
.Nm /dev/mem
is an interface to the physical memory of the computer.
Byte offsets in this file are interpreted as physical memory addresses.
Reading and writing this file is equivalent to reading and writing
memory itself.
An error will be returned if an attempt is made to reference
an offset outside of
.Nm /dev/mem .
.Pp
Kernel virtual memory is accessed via the file
.Nm /dev/kmem
in the same manner as
.Nm /dev/mem .
Only kernel virtual addresses that are currently mapped to memory are allowed.
.Pp
On the
.Tn Macintosh ,
physical memory may be discontiguous;
kernel virtual memory begins at
.Ad 0x00000000 .
.Sh FILES
.Bl -tag -width /dev/kmem -compact
.It Pa /dev/mem
.It Pa /dev/kmem
.El
.Sh HISTORY
The files
.Nm mem
and
.Nm kmem
appeared in
.At v6 .

/usr/src/share/man/man4/man4.mac68k/sn.4:
.\"
.\" Copyright (c) 1997 Colin Wood
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"      This product includes software developed by Colin Wood.
.\" 4. The name of the author may not be used to endorse or promote products
.\"    derived from this software without specific prior written permission
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"	$NetBSD$
.\"
.Dd June 7, 1997
.Os NetBSD
.Dt SN 4 mac68k
.Sh NAME
.Nm sn
.Nd Ethernet driver for SONIC-based ethernet adapters
.Sh SYNOPSIS
.Cd "sn* at obio?"
.Cd "sn* at nubus?"
.Sh DESCRIPTION
The
.Nm
interface provides access to a 10 Mb/s Ethernet network via the
National Semiconductor DP83932 (SONIC) Ethernet chip set.
.Pp
Each of the host's network addresses is specified at boot time with an
.Dv SIOCSIFADDR
.Xr ioctl 2 .
The
.Nm
interface employs the address resolution protocol described in
.Xr arp 4
to dynamically map between Internet and Ethernet addresses on the
local network.
.Sh HARDWARE
The
.Nm
interface is currently known to support the following NuBus cards:
.Bd -filled -offset indent
.Bl -item -compact
.It
Cayman Gatorcard PDS
.It
Dayna DaynaPort/E30
.El
.Ed
.Pp
In addition, the
.Nm
interface supports on-board ethernet for 500-series PowerBooks and
non-AV Quadras.
.Sh DIAGNOSTICS
.Bl -diag -compact
.It sn%d at %s%d: address %s, type %s  %dKB memory.
This is a normal autoconfiguration message noting the 6 byte physical
ethernet address of the adapter, its manufacturer, and how much buffer
memory it has.
.El
.\" .Sh ERRORS
.Sh SEE ALSO
.Xr arp 4 ,
.Xr ifconfig 8 ,
.Xr inet 4 ,
.Xr netintro 4 ,
.Xr ae 4
.Sh HISTORY
The
.Nm
interface first appeared in
.Nx
1.2C.
.\" .Sh BUGS
>Audit-Trail:
>Unformatted: