2 .\" Copyright (c) 2013-2014 SRI International
3 .\" All rights reserved.
5 .\" This software was developed by SRI International and the University of
6 .\" Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237)
7 .\" ("CTSRD"), as part of the DARPA CRASH research programme.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 .Nd driver for the Altera Triple-Speed Ethernet MegaCore
40 .Cd "options ATSE_CFI_HACK"
43 .Pa /boot/device.hints :
44 .Cd hint.atse.0.at="nexus0"
45 .Cd hint.atse.0.maddr=0x7f007000
46 .Cd hint.atse.0.msize=0x540
47 .Cd hint.atse.0.rc_irq=1
48 .Cd hint.atse.0.rx_maddr=0x7f007500
49 .Cd hint.atse.0.rx_msize=0x8
50 .Cd hint.atse.0.rxc_maddr=0x7f007520
51 .Cd hint.atse.0.rxc_msize=0x20
52 .Cd hint.atse.0.tx_irq=2
53 .Cd hint.atse.0.tx_maddr=0x7f007400
54 .Cd hint.atse.0.tx_msize=0x8
55 .Cd hint.atse.0.txc_maddr=0x7f007420
56 .Cd hint.atse.0.txc_msize=0x20
57 .Cd hint.e1000phy.0.at="miibus0"
58 .Cd hint.e1000phy.0.phyno=0
62 device driver provides support for the Altera Triple-Speed Ethernet
65 The current version of the
67 driver supports the Ethernet MegaCore as described in version 11.1 of
68 Altera's documentation when the device is configured with internal FIFOs.
70 The default MAC address for each
72 interface is derived from a value stored in
75 The value is managed by the
79 Only a single MAC address may be stored in flash.
80 If the address begins with the Altera prefix 00:07:ed and ends in 00 then
81 up to 16 addresses will be derived from it by adding the unit number of
82 the interface to the stored address.
83 For other prefixes, the address will be assigned to atse0 and random
84 addresses will be used for other interfaces.
85 If the stored address is invalid, for example all zero's, multicast, or the
86 default address shipped on all DE4 boards (00:07:ed:ff:ed:15) then a random
87 address is generated when the device is attached.
93 .%T Triple-Speed Ethernet MegaCore Function User Guide
95 .%I Altera Corporation
100 device driver first appeared in
105 device driver and this manual page were
106 developed by SRI International and the University of Cambridge Computer
107 Laboratory under DARPA/AFRL contract
110 as part of the DARPA CRASH research programme.
111 This device driver was written by
116 driver only supports a single configuration of the MegaCore as installed
117 on the Terasic Technologies Altera DE4 Development and Education Board.
119 Only gigabit Ethernet speeds are currently supported.