1.\" $OpenBSD: cad.4,v 1.4 2022/01/27 17:36:22 visa 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: January 27 2022 $ 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 33Microchip PolarFire SoC 34.It 35SiFive FU740-C000 36.It 37Xilinx Zynq-7000 38.El 39.Pp 40The 41.Nm 42driver supports IPv4 receive IP/TCP/UDP checksum offload, 43and IPv6 receive TCP/UDP checksum offload. 44.Pp 45The following media types and options are supported, 46as given to 47.Xr ifconfig 8 : 48.Bl -tag -width autoselect -offset indent 49.It media autoselect 50Use auto-negotiation for speed and duplex (default). 51.It media 1000baseT mediaopt full-duplex 52Use 1000baseT on copper, full duplex. 53.It media 100baseTX mediaopt full-duplex 54Use 100baseTX on copper, full duplex. 55.It media 100baseTX mediaopt half-duplex 56Use 100baseTX on copper, half duplex. 57.It media 10baseT mediaopt full-duplex 58Use 10baseT on copper, full duplex. 59.It media 10baseT mediaopt half-duplex 60Use 10baseT on copper, half duplex. 61.El 62.Sh SEE ALSO 63.Xr arp 4 , 64.Xr ifmedia 4 , 65.Xr intro 4 , 66.Xr netintro 4 , 67.Xr hostname.if 5 , 68.Xr ifconfig 8 69.Sh HISTORY 70The 71.Nm 72driver first appeared in 73.Ox 7.0 74