1.\" $OpenBSD: cad.4,v 1.3 2021/09/08 20:29:21 jmc Exp $ 2.\" 3.\" Copyright (c) 2021 Visa Hankala 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd $Mdocdate: September 8 2021 $ 18.Dt CAD 4 19.Os 20.Sh NAME 21.Nm cad 22.Nd Cadence 10/100/1Gb Ethernet device 23.Sh SYNOPSIS 24.Cd "cad* at fdt?" 25.Sh DESCRIPTION 26The 27.Nm 28driver supports the Cadence Gigabit Ethernet MAC core found on some SoCs, 29including the following: 30.Pp 31.Bl -bullet -offset indent -compact 32.It 33SiFive FU740-C000 34.It 35Xilinx Zynq-7000 36.El 37.Pp 38The 39.Nm 40driver supports IPv4 receive IP/TCP/UDP checksum offload, 41and IPv6 receive TCP/UDP checksum offload. 42.Pp 43The following media types and options are supported, 44as given to 45.Xr ifconfig 8 : 46.Bl -tag -width autoselect -offset indent 47.It media autoselect 48Use auto-negotiation for speed and duplex (default). 49.It media 1000baseT mediaopt full-duplex 50Use 1000baseT on copper, full duplex. 51.It media 100baseTX mediaopt full-duplex 52Use 100baseTX on copper, full duplex. 53.It media 100baseTX mediaopt half-duplex 54Use 100baseTX on copper, half duplex. 55.It media 10baseT mediaopt full-duplex 56Use 10baseT on copper, full duplex. 57.It media 10baseT mediaopt half-duplex 58Use 10baseT on copper, half duplex. 59.El 60.Sh SEE ALSO 61.Xr arp 4 , 62.Xr ifmedia 4 , 63.Xr intro 4 , 64.Xr netintro 4 , 65.Xr hostname.if 5 , 66.Xr ifconfig 8 67.Sh HISTORY 68The 69.Nm 70driver first appeared in 71.Ox 7.0 72