1.\" $NetBSD: bah.4,v 1.5 1997/11/24 06:29:02 lukem Exp $ 2.\" 3.\" Copyright (c) 1995, 1997 Ignatios Souvatzis 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 3. All advertising materials mentioning features or use of this software 15.\" must display the following acknowledgement: 16.\" This product includes software developed by Ignatios Souvatzis 17.\" for the NetBSD project. 18.\" 4. The name of the author may not be used to endorse or promote products 19.\" derived from this software without specific prior written permission 20.\" 21.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 23.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 24.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31.\" 32 33.\" The following requests are required for all man pages. 34.Dd May 31, 1995 35.Os NetBSD 1.0 36.Dt BAH 4 amiga 37.Sh NAME 38.Nm bah 39.Nd ARCnet driver for SMC COM90C26 based boards 40.Sh SYNOPSIS 41.Cd "bah* at zbus0" 42.Sh DESCRIPTION 43The 44.Nm 45interface provides access to the 2.5 Mb/s ARCnet network via the 46.Tn SMC 47COM90C26 + COM90C32 48ARCnet chip set. 49.Pp 50Each of the host's network addresses 51is specified at boot time with an 52.Dv SIOCSIFADDR 53.Xr ioctl . 54When the NOARP flag is set on the 55.Nm 56interface, 57it does not employ the address resolution protocol described in 58.Xr arp 4 59to dynamically map between Internet and Ethernet addresses on the local 60network. Instead, it uses the least significant 8 bits of the IP address 61as hardware address, as described in 62.Xr RFC 1051 63and 64.Xr RFC 1201 . 65.Pp 66With the IFF_LINK0 flag cleared, IP and ARP encoding is done according to the 67deprecated, but popular among Amiga users, RFC 1051 encoding (that 68is, with simple header, packet type 240 / 241), and the MTU is 507. 69.Pp 70With the IFF_LINK0 flag set, IP/ARP/RARP encoding is done according to RFC 1201 71(that is, with Packet Header Definition Standard header and packet type 72212/213). The MTU is normally 1500. 73.Pp 74When switching between the two modes, do a 75.Cd ifconfig interfacename down up 76to switch the mtu. 77.Pp 78When the IFF_LINK2 flag is set, ARP packets are sent with the protocol type 79encoded as it would be in the ARCnet header, and decoded to the right protocol 80encoding on reception. According to "assigned numbers", this is wrong, but 81some legacy software (namely, AmiTCP 3.0beta) shows this bug. 82.Pp 83.Sh HARDWARE 84The 85.Nm 86interface supports the following Zorro II expansion cards: 87.Bl -tag -width "AMERISTAR" -offset indent 88.It Em A2060 89Commodore's ARCnet card, manufacturer\ 514, product\ 9 90.It Em AMERISTAR 91Ameristar's ARCnet card, manufacturer\ 1053, product\ 9 92.El 93.Sh SEE ALSO 94.Xr arp 4 , 95.Xr ifconfig 8 , 96.Xr inet 4 , 97.Xr intro 4 , 98.Xr RFC1051 99, 100.Xr RFC1201 101.br 102ARCnet Packet Header Definition Standard, Novell Inc., 1989 103.Sh STANDARDS 104RFC 1051 / RFC1201 with ARP, or without, using direct mapping of lower 8 IP 105address bits instead. 106.Sh HISTORY 107The 108.Tn Amiga 109.Nm 110interface first appeared in 111.Nx 1.1 . 112ARP support was added in 113.Nx 1.3 . 114.Sh AUTHOR 115Ignatios Souvatzis 116