From 5cb84ec742fd33f78c8022863fadaa8d0d93e176 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 25 Apr 2026 15:32:58 -0400 Subject: feat: Added NetBSD man pages --- static/netbsd/man4/Makefile | 36 + static/netbsd/man4/aac.4 | 105 + static/netbsd/man4/ac97.4 | 78 + static/netbsd/man4/acardide.4 | 69 + static/netbsd/man4/aceride.4 | 58 + static/netbsd/man4/acphy.4 | 58 + static/netbsd/man4/acpi.4 | 573 ++++++ static/netbsd/man4/acpiacad.4 | 58 + static/netbsd/man4/acpibat.4 | 123 ++ static/netbsd/man4/acpibut.4 | 59 + static/netbsd/man4/acpicpu.4 | 365 ++++ static/netbsd/man4/acpidalb.4 | 73 + static/netbsd/man4/acpiec.4 | 123 ++ static/netbsd/man4/acpifan.4 | 75 + static/netbsd/man4/acpihed.4 | 72 + static/netbsd/man4/acpilid.4 | 94 + static/netbsd/man4/acpipmtr.4 | 66 + static/netbsd/man4/acpismbus.4 | 82 + static/netbsd/man4/acpitz.4 | 128 ++ static/netbsd/man4/acpivga.4 | 124 ++ static/netbsd/man4/acpivmgenid.4 | 108 + static/netbsd/man4/acpiwdrt.4 | 62 + static/netbsd/man4/acpiwmi.4 | 100 + static/netbsd/man4/adb.4 | 265 +++ static/netbsd/man4/adbbt.4 | 50 + static/netbsd/man4/adbkbd.4 | 62 + static/netbsd/man4/adbms.4 | 54 + static/netbsd/man4/adc.4 | 50 + static/netbsd/man4/adm1026hm.4 | 101 + static/netbsd/man4/admtemp.4 | 86 + static/netbsd/man4/adv.4 | 157 ++ static/netbsd/man4/adw.4 | 100 + static/netbsd/man4/age.4 | 91 + static/netbsd/man4/agp.4 | 246 +++ static/netbsd/man4/agr.4 | 172 ++ static/netbsd/man4/aha.4 | 58 + static/netbsd/man4/ahb.4 | 52 + static/netbsd/man4/ahc.4 | 402 ++++ static/netbsd/man4/ahcisata.4 | 69 + static/netbsd/man4/ahd.4 | 194 ++ static/netbsd/man4/aht20temp.4 | 76 + static/netbsd/man4/ai.4 | 65 + static/netbsd/man4/aibs.4 | 235 +++ static/netbsd/man4/aic.4 | 79 + static/netbsd/man4/akbd.4 | 189 ++ static/netbsd/man4/alc.4 | 77 + static/netbsd/man4/ale.4 | 93 + static/netbsd/man4/alipm.4 | 52 + static/netbsd/man4/altmem.4 | 67 + static/netbsd/man4/altq.4 | 97 + static/netbsd/man4/am2315temp.4 | 97 + static/netbsd/man4/amdgpio.4 | 101 + static/netbsd/man4/amdpm.4 | 55 + static/netbsd/man4/amdtemp.4 | 88 + static/netbsd/man4/amhphy.4 | 53 + static/netbsd/man4/amr.4 | 179 ++ static/netbsd/man4/ams.4 | 80 + static/netbsd/man4/an.4 | 144 ++ static/netbsd/man4/apei.4 | 133 ++ static/netbsd/man4/aps.4 | 85 + static/netbsd/man4/aq.4 | 105 + static/netbsd/man4/arcmsr.4 | 161 ++ static/netbsd/man4/arcofi.4 | 102 + static/netbsd/man4/aria.4 | 72 + static/netbsd/man4/artsata.4 | 62 + static/netbsd/man4/ast.4 | 92 + static/netbsd/man4/asus.4 | 77 + static/netbsd/man4/ata.4 | 54 + static/netbsd/man4/atalk.4 | 183 ++ static/netbsd/man4/ataraid.4 | 94 + static/netbsd/man4/ate.4 | 75 + static/netbsd/man4/ath.4 | 307 +++ static/netbsd/man4/athn.4 | 251 +++ static/netbsd/man4/atphy.4 | 37 + static/netbsd/man4/atppc.4 | 115 ++ static/netbsd/man4/attimer.4 | 55 + static/netbsd/man4/atu.4 | 115 ++ static/netbsd/man4/atw.4 | 197 ++ static/netbsd/man4/auacer.4 | 54 + static/netbsd/man4/aubtfwl.4 | 78 + static/netbsd/man4/audio.4 | 835 ++++++++ static/netbsd/man4/audiocs.4 | 51 + static/netbsd/man4/aue.4 | 171 ++ static/netbsd/man4/auich.4 | 80 + static/netbsd/man4/auixp.4 | 64 + static/netbsd/man4/autri.4 | 50 + static/netbsd/man4/auvia.4 | 53 + static/netbsd/man4/auvitek.4 | 102 + static/netbsd/man4/awi.4 | 186 ++ static/netbsd/man4/axe.4 | 205 ++ static/netbsd/man4/axen.4 | 95 + static/netbsd/man4/az.4 | 76 + static/netbsd/man4/battery_pmu.4 | 53 + static/netbsd/man4/bba.4 | 55 + static/netbsd/man4/bce.4 | 61 + static/netbsd/man4/bcsp.4 | 69 + static/netbsd/man4/be.4 | 83 + static/netbsd/man4/bge.4 | 254 +++ static/netbsd/man4/bha.4 | 75 + static/netbsd/man4/bio.4 | 235 +++ static/netbsd/man4/bktr.4 | 499 +++++ static/netbsd/man4/bluetooth.4 | 428 ++++ static/netbsd/man4/bmtphy.4 | 54 + static/netbsd/man4/bmx280thp.4 | 110 + static/netbsd/man4/bnx.4 | 195 ++ static/netbsd/man4/boca.4 | 130 ++ static/netbsd/man4/bochsfb.4 | 80 + static/netbsd/man4/bpf.4 | 890 +++++++++ static/netbsd/man4/bpfjit.4 | 116 ++ static/netbsd/man4/brgphy.4 | 49 + static/netbsd/man4/bridge.4 | 142 ++ static/netbsd/man4/bt3c.4 | 86 + static/netbsd/man4/btbc.4 | 51 + static/netbsd/man4/bthidev.4 | 118 ++ static/netbsd/man4/bthub.4 | 118 ++ static/netbsd/man4/btkbd.4 | 77 + static/netbsd/man4/btmagic.4 | 146 ++ static/netbsd/man4/btms.4 | 64 + static/netbsd/man4/btsco.4 | 142 ++ static/netbsd/man4/btuart.4 | 64 + static/netbsd/man4/bwfm.4 | 59 + static/netbsd/man4/bwi.4 | 136 ++ static/netbsd/man4/cac.4 | 96 + static/netbsd/man4/can.4 | 106 + static/netbsd/man4/canloop.4 | 54 + static/netbsd/man4/cardbus.4 | 199 ++ static/netbsd/man4/carp.4 | 209 ++ static/netbsd/man4/cas.4 | 109 + static/netbsd/man4/ccd.4 | 161 ++ static/netbsd/man4/cd.4 | 409 ++++ static/netbsd/man4/cdce.4 | 145 ++ static/netbsd/man4/cec.4 | 70 + static/netbsd/man4/cfb.4 | 54 + static/netbsd/man4/cgd.4 | 324 +++ static/netbsd/man4/ch.4 | 50 + static/netbsd/man4/chipsfb.4 | 47 + static/netbsd/man4/ciphy.4 | 56 + static/netbsd/man4/cir.4 | 53 + static/netbsd/man4/ciss.4 | 188 ++ static/netbsd/man4/clcs.4 | 60 + static/netbsd/man4/clct.4 | 53 + static/netbsd/man4/clockctl.4 | 133 ++ static/netbsd/man4/cmdide.4 | 75 + static/netbsd/man4/cmpci.4 | 129 ++ static/netbsd/man4/cms.4 | 61 + static/netbsd/man4/cnw.4 | 112 ++ static/netbsd/man4/com.4 | 191 ++ static/netbsd/man4/coram.4 | 69 + static/netbsd/man4/crypto.4 | 663 ++++++ static/netbsd/man4/cs.4 | 66 + static/netbsd/man4/cs80bus.4 | 54 + static/netbsd/man4/cuda.4 | 51 + static/netbsd/man4/cue.4 | 93 + static/netbsd/man4/cxdtv.4 | 72 + static/netbsd/man4/cy.4 | 91 + static/netbsd/man4/cypide.4 | 58 + static/netbsd/man4/cz.4 | 128 ++ static/netbsd/man4/dbcool.4 | 264 +++ static/netbsd/man4/ddb.4 | 1739 ++++++++++++++++ static/netbsd/man4/ddc.4 | 61 + static/netbsd/man4/dge.4 | 139 ++ static/netbsd/man4/dk.4 | 183 ++ static/netbsd/man4/dm.4 | 140 ++ static/netbsd/man4/dmoverio.4 | 244 +++ static/netbsd/man4/dmphy.4 | 50 + static/netbsd/man4/dpt.4 | 115 ++ static/netbsd/man4/dpti.4 | 78 + static/netbsd/man4/drm.4 | 272 +++ static/netbsd/man4/drum.4 | 57 + static/netbsd/man4/drvctl.4 | 205 ++ static/netbsd/man4/ds2482ow.4 | 87 + static/netbsd/man4/ds28e17iic.4 | 92 + static/netbsd/man4/dse.4 | 82 + static/netbsd/man4/dtide.4 | 57 + static/netbsd/man4/dtv.4 | 113 ++ static/netbsd/man4/dtviic.4 | 158 ++ static/netbsd/man4/dwctwo.4 | 51 + static/netbsd/man4/ea.4 | 71 + static/netbsd/man4/eap.4 | 94 + static/netbsd/man4/eb.4 | 61 + static/netbsd/man4/ebus.4 | 60 + static/netbsd/man4/ec.4 | 162 ++ static/netbsd/man4/edc.4 | 69 + static/netbsd/man4/ef.4 | 61 + static/netbsd/man4/eg.4 | 46 + static/netbsd/man4/ehci.4 | 73 + static/netbsd/man4/ei.4 | 58 + static/netbsd/man4/eisa.4 | 143 ++ static/netbsd/man4/el.4 | 49 + static/netbsd/man4/elmc.4 | 63 + static/netbsd/man4/emcfan.4 | 161 ++ static/netbsd/man4/emdtv.4 | 81 + static/netbsd/man4/emuxki.4 | 88 + static/netbsd/man4/ena.4 | 106 + static/netbsd/man4/envsys.4 | 472 +++++ static/netbsd/man4/ep.4 | 209 ++ static/netbsd/man4/epic.4 | 60 + static/netbsd/man4/eqos.4 | 57 + static/netbsd/man4/esa.4 | 63 + static/netbsd/man4/esiop.4 | 100 + static/netbsd/man4/esm.4 | 64 + static/netbsd/man4/eso.4 | 73 + static/netbsd/man4/esp.4 | 149 ++ static/netbsd/man4/ess.4 | 80 + static/netbsd/man4/et.4 | 79 + static/netbsd/man4/etphy.4 | 58 + static/netbsd/man4/ex.4 | 155 ++ static/netbsd/man4/exphy.4 | 49 + static/netbsd/man4/faith.4 | 129 ++ static/netbsd/man4/fd.4 | 96 + static/netbsd/man4/finsio.4 | 75 + static/netbsd/man4/flash.4 | 69 + static/netbsd/man4/fms.4 | 54 + static/netbsd/man4/fmv.4 | 76 + static/netbsd/man4/fss.4 | 158 ++ static/netbsd/man4/fujbp.4 | 94 + static/netbsd/man4/full.4 | 56 + static/netbsd/man4/fwip.4 | 82 + static/netbsd/man4/fwohci.4 | 148 ++ static/netbsd/man4/fxp.4 | 155 ++ static/netbsd/man4/g760a.4 | 74 + static/netbsd/man4/gcscaudio.4 | 60 + static/netbsd/man4/gem.4 | 115 ++ static/netbsd/man4/genet.4 | 78 + static/netbsd/man4/genfb.4 | 85 + static/netbsd/man4/gentbi.4 | 48 + static/netbsd/man4/geodeide.4 | 103 + static/netbsd/man4/gif.4 | 276 +++ static/netbsd/man4/glxtphy.4 | 48 + static/netbsd/man4/gphyter.4 | 50 + static/netbsd/man4/gpib.4 | 61 + static/netbsd/man4/gpio.4 | 245 +++ static/netbsd/man4/gpioiic.4 | 95 + static/netbsd/man4/gpioirq.4 | 147 ++ static/netbsd/man4/gpiolock.4 | 67 + static/netbsd/man4/gpioow.4 | 73 + static/netbsd/man4/gpiopps.4 | 106 + static/netbsd/man4/gpiopwm.4 | 92 + static/netbsd/man4/gpiosim.4 | 58 + static/netbsd/man4/gre.4 | 359 ++++ static/netbsd/man4/gscan.4 | 55 + static/netbsd/man4/gsip.4 | 94 + static/netbsd/man4/gtp.4 | 78 + static/netbsd/man4/gus.4 | 87 + static/netbsd/man4/guspnp.4 | 117 ++ static/netbsd/man4/hcide.4 | 57 + static/netbsd/man4/hdaudio.4 | 131 ++ static/netbsd/man4/hifn.4 | 118 ++ static/netbsd/man4/hil.4 | 84 + static/netbsd/man4/hilid.4 | 47 + static/netbsd/man4/hilkbd.4 | 108 + static/netbsd/man4/hilms.4 | 48 + static/netbsd/man4/hme.4 | 114 ++ static/netbsd/man4/hpacel.4 | 85 + static/netbsd/man4/hpqlb.4 | 70 + static/netbsd/man4/hptide.4 | 59 + static/netbsd/man4/hvn.4 | 70 + static/netbsd/man4/hythygtemp.4 | 83 + static/netbsd/man4/iavf.4 | 63 + static/netbsd/man4/ibmcd.4 | 68 + static/netbsd/man4/ibmhawk.4 | 58 + static/netbsd/man4/ichsmb.4 | 68 + static/netbsd/man4/icmp.4 | 122 ++ static/netbsd/man4/icmp6.4 | 255 +++ static/netbsd/man4/icp.4 | 60 + static/netbsd/man4/icsphy.4 | 49 + static/netbsd/man4/iee.4 | 173 ++ static/netbsd/man4/ieee1394if.4 | 113 ++ static/netbsd/man4/ieee80211.4 | 246 +++ static/netbsd/man4/ietp.4 | 47 + static/netbsd/man4/ifmedia.4 | 473 +++++ static/netbsd/man4/igc.4 | 68 + static/netbsd/man4/igmafb.4 | 83 + static/netbsd/man4/igphy.4 | 49 + static/netbsd/man4/igpio.4 | 94 + static/netbsd/man4/igsfb.4 | 56 + static/netbsd/man4/iha.4 | 70 + static/netbsd/man4/ihidev.4 | 60 + static/netbsd/man4/ihphy.4 | 50 + static/netbsd/man4/iic.4 | 290 +++ static/netbsd/man4/ikphy.4 | 53 + static/netbsd/man4/ims.4 | 54 + static/netbsd/man4/inet.4 | 187 ++ static/netbsd/man4/inet6.4 | 408 ++++ static/netbsd/man4/inphy.4 | 55 + static/netbsd/man4/intersil7170.4 | 117 ++ static/netbsd/man4/intro.4 | 181 ++ static/netbsd/man4/ioasic.4 | 103 + static/netbsd/man4/ioat.4 | 94 + static/netbsd/man4/iop.4 | 193 ++ static/netbsd/man4/iophy.4 | 49 + static/netbsd/man4/iopsp.4 | 68 + static/netbsd/man4/ip.4 | 545 +++++ static/netbsd/man4/ip6.4 | 732 +++++++ static/netbsd/man4/ipgphy.4 | 36 + static/netbsd/man4/ipmi.4 | 87 + static/netbsd/man4/ipsec.4 | 397 ++++ static/netbsd/man4/ipsecif.4 | 198 ++ static/netbsd/man4/ipw.4 | 99 + static/netbsd/man4/irframe.4 | 91 + static/netbsd/man4/irframetty.4 | 74 + static/netbsd/man4/irmce.4 | 62 + static/netbsd/man4/isa.4 | 312 +++ static/netbsd/man4/isapnp.4 | 143 ++ static/netbsd/man4/ismt.4 | 79 + static/netbsd/man4/isp.4 | 134 ++ static/netbsd/man4/isv.4 | 87 + static/netbsd/man4/iteide.4 | 69 + static/netbsd/man4/itesio.4 | 94 + static/netbsd/man4/iwi.4 | 100 + static/netbsd/man4/iwm.4 | 69 + static/netbsd/man4/iwn.4 | 254 +++ static/netbsd/man4/ix.4 | 55 + static/netbsd/man4/ixg.4 | 116 ++ static/netbsd/man4/ixl.4 | 71 + static/netbsd/man4/ixpide.4 | 71 + static/netbsd/man4/ixv.4 | 80 + static/netbsd/man4/iy.4 | 88 + static/netbsd/man4/jme.4 | 85 + static/netbsd/man4/jmide.4 | 70 + static/netbsd/man4/jmphy.4 | 63 + static/netbsd/man4/joy.4 | 154 ++ static/netbsd/man4/kcov.4 | 197 ++ static/netbsd/man4/kloader.4 | 95 + static/netbsd/man4/kse.4 | 74 + static/netbsd/man4/ksyms.4 | 123 ++ static/netbsd/man4/kttcp.4 | 63 + static/netbsd/man4/kue.4 | 114 ++ static/netbsd/man4/l2tp.4 | 175 ++ static/netbsd/man4/lagg.4 | 200 ++ static/netbsd/man4/lc.4 | 60 + static/netbsd/man4/ld.4 | 90 + static/netbsd/man4/le.4 | 449 +++++ static/netbsd/man4/lii.4 | 54 + static/netbsd/man4/lm.4 | 142 ++ static/netbsd/man4/lmenv.4 | 95 + static/netbsd/man4/lmtemp.4 | 84 + static/netbsd/man4/lo.4 | 86 + static/netbsd/man4/lpt.4 | 97 + static/netbsd/man4/lua.4 | 198 ++ static/netbsd/man4/lxtphy.4 | 49 + static/netbsd/man4/m25p.4 | 70 + static/netbsd/man4/machfb.4 | 75 + static/netbsd/man4/mainbus.4 | 48 + static/netbsd/man4/makphy.4 | 50 + static/netbsd/man4/malo.4 | 180 ++ static/netbsd/man4/man4.acorn32/Makefile | 4 + static/netbsd/man4/man4.acorn32/asc.4 | 47 + static/netbsd/man4/man4.acorn32/autoconf.4 | 65 + static/netbsd/man4/man4.acorn32/cosc.4 | 47 + static/netbsd/man4/man4.acorn32/csc.4 | 47 + static/netbsd/man4/man4.acorn32/ie.4 | 58 + static/netbsd/man4/man4.acorn32/intro.4 | 136 ++ static/netbsd/man4/man4.acorn32/iomdkbc.4 | 78 + static/netbsd/man4/man4.acorn32/lpt.4 | 52 + static/netbsd/man4/man4.acorn32/mainbus.4 | 45 + static/netbsd/man4/man4.acorn32/mem.4 | 80 + static/netbsd/man4/man4.acorn32/ptsc.4 | 47 + static/netbsd/man4/man4.acorn32/qms.4 | 25 + static/netbsd/man4/man4.acorn32/vidcaudio.4 | 71 + static/netbsd/man4/man4.acorn32/vidcvideo.4 | 84 + static/netbsd/man4/man4.alpha/Makefile | 4 + static/netbsd/man4/man4.alpha/apecs.4 | 49 + static/netbsd/man4/man4.alpha/asc.4 | 54 + static/netbsd/man4/man4.alpha/autoconf.4 | 78 + static/netbsd/man4/man4.alpha/cia.4 | 49 + static/netbsd/man4/man4.alpha/dwlpx.4 | 48 + static/netbsd/man4/man4.alpha/gbus.4 | 56 + static/netbsd/man4/man4.alpha/intro.4 | 605 ++++++ static/netbsd/man4/man4.alpha/irongate.4 | 48 + static/netbsd/man4/man4.alpha/jensenio.4 | 76 + static/netbsd/man4/man4.alpha/kft.4 | 55 + static/netbsd/man4/man4.alpha/lca.4 | 47 + static/netbsd/man4/man4.alpha/mcbus.4 | 70 + static/netbsd/man4/man4.alpha/mcpcia.4 | 48 + static/netbsd/man4/man4.alpha/sableio.4 | 66 + static/netbsd/man4/man4.alpha/tcasic.4 | 48 + static/netbsd/man4/man4.alpha/tlsb.4 | 62 + static/netbsd/man4/man4.alpha/tsc.4 | 48 + static/netbsd/man4/man4.alpha/tsciic.4 | 47 + static/netbsd/man4/man4.alpha/tsp.4 | 48 + static/netbsd/man4/man4.alpha/ttwoga.4 | 47 + static/netbsd/man4/man4.alpha/ttwopci.4 | 48 + static/netbsd/man4/man4.amiga/Makefile | 4 + static/netbsd/man4/man4.amiga/a1k2cp.4 | 73 + static/netbsd/man4/man4.amiga/a2kbbc.4 | 46 + static/netbsd/man4/man4.amiga/a34kbbc.4 | 46 + static/netbsd/man4/man4.amiga/acafh.4 | 67 + static/netbsd/man4/man4.amiga/afsc.4 | 90 + static/netbsd/man4/man4.amiga/ahsc.4 | 90 + static/netbsd/man4/man4.amiga/amidisplaycc.4 | 96 + static/netbsd/man4/man4.amiga/atzsc.4 | 98 + static/netbsd/man4/man4.amiga/autoconf.4 | 94 + static/netbsd/man4/man4.amiga/bah.4 | 132 ++ static/netbsd/man4/man4.amiga/bppcsc.4 | 66 + static/netbsd/man4/man4.amiga/clockport.4 | 75 + static/netbsd/man4/man4.amiga/console.4 | 75 + static/netbsd/man4/man4.amiga/cv3dpb.4 | 69 + static/netbsd/man4/man4.amiga/drbbc.4 | 46 + static/netbsd/man4/man4.amiga/ed.4 | 80 + static/netbsd/man4/man4.amiga/efa.4 | 116 ++ static/netbsd/man4/man4.amiga/em4k.4 | 85 + static/netbsd/man4/man4.amiga/empb.4 | 105 + static/netbsd/man4/man4.amiga/es.4 | 76 + static/netbsd/man4/man4.amiga/fdc.4 | 79 + static/netbsd/man4/man4.amiga/grf.4 | 76 + static/netbsd/man4/man4.amiga/grfcl.4 | 96 + static/netbsd/man4/man4.amiga/grfcv.4 | 100 + static/netbsd/man4/man4.amiga/grfcv3d.4 | 103 + static/netbsd/man4/man4.amiga/grfet.4 | 85 + static/netbsd/man4/man4.amiga/grfrh.4 | 73 + static/netbsd/man4/man4.amiga/grfrt.4 | 70 + static/netbsd/man4/man4.amiga/grful.4 | 77 + static/netbsd/man4/man4.amiga/gtsc.4 | 90 + static/netbsd/man4/man4.amiga/intro.4 | 171 ++ static/netbsd/man4/man4.amiga/ite.4 | 137 ++ static/netbsd/man4/man4.amiga/mem.4 | 76 + static/netbsd/man4/man4.amiga/mfcs.4 | 85 + static/netbsd/man4/man4.amiga/mgnsc.4 | 82 + static/netbsd/man4/man4.amiga/mntva.4 | 77 + static/netbsd/man4/man4.amiga/mppb.4 | 72 + static/netbsd/man4/man4.amiga/p5membar.4 | 62 + static/netbsd/man4/man4.amiga/p5pb.4 | 108 + static/netbsd/man4/man4.amiga/qn.4 | 93 + static/netbsd/man4/man4.amiga/ser.4 | 81 + static/netbsd/man4/man4.amiga/wesc.4 | 90 + static/netbsd/man4/man4.amiga/xsh.4 | 74 + static/netbsd/man4/man4.amiga/xsurf.4 | 82 + static/netbsd/man4/man4.amiga/z3rambd.4 | 83 + static/netbsd/man4/man4.amiga/zssc.4 | 82 + static/netbsd/man4/man4.amiga/zz9k.4 | 124 ++ static/netbsd/man4/man4.arc/Makefile | 4 + static/netbsd/man4/man4.arc/intro.4 | 185 ++ static/netbsd/man4/man4.atari/Makefile | 4 + static/netbsd/man4/man4.atari/et.4 | 100 + static/netbsd/man4/man4.atari/floppy.4 | 59 + static/netbsd/man4/man4.atari/intro.4 | 157 ++ static/netbsd/man4/man4.atari/ms.4 | 90 + static/netbsd/man4/man4.atari/rtc.4 | 60 + static/netbsd/man4/man4.cobalt/Makefile | 4 + static/netbsd/man4/man4.cobalt/gt.4 | 45 + static/netbsd/man4/man4.cobalt/intro.4 | 124 ++ static/netbsd/man4/man4.dreamcast/Makefile | 4 + static/netbsd/man4/man4.dreamcast/aica.4 | 54 + static/netbsd/man4/man4.dreamcast/g2bus.4 | 49 + static/netbsd/man4/man4.dreamcast/gapspci.4 | 55 + static/netbsd/man4/man4.dreamcast/gdrom.4 | 63 + static/netbsd/man4/man4.dreamcast/intro.4 | 136 ++ static/netbsd/man4/man4.dreamcast/maple.4 | 83 + static/netbsd/man4/man4.dreamcast/mkbd.4 | 53 + static/netbsd/man4/man4.dreamcast/mlcd.4 | 65 + static/netbsd/man4/man4.dreamcast/mmem.4 | 87 + static/netbsd/man4/man4.dreamcast/mms.4 | 53 + static/netbsd/man4/man4.dreamcast/pvr.4 | 52 + static/netbsd/man4/man4.emips/Makefile | 4 + static/netbsd/man4/man4.emips/ace.4 | 58 + static/netbsd/man4/man4.emips/autoconf.4 | 61 + static/netbsd/man4/man4.emips/dz.4 | 90 + static/netbsd/man4/man4.emips/ebus.4 | 68 + static/netbsd/man4/man4.emips/eclock.4 | 44 + static/netbsd/man4/man4.emips/enic.4 | 82 + static/netbsd/man4/man4.emips/intro.4 | 132 ++ static/netbsd/man4/man4.evbarm/Makefile | 4 + static/netbsd/man4/man4.evbarm/awge.4 | 45 + static/netbsd/man4/man4.evbarm/bcmgpio.4 | 65 + static/netbsd/man4/man4.evbarm/cpsw.4 | 50 + static/netbsd/man4/man4.evbarm/epgpio.4 | 103 + static/netbsd/man4/man4.evbarm/gxio.4 | 121 ++ static/netbsd/man4/man4.evbarm/intro.4 | 101 + static/netbsd/man4/man4.evbarm/iopaau.4 | 111 ++ static/netbsd/man4/man4.evbarm/iopwdog.4 | 71 + static/netbsd/man4/man4.evbarm/rktsadc.4 | 66 + static/netbsd/man4/man4.evbarm/sun8icrypto.4 | 109 + static/netbsd/man4/man4.evbarm/vcaudio.4 | 68 + static/netbsd/man4/man4.evbarm/vchiq.4 | 75 + static/netbsd/man4/man4.evbmips/Makefile | 4 + static/netbsd/man4/man4.evbmips/aupci.4 | 56 + static/netbsd/man4/man4.evbmips/cnmac.4 | 61 + static/netbsd/man4/man4.evbmips/intro.4 | 151 ++ static/netbsd/man4/man4.evbppc/Makefile | 4 + static/netbsd/man4/man4.evbppc/cpc.4 | 54 + static/netbsd/man4/man4.evbppc/intro_pmppc.4 | 123 ++ static/netbsd/man4/man4.evbppc/mainbus.4 | 54 + static/netbsd/man4/man4.evbppc/rtc.4 | 49 + static/netbsd/man4/man4.hp300/Makefile | 4 + static/netbsd/man4/man4.hp300/autoconf.4 | 144 ++ static/netbsd/man4/man4.hp300/cons.4 | 73 + static/netbsd/man4/man4.hp300/ct.4 | 102 + static/netbsd/man4/man4.hp300/dcl.4 | 130 ++ static/netbsd/man4/man4.hp300/dcm.4 | 97 + static/netbsd/man4/man4.hp300/dio.4 | 103 + static/netbsd/man4/man4.hp300/dnkbd.4 | 46 + static/netbsd/man4/man4.hp300/dvbox.4 | 70 + static/netbsd/man4/man4.hp300/frodo.4 | 58 + static/netbsd/man4/man4.hp300/gbox.4 | 94 + static/netbsd/man4/man4.hp300/hpib.4 | 49 + static/netbsd/man4/man4.hp300/hyper.4 | 46 + static/netbsd/man4/man4.hp300/intio.4 | 72 + static/netbsd/man4/man4.hp300/intro.4 | 136 ++ static/netbsd/man4/man4.hp300/mem.4 | 84 + static/netbsd/man4/man4.hp300/ppi.4 | 75 + static/netbsd/man4/man4.hp300/rbox.4 | 69 + static/netbsd/man4/man4.hp300/rd.4 | 328 +++ static/netbsd/man4/man4.hp300/rmp.4 | 171 ++ static/netbsd/man4/man4.hp300/rtc.4 | 50 + static/netbsd/man4/man4.hp300/topcat.4 | 81 + static/netbsd/man4/man4.hpcarm/Makefile | 4 + static/netbsd/man4/man4.hpcarm/intro.4 | 154 ++ static/netbsd/man4/man4.hpcarm/j720kbd.4 | 47 + static/netbsd/man4/man4.hpcarm/j720lcd.4 | 47 + static/netbsd/man4/man4.hpcarm/j720tp.4 | 72 + static/netbsd/man4/man4.hpcmips/Makefile | 4 + static/netbsd/man4/man4.hpcmips/teliosio.4 | 55 + static/netbsd/man4/man4.hpcsh/Makefile | 4 + static/netbsd/man4/man4.hpcsh/intro.4 | 201 ++ static/netbsd/man4/man4.hpcsh/j6x0lcd.4 | 51 + static/netbsd/man4/man4.hpcsh/j6x0tp.4 | 100 + static/netbsd/man4/man4.hpcsh/psh3lcd.4 | 62 + static/netbsd/man4/man4.hpcsh/psh3tp.4 | 52 + static/netbsd/man4/man4.hppa/Makefile | 4 + static/netbsd/man4/man4.hppa/asp.4 | 104 + static/netbsd/man4/man4.hppa/astro.4 | 47 + static/netbsd/man4/man4.hppa/cpu.4 | 266 +++ static/netbsd/man4/man4.hppa/dino.4 | 103 + static/netbsd/man4/man4.hppa/elroy.4 | 43 + static/netbsd/man4/man4.hppa/gsc.4 | 118 ++ static/netbsd/man4/man4.hppa/gsckbc.4 | 77 + static/netbsd/man4/man4.hppa/harmony.4 | 117 ++ static/netbsd/man4/man4.hppa/intro.4 | 287 +++ static/netbsd/man4/man4.hppa/io.4 | 157 ++ static/netbsd/man4/man4.hppa/lasi.4 | 148 ++ static/netbsd/man4/man4.hppa/lcd.4 | 52 + static/netbsd/man4/man4.hppa/mem.4 | 84 + static/netbsd/man4/man4.hppa/mongoose.4 | 83 + static/netbsd/man4/man4.hppa/pdc.4 | 723 +++++++ static/netbsd/man4/man4.hppa/phantomas.4 | 87 + static/netbsd/man4/man4.hppa/ssio.4 | 56 + static/netbsd/man4/man4.hppa/uturn.4 | 66 + static/netbsd/man4/man4.hppa/wax.4 | 107 + static/netbsd/man4/man4.i386/Makefile | 4 + static/netbsd/man4/man4.i386/apm.4 | 214 ++ static/netbsd/man4/man4.i386/cmos.4 | 129 ++ static/netbsd/man4/man4.i386/elanpar.4 | 97 + static/netbsd/man4/man4.i386/elanpex.4 | 101 + static/netbsd/man4/man4.i386/elansc.4 | 131 ++ static/netbsd/man4/man4.i386/gcscide.4 | 54 + static/netbsd/man4/man4.i386/gcscpcib.4 | 56 + static/netbsd/man4/man4.i386/geodecntr.4 | 54 + static/netbsd/man4/man4.i386/geodewdog.4 | 61 + static/netbsd/man4/man4.i386/glxsb.4 | 70 + static/netbsd/man4/man4.i386/gscpcib.4 | 75 + static/netbsd/man4/man4.i386/intro.4 | 176 ++ static/netbsd/man4/man4.i386/io.4 | 76 + static/netbsd/man4/man4.i386/lms.4 | 53 + static/netbsd/man4/man4.i386/mms.4 | 53 + static/netbsd/man4/man4.i386/pcibios.4 | 164 ++ static/netbsd/man4/man4.i386/pcmb.4 | 39 + static/netbsd/man4/man4.i386/pnpbios.4 | 100 + static/netbsd/man4/man4.i386/rdcide.4 | 54 + static/netbsd/man4/man4.i386/rdcpcib.4 | 49 + static/netbsd/man4/man4.i386/spic.4 | 71 + static/netbsd/man4/man4.luna68k/Makefile | 4 + static/netbsd/man4/man4.luna68k/autoconf.4 | 76 + static/netbsd/man4/man4.luna68k/intro.4 | 120 ++ static/netbsd/man4/man4.luna68k/lcd.4 | 86 + static/netbsd/man4/man4.luna68k/mem.4 | 76 + static/netbsd/man4/man4.luna68k/xp.4 | 75 + static/netbsd/man4/man4.mac68k/Makefile | 4 + static/netbsd/man4/man4.mac68k/ae.4 | 95 + static/netbsd/man4/man4.mac68k/ascaudio.4 | 72 + static/netbsd/man4/man4.mac68k/autoconf.4 | 100 + static/netbsd/man4/man4.mac68k/cpi.4 | 113 ++ static/netbsd/man4/man4.mac68k/intro.4 | 135 ++ static/netbsd/man4/man4.mac68k/iwm.4 | 88 + static/netbsd/man4/man4.mac68k/mainbus.4 | 65 + static/netbsd/man4/man4.mac68k/mem.4 | 75 + static/netbsd/man4/man4.mac68k/netdock.4 | 83 + static/netbsd/man4/man4.mac68k/obio.4 | 111 ++ static/netbsd/man4/man4.mac68k/pbbat.4 | 111 ++ static/netbsd/man4/man4.mac68k/zsc.4 | 77 + static/netbsd/man4/man4.macppc/Makefile | 4 + static/netbsd/man4/man4.macppc/autoconf.4 | 70 + static/netbsd/man4/man4.macppc/awacs.4 | 55 + static/netbsd/man4/man4.macppc/bm.4 | 61 + static/netbsd/man4/man4.macppc/gm.4 | 75 + static/netbsd/man4/man4.macppc/intro.4 | 170 ++ static/netbsd/man4/man4.macppc/mesh.4 | 113 ++ static/netbsd/man4/man4.macppc/obio.4 | 109 + static/netbsd/man4/man4.macppc/pbms.4 | 58 + static/netbsd/man4/man4.macppc/platinumfb.4 | 64 + static/netbsd/man4/man4.macppc/snapper.4 | 68 + static/netbsd/man4/man4.mvme68k/Makefile | 4 + static/netbsd/man4/man4.mvme68k/autoconf.4 | 67 + static/netbsd/man4/man4.mvme68k/clmpcc.4 | 92 + static/netbsd/man4/man4.mvme68k/clock.4 | 56 + static/netbsd/man4/man4.mvme68k/ie.4 | 48 + static/netbsd/man4/man4.mvme68k/intro.4 | 142 ++ static/netbsd/man4/man4.mvme68k/lpt.4 | 64 + static/netbsd/man4/man4.mvme68k/mainbus.4 | 58 + static/netbsd/man4/man4.mvme68k/mem.4 | 76 + static/netbsd/man4/man4.mvme68k/memc.4 | 72 + static/netbsd/man4/man4.mvme68k/ncrsc.4 | 62 + static/netbsd/man4/man4.mvme68k/pcc.4 | 56 + static/netbsd/man4/man4.mvme68k/pcctwo.4 | 57 + static/netbsd/man4/man4.mvme68k/wdsc.4 | 75 + static/netbsd/man4/man4.mvme68k/zsc.4 | 65 + static/netbsd/man4/man4.pmax/Makefile | 4 + static/netbsd/man4/man4.pmax/asc.4 | 70 + static/netbsd/man4/man4.pmax/autoconf.4 | 68 + static/netbsd/man4/man4.pmax/ibus.4 | 74 + static/netbsd/man4/man4.pmax/intro.4 | 193 ++ static/netbsd/man4/man4.pmax/pm.4 | 56 + static/netbsd/man4/man4.pmax/sii.4 | 75 + static/netbsd/man4/man4.pmax/xcfb.4 | 56 + static/netbsd/man4/man4.prep/Makefile | 4 + static/netbsd/man4/man4.prep/intro.4 | 140 ++ static/netbsd/man4/man4.prep/nvram.4 | 121 ++ static/netbsd/man4/man4.sandpoint/Makefile | 4 + static/netbsd/man4/man4.sandpoint/nhpow.4 | 135 ++ static/netbsd/man4/man4.sandpoint/satmgr.4 | 128 ++ static/netbsd/man4/man4.sgimips/Makefile | 4 + static/netbsd/man4/man4.sgimips/crime.4 | 51 + static/netbsd/man4/man4.sgimips/dpclock.4 | 52 + static/netbsd/man4/man4.sgimips/dsclock.4 | 51 + static/netbsd/man4/man4.sgimips/gio.4 | 93 + static/netbsd/man4/man4.sgimips/giopci.4 | 62 + static/netbsd/man4/man4.sgimips/grtwo.4 | 60 + static/netbsd/man4/man4.sgimips/haltwo.4 | 50 + static/netbsd/man4/man4.sgimips/hpc.4 | 100 + static/netbsd/man4/man4.sgimips/imc.4 | 53 + static/netbsd/man4/man4.sgimips/intro.4 | 177 ++ static/netbsd/man4/man4.sgimips/light.4 | 65 + static/netbsd/man4/man4.sgimips/mace.4 | 54 + static/netbsd/man4/man4.sgimips/mavb.4 | 68 + static/netbsd/man4/man4.sgimips/mec.4 | 57 + static/netbsd/man4/man4.sgimips/newport.4 | 53 + static/netbsd/man4/man4.sgimips/pic.4 | 51 + static/netbsd/man4/man4.sgimips/sq.4 | 66 + static/netbsd/man4/man4.sgimips/wdsc.4 | 60 + static/netbsd/man4/man4.sparc/Makefile | 4 + static/netbsd/man4/man4.sparc/apc.4 | 49 + static/netbsd/man4/man4.sparc/audioamd.4 | 47 + static/netbsd/man4/man4.sparc/autoconf.4 | 68 + static/netbsd/man4/man4.sparc/auxreg.4 | 57 + static/netbsd/man4/man4.sparc/bpp.4 | 43 + static/netbsd/man4/man4.sparc/bwtwo.4 | 53 + static/netbsd/man4/man4.sparc/cgeight.4 | 57 + static/netbsd/man4/man4.sparc/cgfour.4 | 57 + static/netbsd/man4/man4.sparc/cgfourteen.4 | 79 + static/netbsd/man4/man4.sparc/cgsix.4 | 208 ++ static/netbsd/man4/man4.sparc/cgthree.4 | 58 + static/netbsd/man4/man4.sparc/cgtwo.4 | 56 + static/netbsd/man4/man4.sparc/clock.4 | 72 + static/netbsd/man4/man4.sparc/dbri.4 | 44 + static/netbsd/man4/man4.sparc/fd.4 | 118 ++ static/netbsd/man4/man4.sparc/ie.4 | 61 + static/netbsd/man4/man4.sparc/intro.4 | 301 +++ static/netbsd/man4/man4.sparc/kbd.4 | 184 ++ static/netbsd/man4/man4.sparc/magma.4 | 125 ++ static/netbsd/man4/man4.sparc/mem.4 | 76 + static/netbsd/man4/man4.sparc/ms.4 | 98 + static/netbsd/man4/man4.sparc/nell.4 | 60 + static/netbsd/man4/man4.sparc/openprom.4 | 161 ++ static/netbsd/man4/man4.sparc/pnozz.4 | 68 + static/netbsd/man4/man4.sparc/tctrl.4 | 63 + static/netbsd/man4/man4.sparc/tcx.4 | 61 + static/netbsd/man4/man4.sparc/timer.4 | 55 + static/netbsd/man4/man4.sparc/tslot.4 | 55 + static/netbsd/man4/man4.sparc/xd.4 | 49 + static/netbsd/man4/man4.sparc/xy.4 | 45 + static/netbsd/man4/man4.sparc/zx.4 | 58 + static/netbsd/man4/man4.sparc64/Makefile | 4 + static/netbsd/man4/man4.sparc64/envctrl.4 | 74 + static/netbsd/man4/man4.sparc64/fdc.4 | 119 ++ static/netbsd/man4/man4.sparc64/ffb.4 | 221 ++ static/netbsd/man4/man4.sparc64/intro.4 | 195 ++ static/netbsd/man4/man4.sparc64/lom.4 | 71 + static/netbsd/man4/man4.sparc64/psycho.4 | 51 + static/netbsd/man4/man4.sparc64/pyro.4 | 62 + static/netbsd/man4/man4.sparc64/sab.4 | 88 + static/netbsd/man4/man4.sparc64/schizo.4 | 52 + static/netbsd/man4/man4.sparc64/tadpmu.4 | 55 + static/netbsd/man4/man4.sparc64/tda.4 | 69 + static/netbsd/man4/man4.sun2/Makefile | 4 + static/netbsd/man4/man4.sun2/autoconf.4 | 68 + static/netbsd/man4/man4.sun2/bwtwo.4 | 50 + static/netbsd/man4/man4.sun2/ec.4 | 68 + static/netbsd/man4/man4.sun2/ie.4 | 70 + static/netbsd/man4/man4.sun2/intro.4 | 138 ++ static/netbsd/man4/man4.sun2/kbd.4 | 177 ++ static/netbsd/man4/man4.sun2/leds.4 | 105 + static/netbsd/man4/man4.sun2/mem.4 | 75 + static/netbsd/man4/man4.sun2/ms.4 | 98 + static/netbsd/man4/man4.sun3/Makefile | 4 + static/netbsd/man4/man4.sun3/autoconf.4 | 68 + static/netbsd/man4/man4.sun3/bwtwo.4 | 52 + static/netbsd/man4/man4.sun3/cgfour.4 | 52 + static/netbsd/man4/man4.sun3/cgtwo.4 | 54 + static/netbsd/man4/man4.sun3/fd.4 | 117 ++ static/netbsd/man4/man4.sun3/ie.4 | 69 + static/netbsd/man4/man4.sun3/intro.4 | 174 ++ static/netbsd/man4/man4.sun3/kbd.4 | 180 ++ static/netbsd/man4/man4.sun3/leds.4 | 107 + static/netbsd/man4/man4.sun3/mem.4 | 75 + static/netbsd/man4/man4.sun3/ms.4 | 98 + static/netbsd/man4/man4.vax/Makefile | 4 + static/netbsd/man4/man4.vax/acc.4 | 106 + static/netbsd/man4/man4.vax/ad.4 | 89 + static/netbsd/man4/man4.vax/asc.4 | 96 + static/netbsd/man4/man4.vax/autoconf.4 | 262 +++ static/netbsd/man4/man4.vax/cons.4 | 146 ++ static/netbsd/man4/man4.vax/covid.4 | 157 ++ static/netbsd/man4/man4.vax/crl.4 | 79 + static/netbsd/man4/man4.vax/css.4 | 105 + static/netbsd/man4/man4.vax/ct.4 | 72 + static/netbsd/man4/man4.vax/ddn.4 | 129 ++ static/netbsd/man4/man4.vax/de.4 | 96 + static/netbsd/man4/man4.vax/dh.4 | 138 ++ static/netbsd/man4/man4.vax/dhu.4 | 110 + static/netbsd/man4/man4.vax/dl.4 | 121 ++ static/netbsd/man4/man4.vax/dmc.4 | 144 ++ static/netbsd/man4/man4.vax/dmf.4 | 165 ++ static/netbsd/man4/man4.vax/dmv.4 | 120 ++ static/netbsd/man4/man4.vax/dmz.4 | 139 ++ static/netbsd/man4/man4.vax/dn.4 | 116 ++ static/netbsd/man4/man4.vax/dz.4 | 117 ++ static/netbsd/man4/man4.vax/ec.4 | 129 ++ static/netbsd/man4/man4.vax/en.4 | 130 ++ static/netbsd/man4/man4.vax/ex.4 | 92 + static/netbsd/man4/man4.vax/fl.4 | 71 + static/netbsd/man4/man4.vax/hdh.4 | 129 ++ static/netbsd/man4/man4.vax/hk.4 | 203 ++ static/netbsd/man4/man4.vax/hp.4 | 168 ++ static/netbsd/man4/man4.vax/ht.4 | 111 ++ static/netbsd/man4/man4.vax/hy.4 | 129 ++ static/netbsd/man4/man4.vax/ik.4 | 90 + static/netbsd/man4/man4.vax/il.4 | 93 + static/netbsd/man4/man4.vax/intro.4 | 183 ++ static/netbsd/man4/man4.vax/ix.4 | 121 ++ static/netbsd/man4/man4.vax/kg.4 | 73 + static/netbsd/man4/man4.vax/lp.4 | 87 + static/netbsd/man4/man4.vax/mem.4 | 102 + static/netbsd/man4/man4.vax/mt.4 | 109 + static/netbsd/man4/man4.vax/mtc.4 | 70 + static/netbsd/man4/man4.vax/np.4 | 129 ++ static/netbsd/man4/man4.vax/pcl.4 | 129 ++ static/netbsd/man4/man4.vax/ps.4 | 156 ++ static/netbsd/man4/man4.vax/qe.4 | 73 + static/netbsd/man4/man4.vax/qt.4 | 75 + static/netbsd/man4/man4.vax/rf.4 | 147 ++ static/netbsd/man4/man4.vax/rl.4 | 110 + static/netbsd/man4/man4.vax/tm.4 | 108 + static/netbsd/man4/man4.vax/ts.4 | 96 + static/netbsd/man4/man4.vax/tu.4 | 95 + static/netbsd/man4/man4.vax/uda.4 | 76 + static/netbsd/man4/man4.vax/up.4 | 264 +++ static/netbsd/man4/man4.vax/ut.4 | 105 + static/netbsd/man4/man4.vax/uu.4 | 155 ++ static/netbsd/man4/man4.vax/va.4 | 172 ++ static/netbsd/man4/man4.vax/vp.4 | 123 ++ static/netbsd/man4/man4.vax/vv.4 | 111 ++ static/netbsd/man4/man4.x68k/Makefile | 4 + static/netbsd/man4/man4.x68k/bmd.4 | 59 + static/netbsd/man4/man4.x68k/intio.4 | 73 + static/netbsd/man4/man4.x68k/intro.4 | 173 ++ static/netbsd/man4/man4.x68k/mfp.4 | 64 + static/netbsd/man4/man4.x68k/neptune.4 | 69 + static/netbsd/man4/man4.x68k/powsw.4 | 55 + static/netbsd/man4/man4.x68k/vs.4 | 42 + static/netbsd/man4/man4.x86/Makefile | 4 + static/netbsd/man4/man4.x86/amdccp.4 | 54 + static/netbsd/man4/man4.x86/amdpcib.4 | 43 + static/netbsd/man4/man4.x86/amdsmn.4 | 89 + static/netbsd/man4/man4.x86/amdzentemp.4 | 100 + static/netbsd/man4/man4.x86/apic.4 | 174 ++ static/netbsd/man4/man4.x86/autoconf.4 | 69 + static/netbsd/man4/man4.x86/balloon.4 | 209 ++ static/netbsd/man4/man4.x86/console.4 | 116 ++ static/netbsd/man4/man4.x86/coretemp.4 | 90 + static/netbsd/man4/man4.x86/est.4 | 89 + static/netbsd/man4/man4.x86/fdc.4 | 112 ++ static/netbsd/man4/man4.x86/fwhrng.4 | 60 + static/netbsd/man4/man4.x86/hpet.4 | 78 + static/netbsd/man4/man4.x86/ichlpcib.4 | 126 ++ static/netbsd/man4/man4.x86/imcsmb.4 | 171 ++ static/netbsd/man4/man4.x86/lpt.4 | 74 + static/netbsd/man4/man4.x86/mem.4 | 72 + static/netbsd/man4/man4.x86/odcm.4 | 75 + static/netbsd/man4/man4.x86/powernow.4 | 77 + static/netbsd/man4/man4.x86/soekrisgpio.4 | 64 + static/netbsd/man4/man4.x86/tco.4 | 77 + static/netbsd/man4/man4.x86/viac7temp.4 | 55 + static/netbsd/man4/mbe.4 | 87 + static/netbsd/man4/mc.4 | 93 + static/netbsd/man4/mca.4 | 104 + static/netbsd/man4/mcclock.4 | 61 + static/netbsd/man4/mcd.4 | 80 + static/netbsd/man4/mcommphy.4 | 59 + static/netbsd/man4/mcp3kadc.4 | 95 + static/netbsd/man4/mcp48x1dac.4 | 105 + static/netbsd/man4/mcp980x.4 | 81 + static/netbsd/man4/mcpgpio.4 | 108 + static/netbsd/man4/mcx.4 | 73 + static/netbsd/man4/md.4 | 39 + static/netbsd/man4/mfb.4 | 54 + static/netbsd/man4/mfi.4 | 108 + static/netbsd/man4/mfii.4 | 110 + static/netbsd/man4/mhzc.4 | 53 + static/netbsd/man4/micphy.4 | 40 + static/netbsd/man4/midi.4 | 771 +++++++ static/netbsd/man4/mii.4 | 139 ++ static/netbsd/man4/mk48txx.4 | 173 ++ static/netbsd/man4/mlx.4 | 89 + static/netbsd/man4/mly.4 | 291 +++ static/netbsd/man4/mos.4 | 131 ++ static/netbsd/man4/mpii.4 | 120 ++ static/netbsd/man4/mpl115a.4 | 67 + static/netbsd/man4/mpls.4 | 305 +++ static/netbsd/man4/mpt.4 | 111 ++ static/netbsd/man4/mpu.4 | 69 + static/netbsd/man4/msm6242b.4 | 68 + static/netbsd/man4/mtd.4 | 72 + static/netbsd/man4/mtio.4 | 167 ++ static/netbsd/man4/mue.4 | 82 + static/netbsd/man4/multicast.4 | 976 +++++++++ static/netbsd/man4/mvsata.4 | 128 ++ static/netbsd/man4/nadb.4 | 50 + static/netbsd/man4/nca.4 | 53 + static/netbsd/man4/ncm.4 | 75 + static/netbsd/man4/nct.4 | 72 + static/netbsd/man4/ne.4 | 110 + static/netbsd/man4/neo.4 | 70 + static/netbsd/man4/netintro.4 | 348 ++++ static/netbsd/man4/nfe.4 | 84 + static/netbsd/man4/nfsmb.4 | 56 + static/netbsd/man4/njata.4 | 89 + static/netbsd/man4/njs.4 | 70 + static/netbsd/man4/npflog.4 | 102 + static/netbsd/man4/nsclpcsio.4 | 65 + static/netbsd/man4/nside.4 | 47 + static/netbsd/man4/nsphy.4 | 49 + static/netbsd/man4/nsphyter.4 | 52 + static/netbsd/man4/ntwoc.4 | 182 ++ static/netbsd/man4/null.4 | 54 + static/netbsd/man4/nvme.4 | 152 ++ static/netbsd/man4/nvmm.4 | 67 + static/netbsd/man4/oak.4 | 49 + static/netbsd/man4/oboe.4 | 57 + static/netbsd/man4/ofisa.4 | 97 + static/netbsd/man4/ohci.4 | 55 + static/netbsd/man4/onewire.4 | 77 + static/netbsd/man4/oosiop.4 | 87 + static/netbsd/man4/opl.4 | 87 + static/netbsd/man4/optiide.4 | 58 + static/netbsd/man4/options.4 | 2774 ++++++++++++++++++++++++++ static/netbsd/man4/osiop.4 | 129 ++ static/netbsd/man4/otus.4 | 179 ++ static/netbsd/man4/owtemp.4 | 62 + static/netbsd/man4/pad.4 | 84 + static/netbsd/man4/pas.4 | 45 + static/netbsd/man4/pcdisplay.4 | 67 + static/netbsd/man4/pcf8563rtc.4 | 56 + static/netbsd/man4/pchtemp.4 | 62 + static/netbsd/man4/pci.4 | 524 +++++ static/netbsd/man4/pciback.4 | 119 ++ static/netbsd/man4/pcic.4 | 85 + static/netbsd/man4/pciide.4 | 150 ++ static/netbsd/man4/pckbc.4 | 60 + static/netbsd/man4/pckbd.4 | 83 + static/netbsd/man4/pcmcia.4 | 213 ++ static/netbsd/man4/pcmcom.4 | 54 + static/netbsd/man4/pcn.4 | 101 + static/netbsd/man4/pcppi.4 | 83 + static/netbsd/man4/pcscp.4 | 86 + static/netbsd/man4/pcweasel.4 | 116 ++ static/netbsd/man4/pdcide.4 | 65 + static/netbsd/man4/pdcsata.4 | 55 + static/netbsd/man4/piixide.4 | 59 + static/netbsd/man4/piixpcib.4 | 67 + static/netbsd/man4/piixpm.4 | 71 + static/netbsd/man4/pim.4 | 203 ++ static/netbsd/man4/plip.4 | 311 +++ static/netbsd/man4/pm3fb.4 | 61 + static/netbsd/man4/pms.4 | 303 +++ static/netbsd/man4/pmu.4 | 90 + static/netbsd/man4/pnaphy.4 | 66 + static/netbsd/man4/podulebus.4 | 139 ++ static/netbsd/man4/ppbus.4 | 438 ++++ static/netbsd/man4/ppi.4 | 79 + static/netbsd/man4/ppp.4 | 101 + static/netbsd/man4/pppoe.4 | 347 ++++ static/netbsd/man4/pseye.4 | 66 + static/netbsd/man4/ptcd.4 | 67 + static/netbsd/man4/ptm.4 | 110 + static/netbsd/man4/pty.4 | 269 +++ static/netbsd/man4/puc.4 | 271 +++ static/netbsd/man4/pud.4 | 56 + static/netbsd/man4/puffs.4 | 61 + static/netbsd/man4/pv.4 | 44 + static/netbsd/man4/pwdog.4 | 55 + static/netbsd/man4/px.4 | 55 + static/netbsd/man4/pxagpio.4 | 72 + static/netbsd/man4/pxaip.4 | 101 + static/netbsd/man4/pxg.4 | 57 + static/netbsd/man4/qat.4 | 88 + static/netbsd/man4/qe.4 | 76 + static/netbsd/man4/qec.4 | 59 + static/netbsd/man4/qemufwcfg.4 | 62 + static/netbsd/man4/qsphy.4 | 48 + static/netbsd/man4/r128fb.4 | 58 + static/netbsd/man4/radeonfb.4 | 93 + static/netbsd/man4/radio.4 | 191 ++ static/netbsd/man4/raid.4 | 498 +++++ static/netbsd/man4/ral.4 | 474 +++++ static/netbsd/man4/ray.4 | 121 ++ static/netbsd/man4/rcons.4 | 60 + static/netbsd/man4/rdcphy.4 | 49 + static/netbsd/man4/re.4 | 225 +++ static/netbsd/man4/rge.4 | 87 + static/netbsd/man4/rgephy.4 | 39 + static/netbsd/man4/rlphy.4 | 54 + static/netbsd/man4/rnd.4 | 733 +++++++ static/netbsd/man4/route.4 | 435 ++++ static/netbsd/man4/rs5c372rtc.4 | 56 + static/netbsd/man4/rt.4 | 70 + static/netbsd/man4/rtfps.4 | 98 + static/netbsd/man4/rtii.4 | 78 + static/netbsd/man4/rtk.4 | 57 + static/netbsd/man4/rtsx.4 | 56 + static/netbsd/man4/rtw.4 | 266 +++ static/netbsd/man4/rtwn.4 | 155 ++ static/netbsd/man4/rum.4 | 336 ++++ static/netbsd/man4/run.4 | 231 +++ static/netbsd/man4/s390rtc.4 | 56 + static/netbsd/man4/satalink.4 | 55 + static/netbsd/man4/sb.4 | 110 + static/netbsd/man4/sbp.4 | 89 + static/netbsd/man4/sbt.4 | 41 + static/netbsd/man4/sbus.4 | 136 ++ static/netbsd/man4/sc.4 | 132 ++ static/netbsd/man4/sc16is7xx.4 | 246 +++ static/netbsd/man4/schide.4 | 47 + static/netbsd/man4/scmd.4 | 88 + static/netbsd/man4/scmdi2c.4 | 73 + static/netbsd/man4/scmdspi.4 | 71 + static/netbsd/man4/scsi.4 | 333 ++++ static/netbsd/man4/sctp.4 | 436 ++++ static/netbsd/man4/sd.4 | 277 +++ static/netbsd/man4/sdhc.4 | 42 + static/netbsd/man4/sdmmc.4 | 54 + static/netbsd/man4/sdtemp.4 | 97 + static/netbsd/man4/se.4 | 63 + static/netbsd/man4/sea.4 | 56 + static/netbsd/man4/sec.4 | 51 + static/netbsd/man4/seeprom.4 | 82 + static/netbsd/man4/sem.4 | 60 + static/netbsd/man4/ses.4 | 120 ++ static/netbsd/man4/sf.4 | 85 + static/netbsd/man4/sf2r.4 | 87 + static/netbsd/man4/sfb.4 | 54 + static/netbsd/man4/sgp40mox.4 | 110 + static/netbsd/man4/sgsmix.4 | 50 + static/netbsd/man4/shb.4 | 61 + static/netbsd/man4/shmif.4 | 120 ++ static/netbsd/man4/shpcic.4 | 53 + static/netbsd/man4/sht3xtemp.4 | 134 ++ static/netbsd/man4/sht4xtemp.4 | 97 + static/netbsd/man4/si.4 | 188 ++ static/netbsd/man4/si70xxtemp.4 | 102 + static/netbsd/man4/siisata.4 | 82 + static/netbsd/man4/siop.4 | 120 ++ static/netbsd/man4/sip.4 | 81 + static/netbsd/man4/siside.4 | 58 + static/netbsd/man4/sk.4 | 300 +++ static/netbsd/man4/sl.4 | 139 ++ static/netbsd/man4/slhci.4 | 127 ++ static/netbsd/man4/slide.4 | 58 + static/netbsd/man4/slurm.4 | 63 + static/netbsd/man4/sm.4 | 109 + static/netbsd/man4/smsc.4 | 76 + static/netbsd/man4/smscmon.4 | 72 + static/netbsd/man4/smscphy.4 | 65 + static/netbsd/man4/smsh.4 | 71 + static/netbsd/man4/sn.4 | 128 ++ static/netbsd/man4/sony.4 | 139 ++ static/netbsd/man4/spc.4 | 62 + static/netbsd/man4/spdmem.4 | 82 + static/netbsd/man4/speaker.4 | 322 +++ static/netbsd/man4/spi.4 | 175 ++ static/netbsd/man4/spif.4 | 104 + static/netbsd/man4/sqphy.4 | 50 + static/netbsd/man4/srt.4 | 133 ++ static/netbsd/man4/ss.4 | 52 + static/netbsd/man4/ssdfb.4 | 156 ++ static/netbsd/man4/st.4 | 457 +++++ static/netbsd/man4/ste.4 | 66 + static/netbsd/man4/stf.4 | 294 +++ static/netbsd/man4/stge.4 | 90 + static/netbsd/man4/sti.4 | 273 +++ static/netbsd/man4/stpcide.4 | 60 + static/netbsd/man4/stuirda.4 | 78 + static/netbsd/man4/sv.4 | 55 + static/netbsd/man4/svwsata.4 | 54 + static/netbsd/man4/swsensor.4 | 143 ++ static/netbsd/man4/swwdog.4 | 89 + static/netbsd/man4/sysmon.4 | 76 + static/netbsd/man4/tap.4 | 194 ++ static/netbsd/man4/tc.4 | 111 ++ static/netbsd/man4/tcds.4 | 51 + static/netbsd/man4/tcic.4 | 51 + static/netbsd/man4/tcom.4 | 133 ++ static/netbsd/man4/tcp.4 | 389 ++++ static/netbsd/man4/tcu.4 | 58 + static/netbsd/man4/tdvfb.4 | 110 + static/netbsd/man4/tea5767radio.4 | 79 + static/netbsd/man4/termios.4 | 1574 +++++++++++++++ static/netbsd/man4/tfb.4 | 57 + static/netbsd/man4/thinkpad.4 | 52 + static/netbsd/man4/ti.4 | 219 ++ static/netbsd/man4/tl.4 | 88 + static/netbsd/man4/tlp.4 | 565 ++++++ static/netbsd/man4/tlphy.4 | 50 + static/netbsd/man4/tm121temp.4 | 83 + static/netbsd/man4/tpm.4 | 75 + static/netbsd/man4/tprof.4 | 73 + static/netbsd/man4/tps65217pmic.4 | 99 + static/netbsd/man4/tqphy.4 | 54 + static/netbsd/man4/tra.4 | 78 + static/netbsd/man4/trm.4 | 93 + static/netbsd/man4/tsllux.4 | 132 ++ static/netbsd/man4/tty.4 | 490 +++++ static/netbsd/man4/tun.4 | 299 +++ static/netbsd/man4/twa.4 | 64 + static/netbsd/man4/twe.4 | 61 + static/netbsd/man4/txp.4 | 135 ++ static/netbsd/man4/u3g.4 | 108 + static/netbsd/man4/ualea.4 | 55 + static/netbsd/man4/uark.4 | 65 + static/netbsd/man4/uatp.4 | 176 ++ static/netbsd/man4/uaudio.4 | 149 ++ static/netbsd/man4/uberry.4 | 69 + static/netbsd/man4/ubsa.4 | 76 + static/netbsd/man4/ubsec.4 | 111 ++ static/netbsd/man4/ubt.4 | 133 ++ static/netbsd/man4/uchcom.4 | 69 + static/netbsd/man4/ucom.4 | 114 ++ static/netbsd/man4/ucycom.4 | 73 + static/netbsd/man4/udav.4 | 86 + static/netbsd/man4/udl.4 | 108 + static/netbsd/man4/udp.4 | 178 ++ static/netbsd/man4/udsbr.4 | 58 + static/netbsd/man4/uep.4 | 62 + static/netbsd/man4/uftdi.4 | 106 + static/netbsd/man4/ug.4 | 85 + static/netbsd/man4/ugen.4 | 448 +++++ static/netbsd/man4/ugensa.4 | 91 + static/netbsd/man4/uha.4 | 56 + static/netbsd/man4/uhci.4 | 53 + static/netbsd/man4/uhid.4 | 166 ++ static/netbsd/man4/uhidev.4 | 69 + static/netbsd/man4/uhmodem.4 | 80 + static/netbsd/man4/uhso.4 | 146 ++ static/netbsd/man4/uintuos.4 | 65 + static/netbsd/man4/uipad.4 | 64 + static/netbsd/man4/uipaq.4 | 72 + static/netbsd/man4/uirda.4 | 62 + static/netbsd/man4/uk.4 | 88 + static/netbsd/man4/ukbd.4 | 63 + static/netbsd/man4/ukphy.4 | 52 + static/netbsd/man4/ukyopon.4 | 145 ++ static/netbsd/man4/ulpt.4 | 81 + static/netbsd/man4/umass.4 | 81 + static/netbsd/man4/umb.4 | 90 + static/netbsd/man4/umcpmio.4 | 465 +++++ static/netbsd/man4/umcs.4 | 71 + static/netbsd/man4/umct.4 | 70 + static/netbsd/man4/umidi.4 | 97 + static/netbsd/man4/umodem.4 | 66 + static/netbsd/man4/ums.4 | 67 + static/netbsd/man4/unix.4 | 317 +++ static/netbsd/man4/upgt.4 | 236 +++ static/netbsd/man4/upl.4 | 88 + static/netbsd/man4/uplcom.4 | 79 + static/netbsd/man4/ure.4 | 96 + static/netbsd/man4/url.4 | 77 + static/netbsd/man4/urndis.4 | 112 ++ static/netbsd/man4/urtw.4 | 107 + static/netbsd/man4/urtwn.4 | 206 ++ static/netbsd/man4/usb.4 | 580 ++++++ static/netbsd/man4/usbnet.4 | 101 + static/netbsd/man4/userconf.4 | 110 + static/netbsd/man4/uslsa.4 | 85 + static/netbsd/man4/usmsc.4 | 83 + static/netbsd/man4/usscanner.4 | 62 + static/netbsd/man4/ustir.4 | 73 + static/netbsd/man4/uthum.4 | 54 + static/netbsd/man4/utoppy.4 | 306 +++ static/netbsd/man4/uts.4 | 64 + static/netbsd/man4/uvideo.4 | 65 + static/netbsd/man4/uvisor.4 | 64 + static/netbsd/man4/uvscom.4 | 62 + static/netbsd/man4/uxrcom.4 | 80 + static/netbsd/man4/vald.4 | 73 + static/netbsd/man4/valz.4 | 69 + static/netbsd/man4/veriexec.4 | 159 ++ static/netbsd/man4/vether.4 | 74 + static/netbsd/man4/vga.4 | 206 ++ static/netbsd/man4/vge.4 | 210 ++ static/netbsd/man4/viaenv.4 | 75 + static/netbsd/man4/viaide.4 | 84 + static/netbsd/man4/video.4 | 269 +++ static/netbsd/man4/vio9p.4 | 73 + static/netbsd/man4/viocon.4 | 66 + static/netbsd/man4/viogpu.4 | 56 + static/netbsd/man4/vioif.4 | 58 + static/netbsd/man4/viomb.4 | 86 + static/netbsd/man4/viornd.4 | 64 + static/netbsd/man4/vioscsi.4 | 67 + static/netbsd/man4/virt.4 | 61 + static/netbsd/man4/virtio.4 | 91 + static/netbsd/man4/virtio_mmio.4 | 79 + static/netbsd/man4/vlan.4 | 190 ++ static/netbsd/man4/vmmon.4 | 41 + static/netbsd/man4/vmnet.4 | 41 + static/netbsd/man4/vmt.4 | 118 ++ static/netbsd/man4/vmx.4 | 115 ++ static/netbsd/man4/vnd.4 | 99 + static/netbsd/man4/voodoofb.4 | 64 + static/netbsd/man4/vr.4 | 63 + static/netbsd/man4/vte.4 | 90 + static/netbsd/man4/wapbl.4 | 206 ++ static/netbsd/man4/wb.4 | 57 + static/netbsd/man4/wbsio.4 | 67 + static/netbsd/man4/wd.4 | 120 ++ static/netbsd/man4/wdc.4 | 80 + static/netbsd/man4/wds.4 | 60 + static/netbsd/man4/we.4 | 171 ++ static/netbsd/man4/wg.4 | 227 +++ static/netbsd/man4/wi.4 | 255 +++ static/netbsd/man4/wm.4 | 273 +++ static/netbsd/man4/wpi.4 | 242 +++ static/netbsd/man4/wsbell.4 | 107 + static/netbsd/man4/wscons.4 | 291 +++ static/netbsd/man4/wsdisplay.4 | 652 ++++++ static/netbsd/man4/wsfont.4 | 50 + static/netbsd/man4/wskbd.4 | 281 +++ static/netbsd/man4/wsmouse.4 | 181 ++ static/netbsd/man4/wsmux.4 | 119 ++ static/netbsd/man4/wss.4 | 72 + static/netbsd/man4/wt.4 | 69 + static/netbsd/man4/wwanc.4 | 95 + static/netbsd/man4/xbd.4 | 102 + static/netbsd/man4/xbdback.4 | 124 ++ static/netbsd/man4/xbox.4 | 50 + static/netbsd/man4/xenbus.4 | 85 + static/netbsd/man4/xennet.4 | 115 ++ static/netbsd/man4/xge.4 | 96 + static/netbsd/man4/xhci.4 | 54 + static/netbsd/man4/xi.4 | 105 + static/netbsd/man4/xirc.4 | 53 + static/netbsd/man4/xpci.4 | 81 + static/netbsd/man4/xvif.4 | 107 + static/netbsd/man4/yds.4 | 58 + static/netbsd/man4/ym.4 | 205 ++ static/netbsd/man4/zero.4 | 21 + static/netbsd/man4/zstty.4 | 241 +++ static/netbsd/man4/zyd.4 | 304 +++ 1167 files changed, 133932 insertions(+) create mode 100644 static/netbsd/man4/Makefile create mode 100644 static/netbsd/man4/aac.4 create mode 100644 static/netbsd/man4/ac97.4 create mode 100644 static/netbsd/man4/acardide.4 create mode 100644 static/netbsd/man4/aceride.4 create mode 100644 static/netbsd/man4/acphy.4 create mode 100644 static/netbsd/man4/acpi.4 create mode 100644 static/netbsd/man4/acpiacad.4 create mode 100644 static/netbsd/man4/acpibat.4 create mode 100644 static/netbsd/man4/acpibut.4 create mode 100644 static/netbsd/man4/acpicpu.4 create mode 100644 static/netbsd/man4/acpidalb.4 create mode 100644 static/netbsd/man4/acpiec.4 create mode 100644 static/netbsd/man4/acpifan.4 create mode 100644 static/netbsd/man4/acpihed.4 create mode 100644 static/netbsd/man4/acpilid.4 create mode 100644 static/netbsd/man4/acpipmtr.4 create mode 100644 static/netbsd/man4/acpismbus.4 create mode 100644 static/netbsd/man4/acpitz.4 create mode 100644 static/netbsd/man4/acpivga.4 create mode 100644 static/netbsd/man4/acpivmgenid.4 create mode 100644 static/netbsd/man4/acpiwdrt.4 create mode 100644 static/netbsd/man4/acpiwmi.4 create mode 100644 static/netbsd/man4/adb.4 create mode 100644 static/netbsd/man4/adbbt.4 create mode 100644 static/netbsd/man4/adbkbd.4 create mode 100644 static/netbsd/man4/adbms.4 create mode 100644 static/netbsd/man4/adc.4 create mode 100644 static/netbsd/man4/adm1026hm.4 create mode 100644 static/netbsd/man4/admtemp.4 create mode 100644 static/netbsd/man4/adv.4 create mode 100644 static/netbsd/man4/adw.4 create mode 100644 static/netbsd/man4/age.4 create mode 100644 static/netbsd/man4/agp.4 create mode 100644 static/netbsd/man4/agr.4 create mode 100644 static/netbsd/man4/aha.4 create mode 100644 static/netbsd/man4/ahb.4 create mode 100644 static/netbsd/man4/ahc.4 create mode 100644 static/netbsd/man4/ahcisata.4 create mode 100644 static/netbsd/man4/ahd.4 create mode 100644 static/netbsd/man4/aht20temp.4 create mode 100644 static/netbsd/man4/ai.4 create mode 100644 static/netbsd/man4/aibs.4 create mode 100644 static/netbsd/man4/aic.4 create mode 100644 static/netbsd/man4/akbd.4 create mode 100644 static/netbsd/man4/alc.4 create mode 100644 static/netbsd/man4/ale.4 create mode 100644 static/netbsd/man4/alipm.4 create mode 100644 static/netbsd/man4/altmem.4 create mode 100644 static/netbsd/man4/altq.4 create mode 100644 static/netbsd/man4/am2315temp.4 create mode 100644 static/netbsd/man4/amdgpio.4 create mode 100644 static/netbsd/man4/amdpm.4 create mode 100644 static/netbsd/man4/amdtemp.4 create mode 100644 static/netbsd/man4/amhphy.4 create mode 100644 static/netbsd/man4/amr.4 create mode 100644 static/netbsd/man4/ams.4 create mode 100644 static/netbsd/man4/an.4 create mode 100644 static/netbsd/man4/apei.4 create mode 100644 static/netbsd/man4/aps.4 create mode 100644 static/netbsd/man4/aq.4 create mode 100644 static/netbsd/man4/arcmsr.4 create mode 100644 static/netbsd/man4/arcofi.4 create mode 100644 static/netbsd/man4/aria.4 create mode 100644 static/netbsd/man4/artsata.4 create mode 100644 static/netbsd/man4/ast.4 create mode 100644 static/netbsd/man4/asus.4 create mode 100644 static/netbsd/man4/ata.4 create mode 100644 static/netbsd/man4/atalk.4 create mode 100644 static/netbsd/man4/ataraid.4 create mode 100644 static/netbsd/man4/ate.4 create mode 100644 static/netbsd/man4/ath.4 create mode 100644 static/netbsd/man4/athn.4 create mode 100644 static/netbsd/man4/atphy.4 create mode 100644 static/netbsd/man4/atppc.4 create mode 100644 static/netbsd/man4/attimer.4 create mode 100644 static/netbsd/man4/atu.4 create mode 100644 static/netbsd/man4/atw.4 create mode 100644 static/netbsd/man4/auacer.4 create mode 100644 static/netbsd/man4/aubtfwl.4 create mode 100644 static/netbsd/man4/audio.4 create mode 100644 static/netbsd/man4/audiocs.4 create mode 100644 static/netbsd/man4/aue.4 create mode 100644 static/netbsd/man4/auich.4 create mode 100644 static/netbsd/man4/auixp.4 create mode 100644 static/netbsd/man4/autri.4 create mode 100644 static/netbsd/man4/auvia.4 create mode 100644 static/netbsd/man4/auvitek.4 create mode 100644 static/netbsd/man4/awi.4 create mode 100644 static/netbsd/man4/axe.4 create mode 100644 static/netbsd/man4/axen.4 create mode 100644 static/netbsd/man4/az.4 create mode 100644 static/netbsd/man4/battery_pmu.4 create mode 100644 static/netbsd/man4/bba.4 create mode 100644 static/netbsd/man4/bce.4 create mode 100644 static/netbsd/man4/bcsp.4 create mode 100644 static/netbsd/man4/be.4 create mode 100644 static/netbsd/man4/bge.4 create mode 100644 static/netbsd/man4/bha.4 create mode 100644 static/netbsd/man4/bio.4 create mode 100644 static/netbsd/man4/bktr.4 create mode 100644 static/netbsd/man4/bluetooth.4 create mode 100644 static/netbsd/man4/bmtphy.4 create mode 100644 static/netbsd/man4/bmx280thp.4 create mode 100644 static/netbsd/man4/bnx.4 create mode 100644 static/netbsd/man4/boca.4 create mode 100644 static/netbsd/man4/bochsfb.4 create mode 100644 static/netbsd/man4/bpf.4 create mode 100644 static/netbsd/man4/bpfjit.4 create mode 100644 static/netbsd/man4/brgphy.4 create mode 100644 static/netbsd/man4/bridge.4 create mode 100644 static/netbsd/man4/bt3c.4 create mode 100644 static/netbsd/man4/btbc.4 create mode 100644 static/netbsd/man4/bthidev.4 create mode 100644 static/netbsd/man4/bthub.4 create mode 100644 static/netbsd/man4/btkbd.4 create mode 100644 static/netbsd/man4/btmagic.4 create mode 100644 static/netbsd/man4/btms.4 create mode 100644 static/netbsd/man4/btsco.4 create mode 100644 static/netbsd/man4/btuart.4 create mode 100644 static/netbsd/man4/bwfm.4 create mode 100644 static/netbsd/man4/bwi.4 create mode 100644 static/netbsd/man4/cac.4 create mode 100644 static/netbsd/man4/can.4 create mode 100644 static/netbsd/man4/canloop.4 create mode 100644 static/netbsd/man4/cardbus.4 create mode 100644 static/netbsd/man4/carp.4 create mode 100644 static/netbsd/man4/cas.4 create mode 100644 static/netbsd/man4/ccd.4 create mode 100644 static/netbsd/man4/cd.4 create mode 100644 static/netbsd/man4/cdce.4 create mode 100644 static/netbsd/man4/cec.4 create mode 100644 static/netbsd/man4/cfb.4 create mode 100644 static/netbsd/man4/cgd.4 create mode 100644 static/netbsd/man4/ch.4 create mode 100644 static/netbsd/man4/chipsfb.4 create mode 100644 static/netbsd/man4/ciphy.4 create mode 100644 static/netbsd/man4/cir.4 create mode 100644 static/netbsd/man4/ciss.4 create mode 100644 static/netbsd/man4/clcs.4 create mode 100644 static/netbsd/man4/clct.4 create mode 100644 static/netbsd/man4/clockctl.4 create mode 100644 static/netbsd/man4/cmdide.4 create mode 100644 static/netbsd/man4/cmpci.4 create mode 100644 static/netbsd/man4/cms.4 create mode 100644 static/netbsd/man4/cnw.4 create mode 100644 static/netbsd/man4/com.4 create mode 100644 static/netbsd/man4/coram.4 create mode 100644 static/netbsd/man4/crypto.4 create mode 100644 static/netbsd/man4/cs.4 create mode 100644 static/netbsd/man4/cs80bus.4 create mode 100644 static/netbsd/man4/cuda.4 create mode 100644 static/netbsd/man4/cue.4 create mode 100644 static/netbsd/man4/cxdtv.4 create mode 100644 static/netbsd/man4/cy.4 create mode 100644 static/netbsd/man4/cypide.4 create mode 100644 static/netbsd/man4/cz.4 create mode 100644 static/netbsd/man4/dbcool.4 create mode 100644 static/netbsd/man4/ddb.4 create mode 100644 static/netbsd/man4/ddc.4 create mode 100644 static/netbsd/man4/dge.4 create mode 100644 static/netbsd/man4/dk.4 create mode 100644 static/netbsd/man4/dm.4 create mode 100644 static/netbsd/man4/dmoverio.4 create mode 100644 static/netbsd/man4/dmphy.4 create mode 100644 static/netbsd/man4/dpt.4 create mode 100644 static/netbsd/man4/dpti.4 create mode 100644 static/netbsd/man4/drm.4 create mode 100644 static/netbsd/man4/drum.4 create mode 100644 static/netbsd/man4/drvctl.4 create mode 100644 static/netbsd/man4/ds2482ow.4 create mode 100644 static/netbsd/man4/ds28e17iic.4 create mode 100644 static/netbsd/man4/dse.4 create mode 100644 static/netbsd/man4/dtide.4 create mode 100644 static/netbsd/man4/dtv.4 create mode 100644 static/netbsd/man4/dtviic.4 create mode 100644 static/netbsd/man4/dwctwo.4 create mode 100644 static/netbsd/man4/ea.4 create mode 100644 static/netbsd/man4/eap.4 create mode 100644 static/netbsd/man4/eb.4 create mode 100644 static/netbsd/man4/ebus.4 create mode 100644 static/netbsd/man4/ec.4 create mode 100644 static/netbsd/man4/edc.4 create mode 100644 static/netbsd/man4/ef.4 create mode 100644 static/netbsd/man4/eg.4 create mode 100644 static/netbsd/man4/ehci.4 create mode 100644 static/netbsd/man4/ei.4 create mode 100644 static/netbsd/man4/eisa.4 create mode 100644 static/netbsd/man4/el.4 create mode 100644 static/netbsd/man4/elmc.4 create mode 100644 static/netbsd/man4/emcfan.4 create mode 100644 static/netbsd/man4/emdtv.4 create mode 100644 static/netbsd/man4/emuxki.4 create mode 100644 static/netbsd/man4/ena.4 create mode 100644 static/netbsd/man4/envsys.4 create mode 100644 static/netbsd/man4/ep.4 create mode 100644 static/netbsd/man4/epic.4 create mode 100644 static/netbsd/man4/eqos.4 create mode 100644 static/netbsd/man4/esa.4 create mode 100644 static/netbsd/man4/esiop.4 create mode 100644 static/netbsd/man4/esm.4 create mode 100644 static/netbsd/man4/eso.4 create mode 100644 static/netbsd/man4/esp.4 create mode 100644 static/netbsd/man4/ess.4 create mode 100644 static/netbsd/man4/et.4 create mode 100644 static/netbsd/man4/etphy.4 create mode 100644 static/netbsd/man4/ex.4 create mode 100644 static/netbsd/man4/exphy.4 create mode 100644 static/netbsd/man4/faith.4 create mode 100644 static/netbsd/man4/fd.4 create mode 100644 static/netbsd/man4/finsio.4 create mode 100644 static/netbsd/man4/flash.4 create mode 100644 static/netbsd/man4/fms.4 create mode 100644 static/netbsd/man4/fmv.4 create mode 100644 static/netbsd/man4/fss.4 create mode 100644 static/netbsd/man4/fujbp.4 create mode 100644 static/netbsd/man4/full.4 create mode 100644 static/netbsd/man4/fwip.4 create mode 100644 static/netbsd/man4/fwohci.4 create mode 100644 static/netbsd/man4/fxp.4 create mode 100644 static/netbsd/man4/g760a.4 create mode 100644 static/netbsd/man4/gcscaudio.4 create mode 100644 static/netbsd/man4/gem.4 create mode 100644 static/netbsd/man4/genet.4 create mode 100644 static/netbsd/man4/genfb.4 create mode 100644 static/netbsd/man4/gentbi.4 create mode 100644 static/netbsd/man4/geodeide.4 create mode 100644 static/netbsd/man4/gif.4 create mode 100644 static/netbsd/man4/glxtphy.4 create mode 100644 static/netbsd/man4/gphyter.4 create mode 100644 static/netbsd/man4/gpib.4 create mode 100644 static/netbsd/man4/gpio.4 create mode 100644 static/netbsd/man4/gpioiic.4 create mode 100644 static/netbsd/man4/gpioirq.4 create mode 100644 static/netbsd/man4/gpiolock.4 create mode 100644 static/netbsd/man4/gpioow.4 create mode 100644 static/netbsd/man4/gpiopps.4 create mode 100644 static/netbsd/man4/gpiopwm.4 create mode 100644 static/netbsd/man4/gpiosim.4 create mode 100644 static/netbsd/man4/gre.4 create mode 100644 static/netbsd/man4/gscan.4 create mode 100644 static/netbsd/man4/gsip.4 create mode 100644 static/netbsd/man4/gtp.4 create mode 100644 static/netbsd/man4/gus.4 create mode 100644 static/netbsd/man4/guspnp.4 create mode 100644 static/netbsd/man4/hcide.4 create mode 100644 static/netbsd/man4/hdaudio.4 create mode 100644 static/netbsd/man4/hifn.4 create mode 100644 static/netbsd/man4/hil.4 create mode 100644 static/netbsd/man4/hilid.4 create mode 100644 static/netbsd/man4/hilkbd.4 create mode 100644 static/netbsd/man4/hilms.4 create mode 100644 static/netbsd/man4/hme.4 create mode 100644 static/netbsd/man4/hpacel.4 create mode 100644 static/netbsd/man4/hpqlb.4 create mode 100644 static/netbsd/man4/hptide.4 create mode 100644 static/netbsd/man4/hvn.4 create mode 100644 static/netbsd/man4/hythygtemp.4 create mode 100644 static/netbsd/man4/iavf.4 create mode 100644 static/netbsd/man4/ibmcd.4 create mode 100644 static/netbsd/man4/ibmhawk.4 create mode 100644 static/netbsd/man4/ichsmb.4 create mode 100644 static/netbsd/man4/icmp.4 create mode 100644 static/netbsd/man4/icmp6.4 create mode 100644 static/netbsd/man4/icp.4 create mode 100644 static/netbsd/man4/icsphy.4 create mode 100644 static/netbsd/man4/iee.4 create mode 100644 static/netbsd/man4/ieee1394if.4 create mode 100644 static/netbsd/man4/ieee80211.4 create mode 100644 static/netbsd/man4/ietp.4 create mode 100644 static/netbsd/man4/ifmedia.4 create mode 100644 static/netbsd/man4/igc.4 create mode 100644 static/netbsd/man4/igmafb.4 create mode 100644 static/netbsd/man4/igphy.4 create mode 100644 static/netbsd/man4/igpio.4 create mode 100644 static/netbsd/man4/igsfb.4 create mode 100644 static/netbsd/man4/iha.4 create mode 100644 static/netbsd/man4/ihidev.4 create mode 100644 static/netbsd/man4/ihphy.4 create mode 100644 static/netbsd/man4/iic.4 create mode 100644 static/netbsd/man4/ikphy.4 create mode 100644 static/netbsd/man4/ims.4 create mode 100644 static/netbsd/man4/inet.4 create mode 100644 static/netbsd/man4/inet6.4 create mode 100644 static/netbsd/man4/inphy.4 create mode 100644 static/netbsd/man4/intersil7170.4 create mode 100644 static/netbsd/man4/intro.4 create mode 100644 static/netbsd/man4/ioasic.4 create mode 100644 static/netbsd/man4/ioat.4 create mode 100644 static/netbsd/man4/iop.4 create mode 100644 static/netbsd/man4/iophy.4 create mode 100644 static/netbsd/man4/iopsp.4 create mode 100644 static/netbsd/man4/ip.4 create mode 100644 static/netbsd/man4/ip6.4 create mode 100644 static/netbsd/man4/ipgphy.4 create mode 100644 static/netbsd/man4/ipmi.4 create mode 100644 static/netbsd/man4/ipsec.4 create mode 100644 static/netbsd/man4/ipsecif.4 create mode 100644 static/netbsd/man4/ipw.4 create mode 100644 static/netbsd/man4/irframe.4 create mode 100644 static/netbsd/man4/irframetty.4 create mode 100644 static/netbsd/man4/irmce.4 create mode 100644 static/netbsd/man4/isa.4 create mode 100644 static/netbsd/man4/isapnp.4 create mode 100644 static/netbsd/man4/ismt.4 create mode 100644 static/netbsd/man4/isp.4 create mode 100644 static/netbsd/man4/isv.4 create mode 100644 static/netbsd/man4/iteide.4 create mode 100644 static/netbsd/man4/itesio.4 create mode 100644 static/netbsd/man4/iwi.4 create mode 100644 static/netbsd/man4/iwm.4 create mode 100644 static/netbsd/man4/iwn.4 create mode 100644 static/netbsd/man4/ix.4 create mode 100644 static/netbsd/man4/ixg.4 create mode 100644 static/netbsd/man4/ixl.4 create mode 100644 static/netbsd/man4/ixpide.4 create mode 100644 static/netbsd/man4/ixv.4 create mode 100644 static/netbsd/man4/iy.4 create mode 100644 static/netbsd/man4/jme.4 create mode 100644 static/netbsd/man4/jmide.4 create mode 100644 static/netbsd/man4/jmphy.4 create mode 100644 static/netbsd/man4/joy.4 create mode 100644 static/netbsd/man4/kcov.4 create mode 100644 static/netbsd/man4/kloader.4 create mode 100644 static/netbsd/man4/kse.4 create mode 100644 static/netbsd/man4/ksyms.4 create mode 100644 static/netbsd/man4/kttcp.4 create mode 100644 static/netbsd/man4/kue.4 create mode 100644 static/netbsd/man4/l2tp.4 create mode 100644 static/netbsd/man4/lagg.4 create mode 100644 static/netbsd/man4/lc.4 create mode 100644 static/netbsd/man4/ld.4 create mode 100644 static/netbsd/man4/le.4 create mode 100644 static/netbsd/man4/lii.4 create mode 100644 static/netbsd/man4/lm.4 create mode 100644 static/netbsd/man4/lmenv.4 create mode 100644 static/netbsd/man4/lmtemp.4 create mode 100644 static/netbsd/man4/lo.4 create mode 100644 static/netbsd/man4/lpt.4 create mode 100644 static/netbsd/man4/lua.4 create mode 100644 static/netbsd/man4/lxtphy.4 create mode 100644 static/netbsd/man4/m25p.4 create mode 100644 static/netbsd/man4/machfb.4 create mode 100644 static/netbsd/man4/mainbus.4 create mode 100644 static/netbsd/man4/makphy.4 create mode 100644 static/netbsd/man4/malo.4 create mode 100644 static/netbsd/man4/man4.acorn32/Makefile create mode 100644 static/netbsd/man4/man4.acorn32/asc.4 create mode 100644 static/netbsd/man4/man4.acorn32/autoconf.4 create mode 100644 static/netbsd/man4/man4.acorn32/cosc.4 create mode 100644 static/netbsd/man4/man4.acorn32/csc.4 create mode 100644 static/netbsd/man4/man4.acorn32/ie.4 create mode 100644 static/netbsd/man4/man4.acorn32/intro.4 create mode 100644 static/netbsd/man4/man4.acorn32/iomdkbc.4 create mode 100644 static/netbsd/man4/man4.acorn32/lpt.4 create mode 100644 static/netbsd/man4/man4.acorn32/mainbus.4 create mode 100644 static/netbsd/man4/man4.acorn32/mem.4 create mode 100644 static/netbsd/man4/man4.acorn32/ptsc.4 create mode 100644 static/netbsd/man4/man4.acorn32/qms.4 create mode 100644 static/netbsd/man4/man4.acorn32/vidcaudio.4 create mode 100644 static/netbsd/man4/man4.acorn32/vidcvideo.4 create mode 100644 static/netbsd/man4/man4.alpha/Makefile create mode 100644 static/netbsd/man4/man4.alpha/apecs.4 create mode 100644 static/netbsd/man4/man4.alpha/asc.4 create mode 100644 static/netbsd/man4/man4.alpha/autoconf.4 create mode 100644 static/netbsd/man4/man4.alpha/cia.4 create mode 100644 static/netbsd/man4/man4.alpha/dwlpx.4 create mode 100644 static/netbsd/man4/man4.alpha/gbus.4 create mode 100644 static/netbsd/man4/man4.alpha/intro.4 create mode 100644 static/netbsd/man4/man4.alpha/irongate.4 create mode 100644 static/netbsd/man4/man4.alpha/jensenio.4 create mode 100644 static/netbsd/man4/man4.alpha/kft.4 create mode 100644 static/netbsd/man4/man4.alpha/lca.4 create mode 100644 static/netbsd/man4/man4.alpha/mcbus.4 create mode 100644 static/netbsd/man4/man4.alpha/mcpcia.4 create mode 100644 static/netbsd/man4/man4.alpha/sableio.4 create mode 100644 static/netbsd/man4/man4.alpha/tcasic.4 create mode 100644 static/netbsd/man4/man4.alpha/tlsb.4 create mode 100644 static/netbsd/man4/man4.alpha/tsc.4 create mode 100644 static/netbsd/man4/man4.alpha/tsciic.4 create mode 100644 static/netbsd/man4/man4.alpha/tsp.4 create mode 100644 static/netbsd/man4/man4.alpha/ttwoga.4 create mode 100644 static/netbsd/man4/man4.alpha/ttwopci.4 create mode 100644 static/netbsd/man4/man4.amiga/Makefile create mode 100644 static/netbsd/man4/man4.amiga/a1k2cp.4 create mode 100644 static/netbsd/man4/man4.amiga/a2kbbc.4 create mode 100644 static/netbsd/man4/man4.amiga/a34kbbc.4 create mode 100644 static/netbsd/man4/man4.amiga/acafh.4 create mode 100644 static/netbsd/man4/man4.amiga/afsc.4 create mode 100644 static/netbsd/man4/man4.amiga/ahsc.4 create mode 100644 static/netbsd/man4/man4.amiga/amidisplaycc.4 create mode 100644 static/netbsd/man4/man4.amiga/atzsc.4 create mode 100644 static/netbsd/man4/man4.amiga/autoconf.4 create mode 100644 static/netbsd/man4/man4.amiga/bah.4 create mode 100644 static/netbsd/man4/man4.amiga/bppcsc.4 create mode 100644 static/netbsd/man4/man4.amiga/clockport.4 create mode 100644 static/netbsd/man4/man4.amiga/console.4 create mode 100644 static/netbsd/man4/man4.amiga/cv3dpb.4 create mode 100644 static/netbsd/man4/man4.amiga/drbbc.4 create mode 100644 static/netbsd/man4/man4.amiga/ed.4 create mode 100644 static/netbsd/man4/man4.amiga/efa.4 create mode 100644 static/netbsd/man4/man4.amiga/em4k.4 create mode 100644 static/netbsd/man4/man4.amiga/empb.4 create mode 100644 static/netbsd/man4/man4.amiga/es.4 create mode 100644 static/netbsd/man4/man4.amiga/fdc.4 create mode 100644 static/netbsd/man4/man4.amiga/grf.4 create mode 100644 static/netbsd/man4/man4.amiga/grfcl.4 create mode 100644 static/netbsd/man4/man4.amiga/grfcv.4 create mode 100644 static/netbsd/man4/man4.amiga/grfcv3d.4 create mode 100644 static/netbsd/man4/man4.amiga/grfet.4 create mode 100644 static/netbsd/man4/man4.amiga/grfrh.4 create mode 100644 static/netbsd/man4/man4.amiga/grfrt.4 create mode 100644 static/netbsd/man4/man4.amiga/grful.4 create mode 100644 static/netbsd/man4/man4.amiga/gtsc.4 create mode 100644 static/netbsd/man4/man4.amiga/intro.4 create mode 100644 static/netbsd/man4/man4.amiga/ite.4 create mode 100644 static/netbsd/man4/man4.amiga/mem.4 create mode 100644 static/netbsd/man4/man4.amiga/mfcs.4 create mode 100644 static/netbsd/man4/man4.amiga/mgnsc.4 create mode 100644 static/netbsd/man4/man4.amiga/mntva.4 create mode 100644 static/netbsd/man4/man4.amiga/mppb.4 create mode 100644 static/netbsd/man4/man4.amiga/p5membar.4 create mode 100644 static/netbsd/man4/man4.amiga/p5pb.4 create mode 100644 static/netbsd/man4/man4.amiga/qn.4 create mode 100644 static/netbsd/man4/man4.amiga/ser.4 create mode 100644 static/netbsd/man4/man4.amiga/wesc.4 create mode 100644 static/netbsd/man4/man4.amiga/xsh.4 create mode 100644 static/netbsd/man4/man4.amiga/xsurf.4 create mode 100644 static/netbsd/man4/man4.amiga/z3rambd.4 create mode 100644 static/netbsd/man4/man4.amiga/zssc.4 create mode 100644 static/netbsd/man4/man4.amiga/zz9k.4 create mode 100644 static/netbsd/man4/man4.arc/Makefile create mode 100644 static/netbsd/man4/man4.arc/intro.4 create mode 100644 static/netbsd/man4/man4.atari/Makefile create mode 100644 static/netbsd/man4/man4.atari/et.4 create mode 100644 static/netbsd/man4/man4.atari/floppy.4 create mode 100644 static/netbsd/man4/man4.atari/intro.4 create mode 100644 static/netbsd/man4/man4.atari/ms.4 create mode 100644 static/netbsd/man4/man4.atari/rtc.4 create mode 100644 static/netbsd/man4/man4.cobalt/Makefile create mode 100644 static/netbsd/man4/man4.cobalt/gt.4 create mode 100644 static/netbsd/man4/man4.cobalt/intro.4 create mode 100644 static/netbsd/man4/man4.dreamcast/Makefile create mode 100644 static/netbsd/man4/man4.dreamcast/aica.4 create mode 100644 static/netbsd/man4/man4.dreamcast/g2bus.4 create mode 100644 static/netbsd/man4/man4.dreamcast/gapspci.4 create mode 100644 static/netbsd/man4/man4.dreamcast/gdrom.4 create mode 100644 static/netbsd/man4/man4.dreamcast/intro.4 create mode 100644 static/netbsd/man4/man4.dreamcast/maple.4 create mode 100644 static/netbsd/man4/man4.dreamcast/mkbd.4 create mode 100644 static/netbsd/man4/man4.dreamcast/mlcd.4 create mode 100644 static/netbsd/man4/man4.dreamcast/mmem.4 create mode 100644 static/netbsd/man4/man4.dreamcast/mms.4 create mode 100644 static/netbsd/man4/man4.dreamcast/pvr.4 create mode 100644 static/netbsd/man4/man4.emips/Makefile create mode 100644 static/netbsd/man4/man4.emips/ace.4 create mode 100644 static/netbsd/man4/man4.emips/autoconf.4 create mode 100644 static/netbsd/man4/man4.emips/dz.4 create mode 100644 static/netbsd/man4/man4.emips/ebus.4 create mode 100644 static/netbsd/man4/man4.emips/eclock.4 create mode 100644 static/netbsd/man4/man4.emips/enic.4 create mode 100644 static/netbsd/man4/man4.emips/intro.4 create mode 100644 static/netbsd/man4/man4.evbarm/Makefile create mode 100644 static/netbsd/man4/man4.evbarm/awge.4 create mode 100644 static/netbsd/man4/man4.evbarm/bcmgpio.4 create mode 100644 static/netbsd/man4/man4.evbarm/cpsw.4 create mode 100644 static/netbsd/man4/man4.evbarm/epgpio.4 create mode 100644 static/netbsd/man4/man4.evbarm/gxio.4 create mode 100644 static/netbsd/man4/man4.evbarm/intro.4 create mode 100644 static/netbsd/man4/man4.evbarm/iopaau.4 create mode 100644 static/netbsd/man4/man4.evbarm/iopwdog.4 create mode 100644 static/netbsd/man4/man4.evbarm/rktsadc.4 create mode 100644 static/netbsd/man4/man4.evbarm/sun8icrypto.4 create mode 100644 static/netbsd/man4/man4.evbarm/vcaudio.4 create mode 100644 static/netbsd/man4/man4.evbarm/vchiq.4 create mode 100644 static/netbsd/man4/man4.evbmips/Makefile create mode 100644 static/netbsd/man4/man4.evbmips/aupci.4 create mode 100644 static/netbsd/man4/man4.evbmips/cnmac.4 create mode 100644 static/netbsd/man4/man4.evbmips/intro.4 create mode 100644 static/netbsd/man4/man4.evbppc/Makefile create mode 100644 static/netbsd/man4/man4.evbppc/cpc.4 create mode 100644 static/netbsd/man4/man4.evbppc/intro_pmppc.4 create mode 100644 static/netbsd/man4/man4.evbppc/mainbus.4 create mode 100644 static/netbsd/man4/man4.evbppc/rtc.4 create mode 100644 static/netbsd/man4/man4.hp300/Makefile create mode 100644 static/netbsd/man4/man4.hp300/autoconf.4 create mode 100644 static/netbsd/man4/man4.hp300/cons.4 create mode 100644 static/netbsd/man4/man4.hp300/ct.4 create mode 100644 static/netbsd/man4/man4.hp300/dcl.4 create mode 100644 static/netbsd/man4/man4.hp300/dcm.4 create mode 100644 static/netbsd/man4/man4.hp300/dio.4 create mode 100644 static/netbsd/man4/man4.hp300/dnkbd.4 create mode 100644 static/netbsd/man4/man4.hp300/dvbox.4 create mode 100644 static/netbsd/man4/man4.hp300/frodo.4 create mode 100644 static/netbsd/man4/man4.hp300/gbox.4 create mode 100644 static/netbsd/man4/man4.hp300/hpib.4 create mode 100644 static/netbsd/man4/man4.hp300/hyper.4 create mode 100644 static/netbsd/man4/man4.hp300/intio.4 create mode 100644 static/netbsd/man4/man4.hp300/intro.4 create mode 100644 static/netbsd/man4/man4.hp300/mem.4 create mode 100644 static/netbsd/man4/man4.hp300/ppi.4 create mode 100644 static/netbsd/man4/man4.hp300/rbox.4 create mode 100644 static/netbsd/man4/man4.hp300/rd.4 create mode 100644 static/netbsd/man4/man4.hp300/rmp.4 create mode 100644 static/netbsd/man4/man4.hp300/rtc.4 create mode 100644 static/netbsd/man4/man4.hp300/topcat.4 create mode 100644 static/netbsd/man4/man4.hpcarm/Makefile create mode 100644 static/netbsd/man4/man4.hpcarm/intro.4 create mode 100644 static/netbsd/man4/man4.hpcarm/j720kbd.4 create mode 100644 static/netbsd/man4/man4.hpcarm/j720lcd.4 create mode 100644 static/netbsd/man4/man4.hpcarm/j720tp.4 create mode 100644 static/netbsd/man4/man4.hpcmips/Makefile create mode 100644 static/netbsd/man4/man4.hpcmips/teliosio.4 create mode 100644 static/netbsd/man4/man4.hpcsh/Makefile create mode 100644 static/netbsd/man4/man4.hpcsh/intro.4 create mode 100644 static/netbsd/man4/man4.hpcsh/j6x0lcd.4 create mode 100644 static/netbsd/man4/man4.hpcsh/j6x0tp.4 create mode 100644 static/netbsd/man4/man4.hpcsh/psh3lcd.4 create mode 100644 static/netbsd/man4/man4.hpcsh/psh3tp.4 create mode 100644 static/netbsd/man4/man4.hppa/Makefile create mode 100644 static/netbsd/man4/man4.hppa/asp.4 create mode 100644 static/netbsd/man4/man4.hppa/astro.4 create mode 100644 static/netbsd/man4/man4.hppa/cpu.4 create mode 100644 static/netbsd/man4/man4.hppa/dino.4 create mode 100644 static/netbsd/man4/man4.hppa/elroy.4 create mode 100644 static/netbsd/man4/man4.hppa/gsc.4 create mode 100644 static/netbsd/man4/man4.hppa/gsckbc.4 create mode 100644 static/netbsd/man4/man4.hppa/harmony.4 create mode 100644 static/netbsd/man4/man4.hppa/intro.4 create mode 100644 static/netbsd/man4/man4.hppa/io.4 create mode 100644 static/netbsd/man4/man4.hppa/lasi.4 create mode 100644 static/netbsd/man4/man4.hppa/lcd.4 create mode 100644 static/netbsd/man4/man4.hppa/mem.4 create mode 100644 static/netbsd/man4/man4.hppa/mongoose.4 create mode 100644 static/netbsd/man4/man4.hppa/pdc.4 create mode 100644 static/netbsd/man4/man4.hppa/phantomas.4 create mode 100644 static/netbsd/man4/man4.hppa/ssio.4 create mode 100644 static/netbsd/man4/man4.hppa/uturn.4 create mode 100644 static/netbsd/man4/man4.hppa/wax.4 create mode 100644 static/netbsd/man4/man4.i386/Makefile create mode 100644 static/netbsd/man4/man4.i386/apm.4 create mode 100644 static/netbsd/man4/man4.i386/cmos.4 create mode 100644 static/netbsd/man4/man4.i386/elanpar.4 create mode 100644 static/netbsd/man4/man4.i386/elanpex.4 create mode 100644 static/netbsd/man4/man4.i386/elansc.4 create mode 100644 static/netbsd/man4/man4.i386/gcscide.4 create mode 100644 static/netbsd/man4/man4.i386/gcscpcib.4 create mode 100644 static/netbsd/man4/man4.i386/geodecntr.4 create mode 100644 static/netbsd/man4/man4.i386/geodewdog.4 create mode 100644 static/netbsd/man4/man4.i386/glxsb.4 create mode 100644 static/netbsd/man4/man4.i386/gscpcib.4 create mode 100644 static/netbsd/man4/man4.i386/intro.4 create mode 100644 static/netbsd/man4/man4.i386/io.4 create mode 100644 static/netbsd/man4/man4.i386/lms.4 create mode 100644 static/netbsd/man4/man4.i386/mms.4 create mode 100644 static/netbsd/man4/man4.i386/pcibios.4 create mode 100644 static/netbsd/man4/man4.i386/pcmb.4 create mode 100644 static/netbsd/man4/man4.i386/pnpbios.4 create mode 100644 static/netbsd/man4/man4.i386/rdcide.4 create mode 100644 static/netbsd/man4/man4.i386/rdcpcib.4 create mode 100644 static/netbsd/man4/man4.i386/spic.4 create mode 100644 static/netbsd/man4/man4.luna68k/Makefile create mode 100644 static/netbsd/man4/man4.luna68k/autoconf.4 create mode 100644 static/netbsd/man4/man4.luna68k/intro.4 create mode 100644 static/netbsd/man4/man4.luna68k/lcd.4 create mode 100644 static/netbsd/man4/man4.luna68k/mem.4 create mode 100644 static/netbsd/man4/man4.luna68k/xp.4 create mode 100644 static/netbsd/man4/man4.mac68k/Makefile create mode 100644 static/netbsd/man4/man4.mac68k/ae.4 create mode 100644 static/netbsd/man4/man4.mac68k/ascaudio.4 create mode 100644 static/netbsd/man4/man4.mac68k/autoconf.4 create mode 100644 static/netbsd/man4/man4.mac68k/cpi.4 create mode 100644 static/netbsd/man4/man4.mac68k/intro.4 create mode 100644 static/netbsd/man4/man4.mac68k/iwm.4 create mode 100644 static/netbsd/man4/man4.mac68k/mainbus.4 create mode 100644 static/netbsd/man4/man4.mac68k/mem.4 create mode 100644 static/netbsd/man4/man4.mac68k/netdock.4 create mode 100644 static/netbsd/man4/man4.mac68k/obio.4 create mode 100644 static/netbsd/man4/man4.mac68k/pbbat.4 create mode 100644 static/netbsd/man4/man4.mac68k/zsc.4 create mode 100644 static/netbsd/man4/man4.macppc/Makefile create mode 100644 static/netbsd/man4/man4.macppc/autoconf.4 create mode 100644 static/netbsd/man4/man4.macppc/awacs.4 create mode 100644 static/netbsd/man4/man4.macppc/bm.4 create mode 100644 static/netbsd/man4/man4.macppc/gm.4 create mode 100644 static/netbsd/man4/man4.macppc/intro.4 create mode 100644 static/netbsd/man4/man4.macppc/mesh.4 create mode 100644 static/netbsd/man4/man4.macppc/obio.4 create mode 100644 static/netbsd/man4/man4.macppc/pbms.4 create mode 100644 static/netbsd/man4/man4.macppc/platinumfb.4 create mode 100644 static/netbsd/man4/man4.macppc/snapper.4 create mode 100644 static/netbsd/man4/man4.mvme68k/Makefile create mode 100644 static/netbsd/man4/man4.mvme68k/autoconf.4 create mode 100644 static/netbsd/man4/man4.mvme68k/clmpcc.4 create mode 100644 static/netbsd/man4/man4.mvme68k/clock.4 create mode 100644 static/netbsd/man4/man4.mvme68k/ie.4 create mode 100644 static/netbsd/man4/man4.mvme68k/intro.4 create mode 100644 static/netbsd/man4/man4.mvme68k/lpt.4 create mode 100644 static/netbsd/man4/man4.mvme68k/mainbus.4 create mode 100644 static/netbsd/man4/man4.mvme68k/mem.4 create mode 100644 static/netbsd/man4/man4.mvme68k/memc.4 create mode 100644 static/netbsd/man4/man4.mvme68k/ncrsc.4 create mode 100644 static/netbsd/man4/man4.mvme68k/pcc.4 create mode 100644 static/netbsd/man4/man4.mvme68k/pcctwo.4 create mode 100644 static/netbsd/man4/man4.mvme68k/wdsc.4 create mode 100644 static/netbsd/man4/man4.mvme68k/zsc.4 create mode 100644 static/netbsd/man4/man4.pmax/Makefile create mode 100644 static/netbsd/man4/man4.pmax/asc.4 create mode 100644 static/netbsd/man4/man4.pmax/autoconf.4 create mode 100644 static/netbsd/man4/man4.pmax/ibus.4 create mode 100644 static/netbsd/man4/man4.pmax/intro.4 create mode 100644 static/netbsd/man4/man4.pmax/pm.4 create mode 100644 static/netbsd/man4/man4.pmax/sii.4 create mode 100644 static/netbsd/man4/man4.pmax/xcfb.4 create mode 100644 static/netbsd/man4/man4.prep/Makefile create mode 100644 static/netbsd/man4/man4.prep/intro.4 create mode 100644 static/netbsd/man4/man4.prep/nvram.4 create mode 100644 static/netbsd/man4/man4.sandpoint/Makefile create mode 100644 static/netbsd/man4/man4.sandpoint/nhpow.4 create mode 100644 static/netbsd/man4/man4.sandpoint/satmgr.4 create mode 100644 static/netbsd/man4/man4.sgimips/Makefile create mode 100644 static/netbsd/man4/man4.sgimips/crime.4 create mode 100644 static/netbsd/man4/man4.sgimips/dpclock.4 create mode 100644 static/netbsd/man4/man4.sgimips/dsclock.4 create mode 100644 static/netbsd/man4/man4.sgimips/gio.4 create mode 100644 static/netbsd/man4/man4.sgimips/giopci.4 create mode 100644 static/netbsd/man4/man4.sgimips/grtwo.4 create mode 100644 static/netbsd/man4/man4.sgimips/haltwo.4 create mode 100644 static/netbsd/man4/man4.sgimips/hpc.4 create mode 100644 static/netbsd/man4/man4.sgimips/imc.4 create mode 100644 static/netbsd/man4/man4.sgimips/intro.4 create mode 100644 static/netbsd/man4/man4.sgimips/light.4 create mode 100644 static/netbsd/man4/man4.sgimips/mace.4 create mode 100644 static/netbsd/man4/man4.sgimips/mavb.4 create mode 100644 static/netbsd/man4/man4.sgimips/mec.4 create mode 100644 static/netbsd/man4/man4.sgimips/newport.4 create mode 100644 static/netbsd/man4/man4.sgimips/pic.4 create mode 100644 static/netbsd/man4/man4.sgimips/sq.4 create mode 100644 static/netbsd/man4/man4.sgimips/wdsc.4 create mode 100644 static/netbsd/man4/man4.sparc/Makefile create mode 100644 static/netbsd/man4/man4.sparc/apc.4 create mode 100644 static/netbsd/man4/man4.sparc/audioamd.4 create mode 100644 static/netbsd/man4/man4.sparc/autoconf.4 create mode 100644 static/netbsd/man4/man4.sparc/auxreg.4 create mode 100644 static/netbsd/man4/man4.sparc/bpp.4 create mode 100644 static/netbsd/man4/man4.sparc/bwtwo.4 create mode 100644 static/netbsd/man4/man4.sparc/cgeight.4 create mode 100644 static/netbsd/man4/man4.sparc/cgfour.4 create mode 100644 static/netbsd/man4/man4.sparc/cgfourteen.4 create mode 100644 static/netbsd/man4/man4.sparc/cgsix.4 create mode 100644 static/netbsd/man4/man4.sparc/cgthree.4 create mode 100644 static/netbsd/man4/man4.sparc/cgtwo.4 create mode 100644 static/netbsd/man4/man4.sparc/clock.4 create mode 100644 static/netbsd/man4/man4.sparc/dbri.4 create mode 100644 static/netbsd/man4/man4.sparc/fd.4 create mode 100644 static/netbsd/man4/man4.sparc/ie.4 create mode 100644 static/netbsd/man4/man4.sparc/intro.4 create mode 100644 static/netbsd/man4/man4.sparc/kbd.4 create mode 100644 static/netbsd/man4/man4.sparc/magma.4 create mode 100644 static/netbsd/man4/man4.sparc/mem.4 create mode 100644 static/netbsd/man4/man4.sparc/ms.4 create mode 100644 static/netbsd/man4/man4.sparc/nell.4 create mode 100644 static/netbsd/man4/man4.sparc/openprom.4 create mode 100644 static/netbsd/man4/man4.sparc/pnozz.4 create mode 100644 static/netbsd/man4/man4.sparc/tctrl.4 create mode 100644 static/netbsd/man4/man4.sparc/tcx.4 create mode 100644 static/netbsd/man4/man4.sparc/timer.4 create mode 100644 static/netbsd/man4/man4.sparc/tslot.4 create mode 100644 static/netbsd/man4/man4.sparc/xd.4 create mode 100644 static/netbsd/man4/man4.sparc/xy.4 create mode 100644 static/netbsd/man4/man4.sparc/zx.4 create mode 100644 static/netbsd/man4/man4.sparc64/Makefile create mode 100644 static/netbsd/man4/man4.sparc64/envctrl.4 create mode 100644 static/netbsd/man4/man4.sparc64/fdc.4 create mode 100644 static/netbsd/man4/man4.sparc64/ffb.4 create mode 100644 static/netbsd/man4/man4.sparc64/intro.4 create mode 100644 static/netbsd/man4/man4.sparc64/lom.4 create mode 100644 static/netbsd/man4/man4.sparc64/psycho.4 create mode 100644 static/netbsd/man4/man4.sparc64/pyro.4 create mode 100644 static/netbsd/man4/man4.sparc64/sab.4 create mode 100644 static/netbsd/man4/man4.sparc64/schizo.4 create mode 100644 static/netbsd/man4/man4.sparc64/tadpmu.4 create mode 100644 static/netbsd/man4/man4.sparc64/tda.4 create mode 100644 static/netbsd/man4/man4.sun2/Makefile create mode 100644 static/netbsd/man4/man4.sun2/autoconf.4 create mode 100644 static/netbsd/man4/man4.sun2/bwtwo.4 create mode 100644 static/netbsd/man4/man4.sun2/ec.4 create mode 100644 static/netbsd/man4/man4.sun2/ie.4 create mode 100644 static/netbsd/man4/man4.sun2/intro.4 create mode 100644 static/netbsd/man4/man4.sun2/kbd.4 create mode 100644 static/netbsd/man4/man4.sun2/leds.4 create mode 100644 static/netbsd/man4/man4.sun2/mem.4 create mode 100644 static/netbsd/man4/man4.sun2/ms.4 create mode 100644 static/netbsd/man4/man4.sun3/Makefile create mode 100644 static/netbsd/man4/man4.sun3/autoconf.4 create mode 100644 static/netbsd/man4/man4.sun3/bwtwo.4 create mode 100644 static/netbsd/man4/man4.sun3/cgfour.4 create mode 100644 static/netbsd/man4/man4.sun3/cgtwo.4 create mode 100644 static/netbsd/man4/man4.sun3/fd.4 create mode 100644 static/netbsd/man4/man4.sun3/ie.4 create mode 100644 static/netbsd/man4/man4.sun3/intro.4 create mode 100644 static/netbsd/man4/man4.sun3/kbd.4 create mode 100644 static/netbsd/man4/man4.sun3/leds.4 create mode 100644 static/netbsd/man4/man4.sun3/mem.4 create mode 100644 static/netbsd/man4/man4.sun3/ms.4 create mode 100644 static/netbsd/man4/man4.vax/Makefile create mode 100644 static/netbsd/man4/man4.vax/acc.4 create mode 100644 static/netbsd/man4/man4.vax/ad.4 create mode 100644 static/netbsd/man4/man4.vax/asc.4 create mode 100644 static/netbsd/man4/man4.vax/autoconf.4 create mode 100644 static/netbsd/man4/man4.vax/cons.4 create mode 100644 static/netbsd/man4/man4.vax/covid.4 create mode 100644 static/netbsd/man4/man4.vax/crl.4 create mode 100644 static/netbsd/man4/man4.vax/css.4 create mode 100644 static/netbsd/man4/man4.vax/ct.4 create mode 100644 static/netbsd/man4/man4.vax/ddn.4 create mode 100644 static/netbsd/man4/man4.vax/de.4 create mode 100644 static/netbsd/man4/man4.vax/dh.4 create mode 100644 static/netbsd/man4/man4.vax/dhu.4 create mode 100644 static/netbsd/man4/man4.vax/dl.4 create mode 100644 static/netbsd/man4/man4.vax/dmc.4 create mode 100644 static/netbsd/man4/man4.vax/dmf.4 create mode 100644 static/netbsd/man4/man4.vax/dmv.4 create mode 100644 static/netbsd/man4/man4.vax/dmz.4 create mode 100644 static/netbsd/man4/man4.vax/dn.4 create mode 100644 static/netbsd/man4/man4.vax/dz.4 create mode 100644 static/netbsd/man4/man4.vax/ec.4 create mode 100644 static/netbsd/man4/man4.vax/en.4 create mode 100644 static/netbsd/man4/man4.vax/ex.4 create mode 100644 static/netbsd/man4/man4.vax/fl.4 create mode 100644 static/netbsd/man4/man4.vax/hdh.4 create mode 100644 static/netbsd/man4/man4.vax/hk.4 create mode 100644 static/netbsd/man4/man4.vax/hp.4 create mode 100644 static/netbsd/man4/man4.vax/ht.4 create mode 100644 static/netbsd/man4/man4.vax/hy.4 create mode 100644 static/netbsd/man4/man4.vax/ik.4 create mode 100644 static/netbsd/man4/man4.vax/il.4 create mode 100644 static/netbsd/man4/man4.vax/intro.4 create mode 100644 static/netbsd/man4/man4.vax/ix.4 create mode 100644 static/netbsd/man4/man4.vax/kg.4 create mode 100644 static/netbsd/man4/man4.vax/lp.4 create mode 100644 static/netbsd/man4/man4.vax/mem.4 create mode 100644 static/netbsd/man4/man4.vax/mt.4 create mode 100644 static/netbsd/man4/man4.vax/mtc.4 create mode 100644 static/netbsd/man4/man4.vax/np.4 create mode 100644 static/netbsd/man4/man4.vax/pcl.4 create mode 100644 static/netbsd/man4/man4.vax/ps.4 create mode 100644 static/netbsd/man4/man4.vax/qe.4 create mode 100644 static/netbsd/man4/man4.vax/qt.4 create mode 100644 static/netbsd/man4/man4.vax/rf.4 create mode 100644 static/netbsd/man4/man4.vax/rl.4 create mode 100644 static/netbsd/man4/man4.vax/tm.4 create mode 100644 static/netbsd/man4/man4.vax/ts.4 create mode 100644 static/netbsd/man4/man4.vax/tu.4 create mode 100644 static/netbsd/man4/man4.vax/uda.4 create mode 100644 static/netbsd/man4/man4.vax/up.4 create mode 100644 static/netbsd/man4/man4.vax/ut.4 create mode 100644 static/netbsd/man4/man4.vax/uu.4 create mode 100644 static/netbsd/man4/man4.vax/va.4 create mode 100644 static/netbsd/man4/man4.vax/vp.4 create mode 100644 static/netbsd/man4/man4.vax/vv.4 create mode 100644 static/netbsd/man4/man4.x68k/Makefile create mode 100644 static/netbsd/man4/man4.x68k/bmd.4 create mode 100644 static/netbsd/man4/man4.x68k/intio.4 create mode 100644 static/netbsd/man4/man4.x68k/intro.4 create mode 100644 static/netbsd/man4/man4.x68k/mfp.4 create mode 100644 static/netbsd/man4/man4.x68k/neptune.4 create mode 100644 static/netbsd/man4/man4.x68k/powsw.4 create mode 100644 static/netbsd/man4/man4.x68k/vs.4 create mode 100644 static/netbsd/man4/man4.x86/Makefile create mode 100644 static/netbsd/man4/man4.x86/amdccp.4 create mode 100644 static/netbsd/man4/man4.x86/amdpcib.4 create mode 100644 static/netbsd/man4/man4.x86/amdsmn.4 create mode 100644 static/netbsd/man4/man4.x86/amdzentemp.4 create mode 100644 static/netbsd/man4/man4.x86/apic.4 create mode 100644 static/netbsd/man4/man4.x86/autoconf.4 create mode 100644 static/netbsd/man4/man4.x86/balloon.4 create mode 100644 static/netbsd/man4/man4.x86/console.4 create mode 100644 static/netbsd/man4/man4.x86/coretemp.4 create mode 100644 static/netbsd/man4/man4.x86/est.4 create mode 100644 static/netbsd/man4/man4.x86/fdc.4 create mode 100644 static/netbsd/man4/man4.x86/fwhrng.4 create mode 100644 static/netbsd/man4/man4.x86/hpet.4 create mode 100644 static/netbsd/man4/man4.x86/ichlpcib.4 create mode 100644 static/netbsd/man4/man4.x86/imcsmb.4 create mode 100644 static/netbsd/man4/man4.x86/lpt.4 create mode 100644 static/netbsd/man4/man4.x86/mem.4 create mode 100644 static/netbsd/man4/man4.x86/odcm.4 create mode 100644 static/netbsd/man4/man4.x86/powernow.4 create mode 100644 static/netbsd/man4/man4.x86/soekrisgpio.4 create mode 100644 static/netbsd/man4/man4.x86/tco.4 create mode 100644 static/netbsd/man4/man4.x86/viac7temp.4 create mode 100644 static/netbsd/man4/mbe.4 create mode 100644 static/netbsd/man4/mc.4 create mode 100644 static/netbsd/man4/mca.4 create mode 100644 static/netbsd/man4/mcclock.4 create mode 100644 static/netbsd/man4/mcd.4 create mode 100644 static/netbsd/man4/mcommphy.4 create mode 100644 static/netbsd/man4/mcp3kadc.4 create mode 100644 static/netbsd/man4/mcp48x1dac.4 create mode 100644 static/netbsd/man4/mcp980x.4 create mode 100644 static/netbsd/man4/mcpgpio.4 create mode 100644 static/netbsd/man4/mcx.4 create mode 100644 static/netbsd/man4/md.4 create mode 100644 static/netbsd/man4/mfb.4 create mode 100644 static/netbsd/man4/mfi.4 create mode 100644 static/netbsd/man4/mfii.4 create mode 100644 static/netbsd/man4/mhzc.4 create mode 100644 static/netbsd/man4/micphy.4 create mode 100644 static/netbsd/man4/midi.4 create mode 100644 static/netbsd/man4/mii.4 create mode 100644 static/netbsd/man4/mk48txx.4 create mode 100644 static/netbsd/man4/mlx.4 create mode 100644 static/netbsd/man4/mly.4 create mode 100644 static/netbsd/man4/mos.4 create mode 100644 static/netbsd/man4/mpii.4 create mode 100644 static/netbsd/man4/mpl115a.4 create mode 100644 static/netbsd/man4/mpls.4 create mode 100644 static/netbsd/man4/mpt.4 create mode 100644 static/netbsd/man4/mpu.4 create mode 100644 static/netbsd/man4/msm6242b.4 create mode 100644 static/netbsd/man4/mtd.4 create mode 100644 static/netbsd/man4/mtio.4 create mode 100644 static/netbsd/man4/mue.4 create mode 100644 static/netbsd/man4/multicast.4 create mode 100644 static/netbsd/man4/mvsata.4 create mode 100644 static/netbsd/man4/nadb.4 create mode 100644 static/netbsd/man4/nca.4 create mode 100644 static/netbsd/man4/ncm.4 create mode 100644 static/netbsd/man4/nct.4 create mode 100644 static/netbsd/man4/ne.4 create mode 100644 static/netbsd/man4/neo.4 create mode 100644 static/netbsd/man4/netintro.4 create mode 100644 static/netbsd/man4/nfe.4 create mode 100644 static/netbsd/man4/nfsmb.4 create mode 100644 static/netbsd/man4/njata.4 create mode 100644 static/netbsd/man4/njs.4 create mode 100644 static/netbsd/man4/npflog.4 create mode 100644 static/netbsd/man4/nsclpcsio.4 create mode 100644 static/netbsd/man4/nside.4 create mode 100644 static/netbsd/man4/nsphy.4 create mode 100644 static/netbsd/man4/nsphyter.4 create mode 100644 static/netbsd/man4/ntwoc.4 create mode 100644 static/netbsd/man4/null.4 create mode 100644 static/netbsd/man4/nvme.4 create mode 100644 static/netbsd/man4/nvmm.4 create mode 100644 static/netbsd/man4/oak.4 create mode 100644 static/netbsd/man4/oboe.4 create mode 100644 static/netbsd/man4/ofisa.4 create mode 100644 static/netbsd/man4/ohci.4 create mode 100644 static/netbsd/man4/onewire.4 create mode 100644 static/netbsd/man4/oosiop.4 create mode 100644 static/netbsd/man4/opl.4 create mode 100644 static/netbsd/man4/optiide.4 create mode 100644 static/netbsd/man4/options.4 create mode 100644 static/netbsd/man4/osiop.4 create mode 100644 static/netbsd/man4/otus.4 create mode 100644 static/netbsd/man4/owtemp.4 create mode 100644 static/netbsd/man4/pad.4 create mode 100644 static/netbsd/man4/pas.4 create mode 100644 static/netbsd/man4/pcdisplay.4 create mode 100644 static/netbsd/man4/pcf8563rtc.4 create mode 100644 static/netbsd/man4/pchtemp.4 create mode 100644 static/netbsd/man4/pci.4 create mode 100644 static/netbsd/man4/pciback.4 create mode 100644 static/netbsd/man4/pcic.4 create mode 100644 static/netbsd/man4/pciide.4 create mode 100644 static/netbsd/man4/pckbc.4 create mode 100644 static/netbsd/man4/pckbd.4 create mode 100644 static/netbsd/man4/pcmcia.4 create mode 100644 static/netbsd/man4/pcmcom.4 create mode 100644 static/netbsd/man4/pcn.4 create mode 100644 static/netbsd/man4/pcppi.4 create mode 100644 static/netbsd/man4/pcscp.4 create mode 100644 static/netbsd/man4/pcweasel.4 create mode 100644 static/netbsd/man4/pdcide.4 create mode 100644 static/netbsd/man4/pdcsata.4 create mode 100644 static/netbsd/man4/piixide.4 create mode 100644 static/netbsd/man4/piixpcib.4 create mode 100644 static/netbsd/man4/piixpm.4 create mode 100644 static/netbsd/man4/pim.4 create mode 100644 static/netbsd/man4/plip.4 create mode 100644 static/netbsd/man4/pm3fb.4 create mode 100644 static/netbsd/man4/pms.4 create mode 100644 static/netbsd/man4/pmu.4 create mode 100644 static/netbsd/man4/pnaphy.4 create mode 100644 static/netbsd/man4/podulebus.4 create mode 100644 static/netbsd/man4/ppbus.4 create mode 100644 static/netbsd/man4/ppi.4 create mode 100644 static/netbsd/man4/ppp.4 create mode 100644 static/netbsd/man4/pppoe.4 create mode 100644 static/netbsd/man4/pseye.4 create mode 100644 static/netbsd/man4/ptcd.4 create mode 100644 static/netbsd/man4/ptm.4 create mode 100644 static/netbsd/man4/pty.4 create mode 100644 static/netbsd/man4/puc.4 create mode 100644 static/netbsd/man4/pud.4 create mode 100644 static/netbsd/man4/puffs.4 create mode 100644 static/netbsd/man4/pv.4 create mode 100644 static/netbsd/man4/pwdog.4 create mode 100644 static/netbsd/man4/px.4 create mode 100644 static/netbsd/man4/pxagpio.4 create mode 100644 static/netbsd/man4/pxaip.4 create mode 100644 static/netbsd/man4/pxg.4 create mode 100644 static/netbsd/man4/qat.4 create mode 100644 static/netbsd/man4/qe.4 create mode 100644 static/netbsd/man4/qec.4 create mode 100644 static/netbsd/man4/qemufwcfg.4 create mode 100644 static/netbsd/man4/qsphy.4 create mode 100644 static/netbsd/man4/r128fb.4 create mode 100644 static/netbsd/man4/radeonfb.4 create mode 100644 static/netbsd/man4/radio.4 create mode 100644 static/netbsd/man4/raid.4 create mode 100644 static/netbsd/man4/ral.4 create mode 100644 static/netbsd/man4/ray.4 create mode 100644 static/netbsd/man4/rcons.4 create mode 100644 static/netbsd/man4/rdcphy.4 create mode 100644 static/netbsd/man4/re.4 create mode 100644 static/netbsd/man4/rge.4 create mode 100644 static/netbsd/man4/rgephy.4 create mode 100644 static/netbsd/man4/rlphy.4 create mode 100644 static/netbsd/man4/rnd.4 create mode 100644 static/netbsd/man4/route.4 create mode 100644 static/netbsd/man4/rs5c372rtc.4 create mode 100644 static/netbsd/man4/rt.4 create mode 100644 static/netbsd/man4/rtfps.4 create mode 100644 static/netbsd/man4/rtii.4 create mode 100644 static/netbsd/man4/rtk.4 create mode 100644 static/netbsd/man4/rtsx.4 create mode 100644 static/netbsd/man4/rtw.4 create mode 100644 static/netbsd/man4/rtwn.4 create mode 100644 static/netbsd/man4/rum.4 create mode 100644 static/netbsd/man4/run.4 create mode 100644 static/netbsd/man4/s390rtc.4 create mode 100644 static/netbsd/man4/satalink.4 create mode 100644 static/netbsd/man4/sb.4 create mode 100644 static/netbsd/man4/sbp.4 create mode 100644 static/netbsd/man4/sbt.4 create mode 100644 static/netbsd/man4/sbus.4 create mode 100644 static/netbsd/man4/sc.4 create mode 100644 static/netbsd/man4/sc16is7xx.4 create mode 100644 static/netbsd/man4/schide.4 create mode 100644 static/netbsd/man4/scmd.4 create mode 100644 static/netbsd/man4/scmdi2c.4 create mode 100644 static/netbsd/man4/scmdspi.4 create mode 100644 static/netbsd/man4/scsi.4 create mode 100644 static/netbsd/man4/sctp.4 create mode 100644 static/netbsd/man4/sd.4 create mode 100644 static/netbsd/man4/sdhc.4 create mode 100644 static/netbsd/man4/sdmmc.4 create mode 100644 static/netbsd/man4/sdtemp.4 create mode 100644 static/netbsd/man4/se.4 create mode 100644 static/netbsd/man4/sea.4 create mode 100644 static/netbsd/man4/sec.4 create mode 100644 static/netbsd/man4/seeprom.4 create mode 100644 static/netbsd/man4/sem.4 create mode 100644 static/netbsd/man4/ses.4 create mode 100644 static/netbsd/man4/sf.4 create mode 100644 static/netbsd/man4/sf2r.4 create mode 100644 static/netbsd/man4/sfb.4 create mode 100644 static/netbsd/man4/sgp40mox.4 create mode 100644 static/netbsd/man4/sgsmix.4 create mode 100644 static/netbsd/man4/shb.4 create mode 100644 static/netbsd/man4/shmif.4 create mode 100644 static/netbsd/man4/shpcic.4 create mode 100644 static/netbsd/man4/sht3xtemp.4 create mode 100644 static/netbsd/man4/sht4xtemp.4 create mode 100644 static/netbsd/man4/si.4 create mode 100644 static/netbsd/man4/si70xxtemp.4 create mode 100644 static/netbsd/man4/siisata.4 create mode 100644 static/netbsd/man4/siop.4 create mode 100644 static/netbsd/man4/sip.4 create mode 100644 static/netbsd/man4/siside.4 create mode 100644 static/netbsd/man4/sk.4 create mode 100644 static/netbsd/man4/sl.4 create mode 100644 static/netbsd/man4/slhci.4 create mode 100644 static/netbsd/man4/slide.4 create mode 100644 static/netbsd/man4/slurm.4 create mode 100644 static/netbsd/man4/sm.4 create mode 100644 static/netbsd/man4/smsc.4 create mode 100644 static/netbsd/man4/smscmon.4 create mode 100644 static/netbsd/man4/smscphy.4 create mode 100644 static/netbsd/man4/smsh.4 create mode 100644 static/netbsd/man4/sn.4 create mode 100644 static/netbsd/man4/sony.4 create mode 100644 static/netbsd/man4/spc.4 create mode 100644 static/netbsd/man4/spdmem.4 create mode 100644 static/netbsd/man4/speaker.4 create mode 100644 static/netbsd/man4/spi.4 create mode 100644 static/netbsd/man4/spif.4 create mode 100644 static/netbsd/man4/sqphy.4 create mode 100644 static/netbsd/man4/srt.4 create mode 100644 static/netbsd/man4/ss.4 create mode 100644 static/netbsd/man4/ssdfb.4 create mode 100644 static/netbsd/man4/st.4 create mode 100644 static/netbsd/man4/ste.4 create mode 100644 static/netbsd/man4/stf.4 create mode 100644 static/netbsd/man4/stge.4 create mode 100644 static/netbsd/man4/sti.4 create mode 100644 static/netbsd/man4/stpcide.4 create mode 100644 static/netbsd/man4/stuirda.4 create mode 100644 static/netbsd/man4/sv.4 create mode 100644 static/netbsd/man4/svwsata.4 create mode 100644 static/netbsd/man4/swsensor.4 create mode 100644 static/netbsd/man4/swwdog.4 create mode 100644 static/netbsd/man4/sysmon.4 create mode 100644 static/netbsd/man4/tap.4 create mode 100644 static/netbsd/man4/tc.4 create mode 100644 static/netbsd/man4/tcds.4 create mode 100644 static/netbsd/man4/tcic.4 create mode 100644 static/netbsd/man4/tcom.4 create mode 100644 static/netbsd/man4/tcp.4 create mode 100644 static/netbsd/man4/tcu.4 create mode 100644 static/netbsd/man4/tdvfb.4 create mode 100644 static/netbsd/man4/tea5767radio.4 create mode 100644 static/netbsd/man4/termios.4 create mode 100644 static/netbsd/man4/tfb.4 create mode 100644 static/netbsd/man4/thinkpad.4 create mode 100644 static/netbsd/man4/ti.4 create mode 100644 static/netbsd/man4/tl.4 create mode 100644 static/netbsd/man4/tlp.4 create mode 100644 static/netbsd/man4/tlphy.4 create mode 100644 static/netbsd/man4/tm121temp.4 create mode 100644 static/netbsd/man4/tpm.4 create mode 100644 static/netbsd/man4/tprof.4 create mode 100644 static/netbsd/man4/tps65217pmic.4 create mode 100644 static/netbsd/man4/tqphy.4 create mode 100644 static/netbsd/man4/tra.4 create mode 100644 static/netbsd/man4/trm.4 create mode 100644 static/netbsd/man4/tsllux.4 create mode 100644 static/netbsd/man4/tty.4 create mode 100644 static/netbsd/man4/tun.4 create mode 100644 static/netbsd/man4/twa.4 create mode 100644 static/netbsd/man4/twe.4 create mode 100644 static/netbsd/man4/txp.4 create mode 100644 static/netbsd/man4/u3g.4 create mode 100644 static/netbsd/man4/ualea.4 create mode 100644 static/netbsd/man4/uark.4 create mode 100644 static/netbsd/man4/uatp.4 create mode 100644 static/netbsd/man4/uaudio.4 create mode 100644 static/netbsd/man4/uberry.4 create mode 100644 static/netbsd/man4/ubsa.4 create mode 100644 static/netbsd/man4/ubsec.4 create mode 100644 static/netbsd/man4/ubt.4 create mode 100644 static/netbsd/man4/uchcom.4 create mode 100644 static/netbsd/man4/ucom.4 create mode 100644 static/netbsd/man4/ucycom.4 create mode 100644 static/netbsd/man4/udav.4 create mode 100644 static/netbsd/man4/udl.4 create mode 100644 static/netbsd/man4/udp.4 create mode 100644 static/netbsd/man4/udsbr.4 create mode 100644 static/netbsd/man4/uep.4 create mode 100644 static/netbsd/man4/uftdi.4 create mode 100644 static/netbsd/man4/ug.4 create mode 100644 static/netbsd/man4/ugen.4 create mode 100644 static/netbsd/man4/ugensa.4 create mode 100644 static/netbsd/man4/uha.4 create mode 100644 static/netbsd/man4/uhci.4 create mode 100644 static/netbsd/man4/uhid.4 create mode 100644 static/netbsd/man4/uhidev.4 create mode 100644 static/netbsd/man4/uhmodem.4 create mode 100644 static/netbsd/man4/uhso.4 create mode 100644 static/netbsd/man4/uintuos.4 create mode 100644 static/netbsd/man4/uipad.4 create mode 100644 static/netbsd/man4/uipaq.4 create mode 100644 static/netbsd/man4/uirda.4 create mode 100644 static/netbsd/man4/uk.4 create mode 100644 static/netbsd/man4/ukbd.4 create mode 100644 static/netbsd/man4/ukphy.4 create mode 100644 static/netbsd/man4/ukyopon.4 create mode 100644 static/netbsd/man4/ulpt.4 create mode 100644 static/netbsd/man4/umass.4 create mode 100644 static/netbsd/man4/umb.4 create mode 100644 static/netbsd/man4/umcpmio.4 create mode 100644 static/netbsd/man4/umcs.4 create mode 100644 static/netbsd/man4/umct.4 create mode 100644 static/netbsd/man4/umidi.4 create mode 100644 static/netbsd/man4/umodem.4 create mode 100644 static/netbsd/man4/ums.4 create mode 100644 static/netbsd/man4/unix.4 create mode 100644 static/netbsd/man4/upgt.4 create mode 100644 static/netbsd/man4/upl.4 create mode 100644 static/netbsd/man4/uplcom.4 create mode 100644 static/netbsd/man4/ure.4 create mode 100644 static/netbsd/man4/url.4 create mode 100644 static/netbsd/man4/urndis.4 create mode 100644 static/netbsd/man4/urtw.4 create mode 100755 static/netbsd/man4/urtwn.4 create mode 100644 static/netbsd/man4/usb.4 create mode 100644 static/netbsd/man4/usbnet.4 create mode 100644 static/netbsd/man4/userconf.4 create mode 100644 static/netbsd/man4/uslsa.4 create mode 100644 static/netbsd/man4/usmsc.4 create mode 100644 static/netbsd/man4/usscanner.4 create mode 100644 static/netbsd/man4/ustir.4 create mode 100644 static/netbsd/man4/uthum.4 create mode 100644 static/netbsd/man4/utoppy.4 create mode 100644 static/netbsd/man4/uts.4 create mode 100644 static/netbsd/man4/uvideo.4 create mode 100644 static/netbsd/man4/uvisor.4 create mode 100644 static/netbsd/man4/uvscom.4 create mode 100644 static/netbsd/man4/uxrcom.4 create mode 100644 static/netbsd/man4/vald.4 create mode 100644 static/netbsd/man4/valz.4 create mode 100644 static/netbsd/man4/veriexec.4 create mode 100644 static/netbsd/man4/vether.4 create mode 100644 static/netbsd/man4/vga.4 create mode 100644 static/netbsd/man4/vge.4 create mode 100644 static/netbsd/man4/viaenv.4 create mode 100644 static/netbsd/man4/viaide.4 create mode 100644 static/netbsd/man4/video.4 create mode 100644 static/netbsd/man4/vio9p.4 create mode 100644 static/netbsd/man4/viocon.4 create mode 100644 static/netbsd/man4/viogpu.4 create mode 100644 static/netbsd/man4/vioif.4 create mode 100644 static/netbsd/man4/viomb.4 create mode 100644 static/netbsd/man4/viornd.4 create mode 100644 static/netbsd/man4/vioscsi.4 create mode 100644 static/netbsd/man4/virt.4 create mode 100644 static/netbsd/man4/virtio.4 create mode 100644 static/netbsd/man4/virtio_mmio.4 create mode 100644 static/netbsd/man4/vlan.4 create mode 100644 static/netbsd/man4/vmmon.4 create mode 100644 static/netbsd/man4/vmnet.4 create mode 100644 static/netbsd/man4/vmt.4 create mode 100644 static/netbsd/man4/vmx.4 create mode 100644 static/netbsd/man4/vnd.4 create mode 100644 static/netbsd/man4/voodoofb.4 create mode 100644 static/netbsd/man4/vr.4 create mode 100644 static/netbsd/man4/vte.4 create mode 100644 static/netbsd/man4/wapbl.4 create mode 100644 static/netbsd/man4/wb.4 create mode 100644 static/netbsd/man4/wbsio.4 create mode 100644 static/netbsd/man4/wd.4 create mode 100644 static/netbsd/man4/wdc.4 create mode 100644 static/netbsd/man4/wds.4 create mode 100644 static/netbsd/man4/we.4 create mode 100644 static/netbsd/man4/wg.4 create mode 100644 static/netbsd/man4/wi.4 create mode 100644 static/netbsd/man4/wm.4 create mode 100644 static/netbsd/man4/wpi.4 create mode 100644 static/netbsd/man4/wsbell.4 create mode 100644 static/netbsd/man4/wscons.4 create mode 100644 static/netbsd/man4/wsdisplay.4 create mode 100644 static/netbsd/man4/wsfont.4 create mode 100644 static/netbsd/man4/wskbd.4 create mode 100644 static/netbsd/man4/wsmouse.4 create mode 100644 static/netbsd/man4/wsmux.4 create mode 100644 static/netbsd/man4/wss.4 create mode 100644 static/netbsd/man4/wt.4 create mode 100644 static/netbsd/man4/wwanc.4 create mode 100644 static/netbsd/man4/xbd.4 create mode 100644 static/netbsd/man4/xbdback.4 create mode 100644 static/netbsd/man4/xbox.4 create mode 100644 static/netbsd/man4/xenbus.4 create mode 100644 static/netbsd/man4/xennet.4 create mode 100644 static/netbsd/man4/xge.4 create mode 100644 static/netbsd/man4/xhci.4 create mode 100644 static/netbsd/man4/xi.4 create mode 100644 static/netbsd/man4/xirc.4 create mode 100644 static/netbsd/man4/xpci.4 create mode 100644 static/netbsd/man4/xvif.4 create mode 100644 static/netbsd/man4/yds.4 create mode 100644 static/netbsd/man4/ym.4 create mode 100644 static/netbsd/man4/zero.4 create mode 100644 static/netbsd/man4/zstty.4 create mode 100644 static/netbsd/man4/zyd.4 (limited to 'static/netbsd/man4') diff --git a/static/netbsd/man4/Makefile b/static/netbsd/man4/Makefile new file mode 100644 index 00000000..6f8d3b57 --- /dev/null +++ b/static/netbsd/man4/Makefile @@ -0,0 +1,36 @@ +MAN = $(wildcard *.4) +SUBDIRS = man4.acorn32 \ + man4.alpha \ + man4.amiga \ + man4.arc \ + man4.atari \ + man4.cobalt \ + man4.dreamcast \ + man4.emips \ + man4.evbarm \ + man4.evbmips \ + man4.evbppc \ + man4.hp300 \ + man4.hpcarm \ + man4.hpcmips \ + man4.hpcsh \ + man4.hppa \ + man4.i386 \ + man4.luna68k \ + man4.mac68k \ + man4.macppc \ + man4.mvme68k \ + man4.pmax \ + man4.prep \ + man4.sandpoint \ + man4.sgimips \ + man4.sparc \ + man4.sparc64 \ + man4.sun2 \ + man4.sun3 \ + man4.vax \ + man4.x68k \ + man4.x86 + +include ../../mandoc.mk + diff --git a/static/netbsd/man4/aac.4 b/static/netbsd/man4/aac.4 new file mode 100644 index 00000000..9d8a8674 --- /dev/null +++ b/static/netbsd/man4/aac.4 @@ -0,0 +1,105 @@ +.\" $NetBSD: aac.4,v 1.15 2016/06/01 01:33:10 pgoyette Exp $ +.\" +.\" Copyright (c) 2000 Scott Long +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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 FreeBSD: aac.4,v 1.18 2001/09/27 21:52:42 scottl Exp +.Dd June 1, 2016 +.Dt AAC 4 +.Os +.Sh NAME +.Nm aac +.Nd Adaptec AdvancedRAID Controller driver +.Sh SYNOPSIS +.Cd "aac* at pci? dev ? function ?" +.Cd "ld* at aac? unit ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Adaptec AAC family of SCSI +and SATA RAID controllers. +These controllers support RAID 0, 1, 5, 10, and volume sets. +They have four channels in the add-in version +or 1-2 channels in the motherboard integrated version, +and are most often found rebadged by Dell, Hewlett-Packard or IBM. +Supported controllers include: +.Pp +.Bl -bullet -compact +.It +Adaptec AAC-364 +.It +Adaptec SCSI RAID 2120S +.It +Adaptec SCSI RAID 2200S +.It +Adaptec SATA RAID 2410SA +.It +Adaptec SATA RAID 3405 +.It +Adaptec SCSI RAID 5400S +.It +Dell PERC 2/Si +.It +Dell PERC 2/QC +.It +Dell PERC 3/Di +.It +Dell PERC 3/Si +.It +Dell PERC 320/DC +.It +Dell CERC SATA RAID 1.5/6ch +.It +HP NetRAID 4M +.It +HP ML110 G2 (Adaptec SATA RAID 2610SA) +.It +IBM ServeRAID 8k +.El +.Pp +Access to RAID containers is available via the +.Nm ld +device driver. +Individual drives cannot be accessed unless they are part of a container +or volume set, and non-fixed disks cannot be accessed. +Containers can be configured by using the on-board BIOS utility of +the card. +.Sh DIAGNOSTICS +The adapter can send status and alert messages asynchronously to the driver. +These messages are printed on the system console. +.Sh SEE ALSO +.Xr intro 4 , +.Xr ld 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 1.6 , +and was based on the +.Fx +driver of the same name. +.Sh BUGS +This driver is not compatible with controllers that have version 1.x firmware. +The firmware version is the same as the kernel version printed in the BIOS +POST and driver attach messages. diff --git a/static/netbsd/man4/ac97.4 b/static/netbsd/man4/ac97.4 new file mode 100644 index 00000000..b8c5fe60 --- /dev/null +++ b/static/netbsd/man4/ac97.4 @@ -0,0 +1,78 @@ +.\" $NetBSD: ac97.4,v 1.2 2005/06/22 04:19:09 kent Exp $ +.\" $OpenBSD: ac97.4,v 1.12 2003/02/18 07:54:53 jmc Exp $ +.\" +.\" Copyright (c) 1999, 2000 Constantine Sapuntzakis +.\" +.\" Author: Constantine Sapuntzakis +.\" +.\" 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. 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 AUTHORS ``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 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. +.\" +.Dd October 7, 1999 +.Dt AC97 4 +.Os +.Sh NAME +.Nm ac97 +.Nd generic AC97 codec driver +.Sh DESCRIPTION +AC97 codecs contain the analog-to-digital (A/D), digital-to-analog +(D/A), and mixing circuitry of many modern sound cards. +AC97 codecs, for the most part, do not talk to host busses like the PCI bus +directly. +Instead, they communicate through an interface chip, called +the host controller. +The Ensoniq AudioPCI 97 (see +.Xr eap 4 ) +is an example of such a host controller. +.Pp +Unlike many drivers, the +.Nm +driver does not appear in the configuration file. +Instead, the driver is automatically attached by the drivers that require it. +.Sh SEE ALSO +.Xr auacer 4 , +.Xr auich 4 , +.Xr auixp 4 , +.Xr autri 4 , +.Xr auvia 4 , +.Xr clcs 4 , +.Xr clct 4 , +.Xr eap 4 , +.Xr emuxki 4 , +.Xr esa 4 , +.Xr esm 4 , +.Xr fms 4 , +.Xr neo 4 , +.\" .Xr repulse 4 , +.Xr yds 4 +.Sh BUGS +The +.Nm +driver does not keep track of the current user settings and instead +relies on the hardware to do this. +.Pp +The +.Nm +driver could do more to detect mixer channels that don't work and cull +them from the list. diff --git a/static/netbsd/man4/acardide.4 b/static/netbsd/man4/acardide.4 new file mode 100644 index 00000000..10e42fd2 --- /dev/null +++ b/static/netbsd/man4/acardide.4 @@ -0,0 +1,69 @@ +.\" $NetBSD: acardide.4,v 1.4 2009/10/19 18:41:08 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" 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. +.\" +.\" 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. +.\" +.Dd October 24, 2003 +.Dt ACARDIDE 4 +.Os +.Sh NAME +.Nm acardide +.Nd acard IDE disk controllers driver +.Sh SYNOPSIS +.Cd "acardide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the following IDE controllers: +.Bl -item -offset indent +.It +Acard ATP850U Ultra33 +.It +Acard ATP860 Ultra66 +.It +Acard ATP860-A Ultra66 +.It +Acard ATP865-A Ultra100 +.El +.Pp +It provides the interface with the hardware for the +.Xr ata 4 +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr ata 4 , +.Xr atapi 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr pciide 4 , +.Xr wd 4 , +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/static/netbsd/man4/aceride.4 b/static/netbsd/man4/aceride.4 new file mode 100644 index 00000000..4dd68a3d --- /dev/null +++ b/static/netbsd/man4/aceride.4 @@ -0,0 +1,58 @@ +.\" $NetBSD: aceride.4,v 1.3 2009/10/19 18:41:08 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" 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. +.\" +.\" 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. +.\" +.Dd October 8, 2003 +.Dt ACERIDE 4 +.Os +.Sh NAME +.Nm aceride +.Nd PCI IDE disk controllers driver +.Sh SYNOPSIS +.Cd "aceride* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Acer Labs M5229 IDE controllers, and provides the +interface with the hardware for the +.Xr ata 4 +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr ata 4 , +.Xr atapi 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr pciide 4 , +.Xr wd 4 , +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/static/netbsd/man4/acphy.4 b/static/netbsd/man4/acphy.4 new file mode 100644 index 00000000..6ce7e010 --- /dev/null +++ b/static/netbsd/man4/acphy.4 @@ -0,0 +1,58 @@ +.\" $NetBSD: acphy.4,v 1.4 2018/08/31 18:27:47 sevan Exp $ +.\" +.\" Copyright 2001 Wasabi Systems, Inc. +.\" All rights reserved. +.\" +.\" Written by Jason R. Thorpe for Wasabi Systems, Inc. +.\" +.\" 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 for the NetBSD Project by +.\" Wasabi Systems, Inc. +.\" 4. The name of Wasabi Systems, Inc. may not be used to endorse +.\" or promote products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``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 WASABI SYSTEMS, INC +.\" 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. +.\" +.Dd August 31, 2018 +.Dt ACPHY 4 +.Os +.Sh NAME +.Nm acphy +.Nd "Driver for Altima AC101, AC101L and AMD Am79c874 10/100 Ethernet PHYs" +.Sh SYNOPSIS +.Cd "acphy* at mii? phy ?" +.Sh DESCRIPTION +The +.Nm +driver supports the Altima AC101, AC101L and AMD Am79c874 NetPHY-1LP +10/100 Ethernet PHYs. +These PHYs are often found on low-power Ethernet interfaces, such as MiniPCI +interfaces found in laptops and embedded systems. +.Pp +The AMD 79c874 is a work-alike (most likely an OEM of the core) of the +Altima part. +.Sh SEE ALSO +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr ifconfig 8 diff --git a/static/netbsd/man4/acpi.4 b/static/netbsd/man4/acpi.4 new file mode 100644 index 00000000..8e07254f --- /dev/null +++ b/static/netbsd/man4/acpi.4 @@ -0,0 +1,573 @@ +.\" $NetBSD: acpi.4,v 1.89 2024/09/07 20:33:53 rillig Exp $ +.\" +.\" Copyright (c) 2002, 2004, 2010 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd December 5, 2020 +.Dt ACPI 4 +.Os +.Sh NAME +.Nm acpi +.Nd Advanced Configuration and Power Interface +.Sh SYNOPSIS +.Cd acpi0 at mainbus0 +.Pp +.Cd options ACPI_DEBUG +.Cd options ACPIVERBOSE +.Cd options ACPI_ACTIVATE_DEV +.Cd options ACPI_DSDT_OVERRIDE +.Cd options ACPI_DSDT_FILE="" +.Cd options ACPI_BLACKLIST_YEAR=2000 +.Cd options ACPI__DIS_IS_BROKEN +.Sh DESCRIPTION +.Nx +provides machine-independent bus support for +Advanced Configuration and Power Interface (ACPI) +devices and includes several ACPI device drivers. +.Pp +The +.Nx +implementation of ACPI integrates Intel's ACPI Component Architecture +(ACPI-CA) for the OS-independent part. +The ACPI-CA provides OS-neutral ACPI functionalities such as ACPI BIOS +table support, +an ACPI event framework and an ACPI Machine Language (AML) interpreter. +.Pp +Options: +.Bl -tag -width ACPI_DSDT_FILE__filename_XX -offset 3n +.It Dv ACPI_DEBUG +Enable various debug facilities. +.It Dv ACPIVERBOSE +Enable verbose debug messages. +.It Dv ACPI_ACTIVATE_DEV +Determine if the ACPI driver should attempt to activate inactive devices. +The default is off. +.It Dv ACPI_DSDT_OVERRIDE +Force a given Differentiated System Description Table (DSDT) +instead of the version supplied by the BIOS. +Use +.Dv ACPI_DSDT_FILE +to specify a DSDT. +.It Dv ACPI_DSDT_FILE="filename" +If +.Dv ACPI_DSDT_FILE +is not specified, default to +.Dq dsdt.hex +in the build directory. +.It Dv ACPI_BLACKLIST_YEAR=2000 +Do not use ACPI with any BIOS made on or before the specified year. +.It Dv ACPI__DIS_IS_BROKEN +Do not call the ACPI "_DIS" method to disable interrupt links. +This may be required on specific +.Dq nForce4 +chipset systems, which hard hang when this method is called instead of +having it fail gracefully. +.El +.Sh SYSCTL SUPPORT +The following +.Xr sysctl 8 +variables are provided by the +.Nm +driver: +.Bl -tag -width "123456" -offset indent +.It Ic hw.acpi.root +The address of the ACPI root pointer in system memory. +.It Ic hw.acpi.sleep.state +The system sleep state. +.It Ic hw.acpi.sleep.states +A list of system sleep states that the machine supports. +The possible values are: +.Pp +.Bl -tag -width XS1X -offset indent -compact +.It S0 +fully running +.It S1 +power on suspend (CPU and hard disks are off) +.It S2 +similar to S3, usually not implemented +.It S3 +suspend-to-RAM +.It S4 +suspend-to-disk (not supported on +.Nx ) +.It S5 +power off +.El +.It Ic hw.acpi.sleep.beep +A boolean variable that controls whether the PC +speaker beeps upon resume. +Only available on i386 and amd64 architectures. +.It Ic hw.acpi.sleep.vbios +Defines the handling of the graphics card on i386 and amd64 architectures. +The supported values are: +.Bl -tag -width '2' -offset 2n +.It 0 +No attempt to reset the VGA controller will be made. +.It 1 +Call the VGA BIOS when still in real mode. +This can result in direct reboots. +In that case, use +.Sq 2 +or +.Ic vbetool post +from the +.Pa pkgsrc/sysutils/vbetool +package. +.It 2 +Call the VGA BIOS using the in-kernel x86 emulator. +.El +.Pp +If the system has problems in resuming from the S3 +state, experimenting with different values may provide a solution. +.It Ic hw.acpi.stat.gpe +The number of dispatched General Purpose Events (GPEs). +.It Ic hw.acpi.stat.sci +The number of System Control Interrupts (SCIs). +See +.Xr acpiec 4 +for a brief description of both GPEs and SCIs. +.It Ic hw.acpi.stat.fixed +The number of +.Dq fixed events . +.It Ic hw.acpi.stat.method +The number of AML methods executed by the interpreter. +.It Ic hw.acpi.power +This read-only node describes the ACPI power state of devices. +The values range from D0 +.Pq Dq on +to D3 +.Pq Dq off . +.It Ic hw.acpi.wake +This node represents devices that can wake the system from the S3 or +S4 sleep state. +By default, +.Xr acpibut 4 , +.Xr acpilid 4 , +and +.Xr pckbd 4 +are allowed to wake the system, provided that the devices are present and +the firmware supports wake-up capabilities for the devices. +.El +.Sh SUPPORTED DEVICES +.Nx +ACPI supports several machine-dependent and machine-independent devices, +some specific to ACPI and some configured via it. +.Ss Machine-independent devices +.Bl -tag -width "thinkpad(4) " -offset indent -compact +.It Xr acpiacad 4 +ACPI AC adapters. +.It Xr acpibat 4 +ACPI batteries. +.It Xr acpibut 4 +ACPI power and sleep buttons. +.It Xr acpicpu 4 +ACPI processors. +.It Xr acpidalb 4 +ACPI direction application launch buttons. +.It Xr acpiec 4 +ACPI embedded controllers. +.It Xr acpiecdt 4 +ACPI Embedded Controller Boot Resource Table (ECDT). +.It Xr acpifan 4 +ACPI fans. +.It Xr acpilid 4 +ACPI lid switches. +.It Xr acpipmtr 4 +ACPI power meters. +.It Xr acpismbus 4 +ACPI SMBus via control method interface (CMI). +.It Xr acpitz 4 +ACPI thermal zones. +.It Xr acpivga 4 +ACPI display adapter and output devices. +.It Xr acpiwmi 4 +ACPI support for Windows Management Instrumentation. +.It Xr acpiwdrt 4 +ACPI watchdogs. +.It Xr aibs 4 +ASUSTeK voltage, temperature and fan sensors. +.It Xr asus 4 +ASUS laptop hotkeys. +.It Xr attimer 4 +AT Timer. +.It Xr com 4 +NS8250-, NS16450-, and NS16550-based serial ports. +.It Xr fdc 4 +Floppy disk controllers. +.It Xr fujbp 4 +Fujitsu brightness and pointer. +.It Xr fujhk 4 +Fujitsu hotkeys. +.It Xr hpacel 4 +HP 3D DriveGuard accelerometer. +.It Xr hpet 4 +High Precision Event Timer (HPET). +.It Xr hpqlb 4 +HP Quick Launch Buttons. +.It Xr joy 4 +Joystick/Game port interface. +.It Xr lpt 4 +Standard ISA parallel port interface. +.It Xr mpu 4 +Roland MPU-401 (compatible) MIDI UART. +.It Xr pcppi 4 +AT-style speaker sound. +.It Xr sdhc 4 +SD Host Controller. +.It Xr thinkpad 4 +IBM/Lenovo ThinkPad laptop device driver. +.It Xr ug 4 +Abit uGuru Hardware monitor. +.It Xr vald 4 +Toshiba Libretto device. +.It Xr valz 4 +Toshiba Dynabook device. +.It Xr wb 4 +Winbond W83L518D Integrated Media Reader. +.It Xr wss 4 +Windows Sound System-compatible sound cards +.It Xr ym 4 +Yamaha OPL3-SA2 and OPL3-SA3 audio device driver. +.El +.Ss i386-dependent devices +.Bl -tag -width "thinkpad(4) " -offset indent -compact +.It Xr pckbc 4 +PC keyboard controllers. +.It Xr sony 4 +Sony Miscellaneous Controller +.It Xr spic 4 +Sony programmable I/O controller. +.El +.Sh DEBUGGING +Although the situation has become better over the years, +ACPI is typically prone to various errors, +ranging from blatant flaws in the firmware to bugs in the implementation. +Before anything else, it is a good practice to upgrade the BIOS +to the latest version available from the vendor. +.Pp +To ease the task of diagnosing and fixing different problems, the +ACPICA reference implementation provides a rich +facility of different debugging methods. +In +.Nx +these are generally only available if the kernel has been compiled with the +.Dv ACPI_DEBUG +option. +.Ss Verbose messages +The +.Dv ACPIVERBOSE +compile time option enables some verbose +debug messages printed during the system startup. +In a +.Dv MODULAR +(see +.Xr options 4 ) +system, the information can be printed also at runtime, +regardless of the presence of +.Dv ACPIVERBOSE . +To print the messages, +.Xr modload 8 +the +.Ic acpiverbose +module using the option +.Fl b Cm dump=true . +.Ss Custom DSDT +ACPI interprets bytecode known as ACPI Machine Language (AML), +provided by the BIOS as a memory image during the system bootstrap. +Most of the AML relevant to +.Nm +is implemented in the so-called +Differentiated System Descriptor Table (DSDT). +.Nx +provides support for overriding the default DSDT supplied by the BIOS. +.Pp +The following steps can be used to override the DSDT: +.Bl -enum -offset indent +.It +Dump the raw DSDT with +.Xr acpidump 8 . +.It +Disassemble the table with +.Xr iasl 8 . +.It +Modify the disassembled table. +.It +Compile the table with +.Xr iasl 8 +using the option +.Fl tc . +.It +Either copy the +.Pq Pa *.hex +file to +.Bd -literal -offset indent +src/sys/dev/acpi/acpica/Osd/custom_dsdt.hex +.Ed +.Pp +or use the option +.Bd -literal -offset indent +ACPI_DSDT_FILE="/some/directory/custom_dsdt.hex" +.Ed +.Pp +in the kernel configuration file. +.It +Define +.Dv ACPI_DSDT_OVERRIDE +in the kernel configuration file and rebuild. +.El +.Ss Debugger +The ACPICA interpreter provides its own debugger for low-level debugging. +It can be used to display internal data structures and namespace objects, +and to debug the execution of control methods. +Single step and breakpoint functionality are available. +In +.Nx +this is integrated to the in-kernel +.Xr ddb 4 . +In order to enter the ACPICA debugger from +.Xr ddb 4 , +use the command +.Ic call +with the argument +.Ic acpi_osd_debugger . +.Ss Debug Output +.Nx +provides three +.Xr sysctl 8 +variables that control the debug output at runtime. +The +.Ic hw.acpi.debug.layer +variable limits the output to a specific ACPI layer and the +.Ic hw.acpi.debug.level +variable controls the debug level. +Both +.Xr sysctl 8 +variables are string literals. +The third variable is +.Ic hw.acpi.debug.object . +This is a boolean that controls whether debug messages internal to the +AML are enabled. +.Pp +For the first two variables, the possible values are: +.Bl -column -offset indent \ +"ACPI_RESOURCE_COMPONENT " "ACPI_RESOURCE_COMPONENT " +.It Sy LAYER Ta Sy LEVEL +.It Dv ACPI_DEBUG_NONE Ta Dv ACPI_DEBUG_NONE +.It Ta +.It Dv ACPI_UTILITIES Ta Dv ACPI_LV_INIT +.It Dv ACPI_HARDWARE Ta Dv ACPI_LV_DEBUG_OBJECT +.It Dv ACPI_EVENTS Ta Dv ACPI_LV_INFO +.It Dv ACPI_TABLES Ta Dv ACPI_LV_ALL_EXCEPTIONS No * +.It Dv ACPI_NAMESPACE Ta +.It Dv ACPI_PARSER Ta Dv ACPI_LV_INIT_NAMES +.It Dv ACPI_DISPATCHER Ta Dv ACPI_LV_PARSE +.It Dv ACPI_EXECUTER Ta Dv ACPI_LV_LOAD +.It Dv ACPI_RESOURCES Ta Dv ACPI_LV_DISPATCH +.It Dv ACPI_CA_DEBUGGER Ta Dv ACPI_LV_EXEC +.It Dv ACPI_OS_SERVICES Ta Dv ACPI_LV_NAMES +.It Dv ACPI_CA_DISASSEMBLER Ta Dv ACPI_LV_OPREGION +.It Dv ACPI_COMPILER Ta Dv ACPI_LV_BFIELD +.It Dv ACPI_TOOLS Ta Dv ACPI_LV_TABLES +.It Dv ACPI_EXAMPLE Ta Dv ACPI_LV_VALUES +.It Dv ACPI_DRIVER Ta Dv ACPI_LV_OBJECTS +.It Dv ACPI_ALL_COMPONENTS No * Ta Dv ACPI_LV_RESOURCES +.It Ta Dv ACPI_LV_USER_REQUESTS +.It Dv ACPI_BUS_COMPONENT Ta Dv ACPI_LV_PACKAGE +.It Dv ACPI_ACAD_COMPONENT Ta Dv ACPI_LV_VERBOSITY1 No * +.It Dv ACPI_BAT_COMPONENT Ta +.It Dv ACPI_BUTTON_COMPONENT Ta Dv ACPI_LV_ALLOCATIONS +.It Dv ACPI_EC_COMPONENT Ta Dv ACPI_LV_FUNCTIONS +.It Dv ACPI_LID_COMPONENT Ta Dv ACPI_LV_OPTIMIZATIONS +.It Dv ACPI_RESOURCE_COMPONENT Ta Dv ACPI_LV_VERBOSITY2 No * +.It Dv ACPI_TZ_COMPONENT Ta +.It Dv ACPI_DISPLAY_COMPONENT Ta +.It Dv ACPI_ALL_DRIVERS No * Ta Dv ACPI_LV_MUTEX +.It Ta Dv ACPI_LV_THREADS +.It Ta Dv ACPI_LV_IO +.It Ta Dv ACPI_LV_AML_INTERRUPTS +.It "* This is a compound" Ta Dv ACPI_LV_VERBOSITY3 No * +.It " constant, including" Ta +.It " all previous elements." Ta Dv ACPI_LV_AML_DISASSEMBLE +.It Ta Dv ACPI_LV_VERBOSE_INFO +.It Ta Dv ACPI_LV_FULL_TABLES +.It Ta Dv ACPI_LV_EVENTS +.It Ta Dv ACPI_LV_VERBOSE No * +.El +.Pp +In addition, there is +.Dv ACPI_DEBUG_DEFAULT +that is used by ACPICA as the default debug level. +It includes +.Dv ACPI_LV_INIT +and +.Dv ACPI_LV_DEBUG_OBJECT . +.Pp +The debug layer can be divided into two groups: +the first one is specific to the ACPICA +interpreter and the second one contains the internal ACPI +components of +.Nx . +The constant +.Dv ACPI_ALL_DRIVERS +includes all +.Nx +specific parts. +.Pp +The ACPICA interpreter uses several debug levels internally, +but the +.Nx +specific parts are typically limited to +.Dv ACPI_LV_DEBUG_OBJECT +and +.Dv ACPI_LV_INFO . +The debug output can be stopped by setting +.Ic hw.acpi.debug.level +to +.Dv ACPI_DEBUG_NONE . +.Ss Example +As an example, a driver may have defined the component it belongs to and +the name of the module: +.Bd -literal -offset indent +#define _COMPONENT ACPI_BUS_COMPONENT +ACPI_MODULE_NAME ("acpi_example") +.Ed +.Pp +The driver may also utilize the debug facility: +.Bd -literal -offset indent +ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Failed to evaluate _STA\\n")); +.Ed +.Pp +With these options the debug message from the +.Dv ACPI_DEBUG_PRINT +macro is only visible when +.Ic hw.acpi.debug.layer +is either +.Dv ACPI_BUS_COMPONENT +or a compound constant including it, and +.Ic hw.acpi.debug.level +is +.Dv ACPI_LV_INFO +or some constant that includes it. +Finally, it can be noted that the ACPI implementation uses the prefix +.Dv ACPI_DB , +whereas the debug level +.Xr sysctl 8 +variable is always specified with the prefix +.Dv ACPI_LV . +.Pp +Another example can be mentioned for the use of +.Ic hw.acpi.debug.object . +The following could appear in an ASL code: +.Bd -literal -offset indent +Method(_Q19, 0, NotSerialized) +{ + Store("_Q19 invoked", Debug) + Notify(ACAD, 0x80) +} +.Ed +.Pp +When +.Ic hw.acpi.debug.object +is set to 1, the message stored to the debug object +is printed every time the method is called by the interpreter. +.Sh FILES +.Bl -tag -width /dev/acpi +.It Pa /dev/acpi +.El +.Sh SEE ALSO +.Xr ioapic 4 , +.Xr acpidump 8 , +.Xr amldb 8 , +.Xr iasl 8 +.Rs +.%A Hewlett-Packard Corporation +.%A Intel Corporation +.%A Microsoft Corporation +.%A Phoenix Technologies Ltd. +.%A Toshiba Corporation +.%T Advanced Configuration and Power Interface Specification +.%N Revision 4.0 +.%D June 16, 2009 +.%U http://www.acpi.info/spec.htm +.Re +.Rs +.%A Intel Corporation +.%T ACPI Component Architecture, +.%T Programmer Reference, +.%T OS-Independent Subsystem, Debugger, and Utilities +.%N Revision 1.27 +.%D January 20, 2010 +.%U http://www.acpica.org/download/acpica-reference.pdf +.Re +.Rs +.%A Len Brown +.%T ACPI in Linux - Myths vs. Reality +.%D June 27-30, 2007 +.%O Proceedings of the Linux Symposium +.%P 65-74 +.%U http://www.linuxsymposium.org/archives/OLS/Reprints-2007/brown_1-Reprint.pdf +.Re +.Rs +.%A Joerg Sonnenberger +.%A Jared D. McNeill +.%T Sleeping Beauty - NetBSD on Modern Laptops +.%D February 3, 2008 +.%O Proceedings of AsiaBSDCon 2008 +.%P 127-134 +.%U https://2008.asiabsdcon.org/papers/P9A-paper.pdf +.Re +.Rs +.%A Takanori Watanabe +.%T ACPI Implementation on FreeBSD +.%I USENIX Association +.%B Proceedings of the FREENIX Track: 2002 USENIX Annual Technical Conference +.%P 121-131 +.%D June 10-15, 2002 +.%U https://www.usenix.org/legacy/event/usenix02/tech/freenix/full_papers/watanabe/watanabe.pdf +.Re +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.6 . +.Sh AUTHORS +.An -nosplit +Authors of the +.Nm +subsystem include +.An Charles M. Hannum , +.An Frank van der Linden , +.An Jared D. McNeill , +.An Jason R. Thorpe , +.An Joerg Sonnenberger , +and +.An Jukka Ruohonen , +among others. +.Sh BUGS +Most of the ACPI power management functionalities are not implemented. +.Pp +The +.Dv ACPI__DIS_IS_BROKEN +option should not be necessary. diff --git a/static/netbsd/man4/acpiacad.4 b/static/netbsd/man4/acpiacad.4 new file mode 100644 index 00000000..d86308e9 --- /dev/null +++ b/static/netbsd/man4/acpiacad.4 @@ -0,0 +1,58 @@ +.\" $NetBSD: acpiacad.4,v 1.6 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd October 11, 2007 +.Dt ACPIACAD 4 +.Os +.Sh NAME +.Nm acpiacad +.Nd ACPI AC Adapter +.Sh SYNOPSIS +.Cd "acpiacad* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver supports ACPI AC Adapters. +.Pp +The status (connected or disconnected) can be monitored by the +.Xr envsys 4 +API or the +.Xr envstat 8 +command. +Actions against AC adapter online/offline events can be configured using the +.Xr powerd 8 +daemon. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr envsys 4 , +.Xr envstat 8 , +.Xr powerd 8 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.6 . diff --git a/static/netbsd/man4/acpibat.4 b/static/netbsd/man4/acpibat.4 new file mode 100644 index 00000000..9a438810 --- /dev/null +++ b/static/netbsd/man4/acpibat.4 @@ -0,0 +1,123 @@ +.\" $NetBSD: acpibat.4,v 1.9 2010/03/25 15:34:30 jruoho Exp $ +.\" +.\" Copyright (c) 2002, 2004, 2010 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd March 17, 2010 +.Dt ACPIBAT 4 +.Os +.Sh NAME +.Nm acpibat +.Nd ACPI Battery +.Sh SYNOPSIS +.Cd "acpibat* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver supports +.Tn ACPI +batteries. +.Pp +The battery status is made available through the +.Xr envsys 4 +.Tn API . +The battery information can be displayed also with the +.Xr envstat 8 +command: +.Bd -literal -offset 2n +$ envstat -d acpibat0 + Current CritMax WarnMax WarnMin CritMin Unit + present: ON +design voltage: 14.400 V + voltage: 16.267 V + design cap: 74.880 Wh + last full cap: 48.260 Wh + charge: 47.910 5.000% 0.414% Wh (99.27%) + charge rate: N/A +discharge rate: 16.641 W + charging: OFF + charge state: NORMAL +.Ed +.Pp +Depending on the battery, the unit of measurement is either watt-hour +.Tn Pq Wh +or ampere-hour +.Tn Pq Ah +for the capacity related information. +From these the +.Dq charge +is usually the most interesting value, +but it is possible to derive useful information also from the other values. +For example, when +.Xr acpiacad 4 +is disconnected, the +.Dq discharge rate +gives a coarse approximation of the current power consumption. +The ratio between the design capacity and the last full capacity +on the other hand reveals the overall +.Dq health +of deteriorating lithium-ion batteries. +.Sh EVENTS +The +.Nm +driver is able to send events to +.Xr powerd 8 +daemon when a capacity state has been changed. +The new state will be reported as the +.Em fourth +argument to the +.Pa /etc/powerd/scripts/sensor_battery +script. +If a custom capacity limit was set via +.Xr envstat 8 , +the +.Nm +driver will report a +.Em user-capacity +event to the same script when current capacity limit has been reached. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr envsys 4 , +.Xr envstat 8 , +.Xr powerd 8 +.Sh HISTORY +The +.Nm +driver appeared in +.Nx 1.6 . +.Sh BUGS +The +.Tn ACPI +specifications make a distinction between +.Dq control method batteries +and +.Dq smart batteries . +The +.Nm +driver only supports control method batteries. +Furthermore, +.Nm +does not yet support some additional battery information introduced in the +.Tn ACPI 4.0 +standard. diff --git a/static/netbsd/man4/acpibut.4 b/static/netbsd/man4/acpibut.4 new file mode 100644 index 00000000..df20f37a --- /dev/null +++ b/static/netbsd/man4/acpibut.4 @@ -0,0 +1,59 @@ +.\" $NetBSD: acpibut.4,v 1.4 2010/04/25 07:12:10 jruoho Exp $ +.\" +.\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd April 25, 2010 +.Dt ACPIBUT 4 +.Os +.Sh NAME +.Nm acpibut +.Nd ACPI Button +.Sh SYNOPSIS +.Cd "acpibut* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver supports two kinds of +.Tn ACPI +buttons: +.Bl -column -offset indent "Button " "/etc/powerd/scripts/power_button" +.It Sy Button Ta Sy Script +.It Li Power Ta Pa /etc/powerd/scripts/power_button +.It Li Sleep Ta Pa /etc/powerd/scripts/sleep_button +.El +.Pp +When a button is pressed, the +.Xr powerd 8 +daemon, if running, +will execute the corresponding script. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr powerd 8 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.6 . diff --git a/static/netbsd/man4/acpicpu.4 b/static/netbsd/man4/acpicpu.4 new file mode 100644 index 00000000..ada3e709 --- /dev/null +++ b/static/netbsd/man4/acpicpu.4 @@ -0,0 +1,365 @@ +.\" $NetBSD: acpicpu.4,v 1.37 2024/09/07 20:33:53 rillig Exp $ +.\" +.\" Copyright (c) 2010 Jukka Ruohonen +.\" 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. Neither the name of the author nor the names of any +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 FOUNDATION 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. +.\" +.Dd August 31, 2018 +.Dt ACPICPU 4 +.Os +.Sh NAME +.Nm acpicpu +.Nd ACPI CPU +.Sh SYNOPSIS +.Cd "acpicpu* at cpu?" +.Sh DESCRIPTION +The +.Nm +device driver supports certain processor features that are +either only available via +.Tn ACPI +or that require +.Tn ACPI +to function properly. +Typically the +.Tn ACPI +processor functionality is grouped into so-called C-, P-, and T-states. +.Ss C-states +The processor power states, or C-states, +are low-power modes that can be used when the +.Tn CPU +is idle. +The idea is not new: already in the +.Tn 80486 +processor a specific instruction +.Pq Tn HLT +was used for this purpose. +This was later accompanied by a pair of other instructions +.Pq Tn MONITOR , MWAIT . +By default, +.Nx +may use either one; see the +.Ic machdep.idle-mechanism +.Xr sysctl 8 +variable. +.Tn ACPI +provides the latest amendment. +.Pp +The following C-states are typically available. +Additional processor or vendor specific +states (C4, ..., Cn) are handled internally by +.Nm . +.Bl -tag -width C1 -offset indent +.It Dv C0 +This is the normal state of a processor; the +.Tn CPU +is busy executing instructions. +.It Dv C1 +This is the state that is typically reached via the mentioned +.Tn x86 +instructions. +On a typical processor, +.Dv C1 +turns off the main internal +.Tn CPU +clock, leaving +.Tn APIC +running at full speed. +The +.Tn CPU +is free to temporarily leave the state to deal with important requests. +.It Dv C2 +The main difference between +.Dv C1 +and +.Dv C2 +lies in the internal hardware entry method of the processor. +While less power is expected to be consumed than in +.Dv C1 , +the bus interface unit is still running. +But depending on the processor, the local +.Tn APIC +timer may be stopped. +Like with +.Dv C1 , +entering and exiting the state are expected to be fast operations. +.It Dv C3 +This is the deepest conventional state. +Parts of the +.Tn CPU +are actively powered down. +The internal +.Tn CPU +clock is stopped. +The local +.Tn APIC +timer is stopped. +Depending on the processor, additional timers such as +.Xr x86/tsc 9 +may be stopped. +Processor caches may be flushed. +Entry and exit latencies are expected to be high; the +.Tn CPU +can no longer +.Dq quickly +respond to bus activity or other interruptions. +.El +.Pp +Each state has a latency associated with entry and exit. +The higher the state, the lower the power consumption, and +the higher the potential performance costs. +.Pp +The +.Nm +driver tries to balance the latency +constraints when choosing the appropriate state. +One of the checks involves bus master activity; +if such activity is detected, a lower state is used. +It is known that particularly +.Xr usb 4 +may cause high activity even when not in use. +If maximum power savings are desirable, +it may be necessary to use a custom kernel without +.Tn USB +support. +And generally: to save power with C-states, one should +avoid polling, both in userland and in the kernel. +.Ss P-states +The processor performance states, or P-states, are used to +control the clock frequencies and voltages of a +.Tn CPU . +Underneath the abstractions of +.Tn ACPI , +P-states are associated with such technologies as +.Dq SpeedStep +.Pq Intel , +.Dq PowerNow! +.Pq Tn AMD , +and +.Dq PowerSaver +.Pq VIA . +.Pp +The P0-state is always the highest operating +frequency supported by the processor. +The number of additional P-states may vary across processors and vendors. +Each higher numbered P-state represents lower +clock frequencies and hence lower power consumption. +Note that while +.Nm +always uses the exact frequencies internally, +the user-visible values reported by +.Tn ACPI +may be rounded or approximated by the vendor. +.Pp +Unlike conventional +.Tn CPU +frequency management, +.Tn ACPI +provides support for Dynamic Voltage and Frequency Scaling +.Pq Tn DVFS . +Among other things, +this means that the firmware may request the implementation to +dynamically scale the presently supported maximum or minimum clock frequency. +For example, if +.Xr acpiacad 4 +is disconnected, the maximum available frequency may be lowered. +By default, +the +.Nx +implementation may manipulate the frequencies +according to the notifications from the firmware. +.Ss T-states +Processor T-states, or +.Dq throttling states , +can be used to actively modulate the +time a processor is allowed to execute. +Outside the +.Tn ACPI +nomenclature, throttling and T-states may be known as +.Dq on-demand clock modulation +.Pq Tn ODCM . +.Pp +The concept of +.Dq duty cycle +is relevant to T-states. +It is generally defined to be a fraction of time that a system is in an +.Dq active +state. +The T0-state has always a duty cycle of 100 \&%, +and thus, comparable to the C0-state, the processor is fully active. +Each additional higher-numbered T-state indicates lower duty cycles. +At most eight T-states may be available, although also T-states use +.Tn DVFS . +.Pp +The duty cycle does not refer to the actual clock signal, +but to the time period in which the clock signal is allowed +to drive the processor chip. +For instance, if a T-state has a duty cycle of 75 \&%, the +.Tn CPU +runs at the same clock frequency and uses the same voltage, +but 25 \&% of the time the +.Tn CPU +is forced to idle. +Because of this, the use of T-states may +severely affect system performance. +.Pp +There are two typical situations for throttling: +power management and thermal control. +As a technique to save power, +T-states are largely an artifact from the past. +There was a short period in the x86 lineage when P-states +were not yet available and throttling was considered +as an option to modulate the processor power consumption. +The approach was however quickly abandoned. +In modern x86 systems P-states should be preferred in all circumstances. +It is also more beneficial to move from the C0-state +to deeper C-states than it is to actively force down the +duty cycle of a processor. +.Pp +But T-states have retained their use as a last line +of defense against critical thermal conditions. +Many x86 processors include a catastrophic shutdown detector. +When the processor core temperature reaches this factory defined trip-point, +the processor execution is halted without any software control. +Before this fatal condition, it is possible to use throttling +for a short period of time in order to force the temperatures to lower levels. +The thermal control modulation is typically started only when +the system is in the highest-power P-state and +a high temperature situation exists. +After the temperatures have returned to non-critical levels, +the modulation ceases. +.Ss System Control Variables +The +.Nm +driver uses the same +.Xr sysctl 8 +controls for P-states as the ones provided by +.Xr est 4 +and +.Xr powernow 4 . +Please note that future versions of +.Nm +may however remove these system control variables without further notice. +.Pp +In addition, the following two variables are available. +.Bl -tag -width "hw.acpi.cpu.dynamic" -offset indent +.It Ic hw.acpi.cpu.dynamic +A boolean that controls whether the states are allowed to change dynamically. +When enabled, C-, P-, and T-states may all change at runtime, and +.Nm +may also take actions based on requests from the firmware. +.It Ic hw.acpi.cpu.passive +A boolean that enables or disables automatic processor thermal management via +.Xr acpitz 4 . +.El +.Ss Statistics +The +.Nm +driver uses event counters to track the times +a processor has entered a given state. +It is possible to view the statistics by using +.Xr vmstat 1 +(with the +.Fl e +flag). +.Sh SEE ALSO +.Xr acpi 4 , +.Xr acpitz 4 , +.Xr est 4 , +.Xr odcm 4 , +.Xr powernow 4 , +.Xr cpu_idle 9 +.Rs +.%A Etienne Le Sueur +.%A Gernot Heiser +.%T Dynamic Voltage and Frequency Scaling: The Laws of Diminishing Returns +.%O Proceedings of the 2010 Workshop on \ +Power Aware Computing and Systems (HotPower'10) +.%D October, 2010 +.%U http://www.ertos.nicta.com.au/publications/papers/LeSueur_Heiser_10.pdf +.Re +.Rs +.%A David C. Snowdon +.%T Operating System Directed Power Management +.%O PhD Thesis +.%I School of Computer Science and Engineering, University of New South Wales +.%D March, 2010 +.%U http://ertos.nicta.com.au/publications/papers/Snowdon:phd.pdf +.Re +.Rs +.%A Microsoft Corporation +.%T Windows Native Processor Performance Control +.%N Version 1.1a +.%D November, 2002 +.%U http://msdn.microsoft.com/en-us/windows/hardware/gg463343 +.Re +.Rs +.%A Venkatesh Pallipadi +.%A Alexey Starikovskiy +.%T The Ondemand Governor. Past, Present, and Future +.%I Intel Open Source Technology Center +.%O Proceedings of the Linux Symposium +.%D July, 2006 +.%U https://www.kernel.org/doc/ols/2006/ols2006v2-pages-223-238.pdf +.Re +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 6.0 . +.Sh AUTHORS +.An Jukka Ruohonen +.Aq jruohonen@iki.fi +.Sh CAVEATS +At least the following caveats can be mentioned. +.Bl -bullet +.It +It is currently only safe to use +.Dv C1 +on +.Nx . +All other C-states are disabled by default. +.It +Processor thermal control (see +.Xr acpitz 4 ) +is not yet supported. +.It +Depending on the processor, changes in C-, P-, +and T-states may all skew timers and counters such as +.Xr x86/tsc 9 . +This is neither handled by +.Nm +nor by +.Xr est 4 +or +.Xr powernow 4 . +.It +There is currently neither a well-defined, machine-independent +.Tn API +for processor performance management nor a +.Dq governor +for different policies. +It is only possible to control the +.Tn CPU +frequencies from userland. +.El diff --git a/static/netbsd/man4/acpidalb.4 b/static/netbsd/man4/acpidalb.4 new file mode 100644 index 00000000..9e613409 --- /dev/null +++ b/static/netbsd/man4/acpidalb.4 @@ -0,0 +1,73 @@ +.\" $NetBSD: acpidalb.4,v 1.6 2010/04/08 08:42:40 jruoho Exp $ +.\" +.\" Copyright (c) 2008 Christoph Egger +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd May 18, 2008 +.Dt ACPIDALB 4 +.Os +.Sh NAME +.Nm acpidalb +.Nd Direct Application Launch Buttons +.Sh SYNOPSIS +.Cd "acpidalb* at acpi?" +.Sh DESCRIPTION +This driver provides support for +.Tn PNP0C32 +.Tn ACPI +hotkeys a.k.a. +.Dq The Direct Application Launch Buttons . +.Pp +These are recognized on startup from system-wake or at runtime. +Behaviour may differ from the standard specification in relation +to the +.Tn ACPI +implementation. +.Pp +The hotkeys are reported to the power management daemon as +.Em hotkey_button . +.Sh SEE ALSO +.Xr acpi 4 , +.Xr powerd 8 +.Pp +The +.Tn PNP0C32 +specification is described in: +.Rs +.%A Microsoft Corporation +.%D October 26, 2006 +.%T Direct Application Launch from System Startup on Windows Vista +.%U http://www.microsoft.com/whdc/system/vista/DirAppLaunch.mspx +.Re +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 5.0 . +.Sh AUTHORS +This driver was written for +.Nx +by +.An Christoph Egger . diff --git a/static/netbsd/man4/acpiec.4 b/static/netbsd/man4/acpiec.4 new file mode 100644 index 00000000..96b4aa06 --- /dev/null +++ b/static/netbsd/man4/acpiec.4 @@ -0,0 +1,123 @@ +.\" $NetBSD: acpiec.4,v 1.6 2010/02/27 20:39:42 snj Exp $ +.\" +.\" Copyright (c) 2002, 2004, 2010 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd February 27, 2010 +.Dt ACPIEC 4 +.Os +.Sh NAME +.Nm acpiec +.Nd ACPI Embedded Controller +.Sh SYNOPSIS +.Cd "acpiec* at acpi?" +.Cd "acpiecdt* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver supports ACPI Embedded Controllers. +.Pp +An ACPI Embedded Controller +.Pq Tn EC +is typically a small microprocessor that is responsible for various tasks +related to +.Tn ACPI . +The primary task is to handle +.Tn ACPI +specific interrupts, which are mapped to so-called +.Tn ACPI +General Purpose Events +.Pq Tn GPEs . +Other possible functions include embedded access to other buses such as the +.Xr iic 4 . +.Pp +The +.Tn ACPI +specific events range from user initiated events to events triggered by +the hardware. +When such an event occurs, typically either a System Management Interrupt +.Pq Tn SMI +or a System Control Interrupt +.Pq Tn SCI +is raised. +The latter is an active, visible, shareable, level interrupt. +On most Intel chipsets +.Tn SCI +is hardwired to the interrupt number 9. +The main task of an +.Tn EC +is to raise a system control interrupt. +.Pp +All GPEs generate SCIs. +A typical example of the internal wiring of +.Tn GPEs +could involve +.Xr gpio 4 : +when, e.g., the +.Tn AC +adapter is connected, a certain +.Tn GPIO +line becomes active, a given +.Tn GPE +is flagged, and a +.Tn SCI +interrupt is raised by the +.Tn EC , +leading to execution of +.Tn ACPI +machine code in order to locate the handler associated with the event. +A corresponding driver, +.Xr acpiacad 4 +in this case, will finally finish the processing of the event. +.Pp +Due to the reasons described above, majority of +.Tn ACPI +specific drivers are dysfunctional without +.Nm . +It is therefore recommended that +.Nm +is always enabled, +even though it may not be required on some older systems. +.Sh SEE ALSO +.Xr acpi 4 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.6 . +.Sh CAVEATS +Many machines depend on early attachment of +.Nm . +In such cases the information required by +.Nm +should be available as a separate and optional +Embedded Controller Descriptor Table +.Pq Tn ECDT . +If an +.Tn ECDT +is not available or early attachment can not be carried out due other reasons, +the initialization of the whole +.Xr acpi 4 +subsystem may be problematic. diff --git a/static/netbsd/man4/acpifan.4 b/static/netbsd/man4/acpifan.4 new file mode 100644 index 00000000..39326a5c --- /dev/null +++ b/static/netbsd/man4/acpifan.4 @@ -0,0 +1,75 @@ +.\" $NetBSD: acpifan.4,v 1.4 2019/04/11 17:46:32 kamil Exp $ +.\" +.\" Copyright (c) 2011 Jukka Ruohonen +.\" 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. Neither the name of the author nor the names of any +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 FOUNDATION 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. +.\" +.Dd January 9, 2011 +.Dt ACPIFAN 4 +.Os +.Sh NAME +.Nm acpifan +.Nd ACPI Fan +.Sh SYNOPSIS +.Cd "acpifan* at acpi?" +.Sh DESCRIPTION +The +.Nm +device driver supports fans possibly exposed by the +.Tn BIOS . +Even if a system contains only one physical fan, multiple +.Nm +instances may be present. +In such cases each +.Nm +typically represents an +.Xr acpitz 4 +thermal zone, and the combined state of all +instances reveals the speed of the fan. +.Pp +The +.Nm +driver does not support controlling the fan. +The current state (on or off) is made available through the +.Xr envsys 4 +.Tn API +and the +.Xr envstat 8 +command. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr acpitz 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 6.0 . +.Sh AUTHORS +.An Jukka Ruohonen +.Aq jruohonen@iki.fi +.Sh BUGS +The +.Nm +driver does not yet support additional functionality introduced in the +.Tn ACPI +4.0 specification. diff --git a/static/netbsd/man4/acpihed.4 b/static/netbsd/man4/acpihed.4 new file mode 100644 index 00000000..7f6e677b --- /dev/null +++ b/static/netbsd/man4/acpihed.4 @@ -0,0 +1,72 @@ +.\" $NetBSD: acpihed.4,v 1.3 2024/10/10 09:05:45 rin Exp $ +.\" +.\" Copyright (c) 2024 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd March 18, 2024 +.Dt ACPIHED 4 +.Os +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh NAME +.Nm acpihed +.Nd ACPI Hardware Error Device +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh SYNOPSIS +.Cd "acpihed* at acpi?" +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh DESCRIPTION +Certain hardware error sources that can be queried by +.Xr apei 4 +notify an +.Tn ACPI +node with +.Tn PNP ID +.Ql PNP0C33 +when an error occurs. +The +.Nm +driver listens for these notifications and passes them on to +.Xr apei 4 +so it can report the error. +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh SEE ALSO +.Xr acpi 4 , +.Xr apei 4 +.Rs +.%B ACPI Specification 6.5 +.%O Chapter 18: ACPI Platform Error Interfaces (APEI) +.%U https://uefi.org/specs/ACPI/6.5/18_Platform_Error_Interfaces.html +.Re +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 10.1 . +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh AUTHORS +The +.Nm +driver was written by +.An Taylor R Campbell Aq Mt riastradh@NetBSD.org . diff --git a/static/netbsd/man4/acpilid.4 b/static/netbsd/man4/acpilid.4 new file mode 100644 index 00000000..86d0e1d9 --- /dev/null +++ b/static/netbsd/man4/acpilid.4 @@ -0,0 +1,94 @@ +.\" $NetBSD: acpilid.4,v 1.8 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd January 9, 2011 +.Dt ACPILID 4 +.Os +.Sh NAME +.Nm acpilid +.Nd ACPI Lid Switch +.Sh SYNOPSIS +.Cd "acpilid* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver supports +.Tn ACPI +.Dq lid switches . +The +.Xr powerd 8 +daemon can be used to control actions against +the events of opening or closing the lid. +The script used is +.Pa /etc/powerd/scripts/lid_switch , +and the events are either +.Em pressed +(the lid was closed) +or +.Em released +(the lid was opened). +.Sh EXAMPLES +The following example modifies the mentioned script in order to put the +system into +.Pq Tn S3 +sleep when the lid is closed: +.Bd -literal -offset indent +\&... + +case "${2}" in +pressed) + logger -p info "${0}: suspending..." + + # As in sleep_button, kill some daemons. + # + /etc/rc.d/dhcpcd stop + /etc/rc.d/network stop + /etc/rc.d/wpa_supplicant stop + + # Suspend. + # + if /sbin/sysctl hw.acpi.sleep.state >/dev/null 2>&1; then + /sbin/sysctl -w hw.acpi.sleep.state=3 + fi + + # Waking up. + # + /etc/rc.d/wpa_supplicant start + /etc/rc.d/network start + /etc/rc.d/dhcpcd start + +\&... +.Ed +.Sh SEE ALSO +.Xr acpi 4 , +.Xr powerd 8 , +.Xr sysmon_pswitch 9 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.6 . diff --git a/static/netbsd/man4/acpipmtr.4 b/static/netbsd/man4/acpipmtr.4 new file mode 100644 index 00000000..e4ece4cb --- /dev/null +++ b/static/netbsd/man4/acpipmtr.4 @@ -0,0 +1,66 @@ +.\" $NetBSD: acpipmtr.4,v 1.2 2019/05/24 16:02:08 ryoon Exp $ +.\" +.\" Copyright (c) 2010 Jukka Ruohonen +.\" 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. Neither the name of the author nor the names of any +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 FOUNDATION 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. +.\" +.Dd May 25, 2019 +.Dt ACPIPMTR 4 +.Os +.Sh NAME +.Nm acpipmtr +.Nd ACPI Power Meter +.Sh SYNOPSIS +.Cd "acpipmtr* at acpi?" +.Sh DESCRIPTION +The +.Nm +device driver provides support for +.Dq power meters . +These are sensors that approximate the current +power consumption of the system. +Alternatively, a power meter may measure also the power gain +when the system is connected to an external power supply. +.Pp +The available information (namely, the power consumption) +is made available through the +.Xr envsys 4 +.Tn API +and the +.Xr envstat 8 +command. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr acpibat 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 6.0 . +.Sh AUTHORS +.An Jukka Ruohonen +.Aq Mt jruohonen@iki.fi +.Sh CAVEATS +The +.Nm +driver is experimental. diff --git a/static/netbsd/man4/acpismbus.4 b/static/netbsd/man4/acpismbus.4 new file mode 100644 index 00000000..9bc3363e --- /dev/null +++ b/static/netbsd/man4/acpismbus.4 @@ -0,0 +1,82 @@ +.\" $NetBSD: acpismbus.4,v 1.2 2010/02/06 21:57:08 wiz Exp $ +.\" +.\" Copyright (c) 2009 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Paul Goyette +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd February 6, 2010 +.Dt ACPISMBUS 4 +.Os +.Sh NAME +.Nm acpismbus +.Nd ACPI SMBus Control Method Interface +.Sh SYNOPSIS +.Cd "acpismbus* at acpi?" +.Cd "iic* at acpismbus?" +.Sh DESCRIPTION +The +.Nm +driver supports instances of the ACPI SMBus Control Method Interface. +This enables i2c access to bus segments which might not otherwise be +accessible due to missing "native" driver support. +The SMBus Process Call protocol is not supported. +All other SMBus protocols are supported to the extent that the underlying +controller supports them. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr iic 4 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 6.0 . +.Sh BUGS +Although +.Nm +SMBus Alerts can be associated with individual devices, this +capability is ignored. +When an +.Nm +SMBus Alert is generated, all devices on the i2c bus segment which have +registered an interrupt routine are notified. +.Pp +The SMBus CMI protocol defines a method to provide a list of devices on an +i2c bus segment and their addresses. +The +.Nm +driver makes no attempt to retrieve or process this device list. +.Pp +There is currently no way to determine if the i2c controller managed by +an instance of the ACPI SMBus CMI can also be accessed using a native +device driver. +Therefore, the +.Nm +driver should not be enabled by default. +If both a native driver and the +.Nm +driver attempt to access the same i2c bus segment, the results are +undefined. diff --git a/static/netbsd/man4/acpitz.4 b/static/netbsd/man4/acpitz.4 new file mode 100644 index 00000000..249a6152 --- /dev/null +++ b/static/netbsd/man4/acpitz.4 @@ -0,0 +1,128 @@ +.\" $NetBSD: acpitz.4,v 1.14 2014/03/18 18:20:39 riastradh Exp $ +.\" +.\" Copyright (c) 2003, 2004, 2011 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd January 9, 2011 +.Dt ACPITZ 4 +.Os +.Sh NAME +.Nm acpitz +.Nd ACPI Thermal Zone +.Sh SYNOPSIS +.Cd "acpitz* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver supports so-called +.Tn ACPI +.Dq Thermal Zones . +The temperature can be monitored by the +.Xr envsys 4 +API or the +.Xr envstat 8 +command. +.Pp +The distinction between +.Dq active +and +.Dq passive +cooling is central to the abstractions behind +.Nm . +These are inversely related to each other: +.Bl -enum -offset 2n +.It +Active cooling means that the system increases the power consumption of the +machine by performing active thermal management (for example, by turning on +a fan) in order to reduce the temperatures. +.It +Passive cooling means that the system reduces the power consumption of +devices at the cost of system performance (for example, by lowering the +.Tn CPU +frequencies) in order to reduce the temperatures. +.El +.Pp +Only active cooling is currently supported on +.Nx . +.Pp +It should be also noted that the internal +functioning of these cooling policies vary across machines. +On some machines the operating system may have little control over +the thermal zones as the firmware manages the thermal control internally, +whereas on other machines the policies may be exposed to the implementation +at their full extent. +.Sh EVENTS +The +.Nm +driver knows about the active cooling levels, the current +temperatures, and critical, hot, and passive temperature thresholds +(as supported by the hardware). +The driver is able to send events to +.Xr powerd 8 +when the sensor's state has changed. +When a Thermal Zone is either critical or +.Dq hot , +the +.Pa /etc/powerd/scripts/sensor_temperature +script will be invoked with a +.Em critical-over +event. +.Pp +The critical temperature is the threshold for system shutdown. +Depending on the hardware, the mainboard will take down the system +instantly and no event will have a chance to be sent. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr acpifan 4 , +.Xr envsys 4 , +.Xr envstat 8 , +.Xr powerd 8 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 2.0 . +.Sh AUTHORS +.An Jared D. McNeill Aq Mt jmcneill@invisible.ca +.Sh CAVEATS +While no pronounced bugs are known to exist, +several caveats can be mentioned: +.Bl -bullet +.It +Passive cooling is not implemented. +.It +There is no user-controllable way to switch between active and passive +cooling, although the specifications support such transforms on some machines. +.It +The +.Dq hot +temperature is a threshold in which the system ought to be put into +.Tn S4 +sleep. +This sleep state +.Pq Dq suspend to disk +is not supported on +.Nx . +.El diff --git a/static/netbsd/man4/acpivga.4 b/static/netbsd/man4/acpivga.4 new file mode 100644 index 00000000..805773d8 --- /dev/null +++ b/static/netbsd/man4/acpivga.4 @@ -0,0 +1,124 @@ +.\" $NetBSD: acpivga.4,v 1.3 2010/10/28 21:45:02 gsutre Exp $ +.\" +.\" Copyright (c) 2010 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd October 28, 2010 +.Dt ACPIVGA 4 +.Os +.Sh NAME +.Nm acpivga +.Nd ACPI Display Adapter and Output Devices +.Sh SYNOPSIS +.Cd "acpivga* at acpi?" +.Cd "acpiout* at acpivga?" +.Sh DESCRIPTION +The +.Nm +driver provides generic support for brightness control and output switching, +through +.Tn ACPI +video extensions. +The +.Tn ACPI +specification requires that systems containing a built-in display adapter +implement these extensions in their +.Tn ACPI +BIOS. +.Pp +The driver handles brightness hotkeys and display switch hotkeys. +In addition, the following +.Xr sysctl 8 +read/write variables are provided (when hardware support is available): +.Bl -tag -width Ds +.It Va hw.acpi.acpivga0.bios_switch +BIOS output switching policy. +This boolean variable controls the behavior of the BIOS when a display +switch hotkey is pressed. +.Bl -tag -width xxx -compact +.It Sy 1 +the BIOS should automatically switch outputs, with no interaction from +.Nm . +.It Sy 0 +the BIOS should only notify +.Nm +of the desired output state changes. +.El +.It Va hw.acpi.acpiout0.brightness +Brightness level. +This integer variable typically ranges from 0 to 100, but any integer value +is accepted (the driver uses the closest brightness level supported by the +device). +.El +.Pp +Please note, however, that future versions of +.Nm +may remove these +.Xr sysctl 8 +variables without prior notice. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr vga 4 , +.Xr sysctl 8 +.Rs +.%A Microsoft Corporation +.%D December 4, 2001 +.%T Mobile System Displays and Windows +.%N Version 1.2c +.%U http://www.microsoft.com/whdc/archive/mobiledisplay.mspx +.Re +.Sh HISTORY +The +.Nm +driver appeared in +.Nx 6.0 . +.Sh AUTHORS +.An Gr\('egoire Sutre +.Aq gsutre@NetBSD.org +.Sh CAVEATS +The +.Nm +driver only supports PCI/PCI-X/PCI-E display adapters. +.Pp +Many +.Tn ACPI +BIOSes implement only part of the +.Tn ACPI +video extensions. +In particular, display output switching via these extensions often does not +work. +For this reason, +.Nm +enables +.Va hw.acpi.acpivga0.bios_switch +by default. +If the display switch hotkey does not work with this default setting, try +setting +.Va hw.acpi.acpivga0.bios_switch +to 0. +.Pp +Brightness level should be controlled via +.Xr wsconsctl 8 +instead of +.Xr sysctl 8 . diff --git a/static/netbsd/man4/acpivmgenid.4 b/static/netbsd/man4/acpivmgenid.4 new file mode 100644 index 00000000..db903550 --- /dev/null +++ b/static/netbsd/man4/acpivmgenid.4 @@ -0,0 +1,108 @@ +.\" $NetBSD: acpivmgenid.4,v 1.4 2024/10/10 09:05:45 rin Exp $ +.\" +.\" Copyright (c) 2024 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd August 26, 2024 +.Dt ACPIVMGENID 4 +.Os +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh NAME +.Nm acpivmgenid +.Nd ACPI Virtual Machine Generation ID +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh SYNOPSIS +.Cd "acpivmgenid* at acpi?" +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh DESCRIPTION +.Nm +provides a generation ID for virtual machines. +.Pp +When starting two otherwise identical virtual machines, whether from +the same clean image or by cloning snapshots or any other mechanism, +the VM host may choose a different generation ID. +Although this generation ID is not secret, it is incorporated into the +.Xr entropy 7 +pool (with a measure of zero entropy) so that the two virtual machines +will produce independent random output. +.Pp +If a live VM is cloned, the VM host may change the generation ID in one +or both of the clones and notify them through the +.Nm +device. +When this happens, +.Nx +will reseed system random number generators, so that output of +.Pa /dev/urandom +and +.Xr getentropy 3 +will be independent in the two clones, and the +.Xr sysctl 7 +variable +.Li kern.entropy.epoch +will advance to notify applications that they should reseed random +number generators from the system entropy pool. +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh SYSCTLS +The following +.Xr sysctl 7 +nodes are available: +.Bl -tag -width Li +.It Li "hw.acpivmgenid" Ns Va N Ns Li ".id" +The current 16-byte VM generation ID. +.It Li "hw.acpivmgenid" Ns Va N Ns Li ".paddr" +The physical address of the VM generation ID provided by the host. +.El +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh SEE ALSO +.Xr arc4random 3 , +.Xr getentropy 3 , +.Xr rnd 4 , +.Xr entropy 7 +.Rs +.%T Virtual Machine Generation ID +.%Q Microsoft +.%D 2018-08-01 +.%U http://go.microsoft.com/fwlink/?LinkId=260709 +.Re +.Rs +.%T Virtual Machine Generation ID Device +.%Q The QEMU Project Developers +.%U https://www.qemu.org/docs/master/specs/vmgenid.html +.Re +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 10.1 . +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh BUGS +Currently there is no cheaper way to detect VM generation ID changes +than to query sysctl. +(Applications deciding whether to reseed random number generators +should generally query +.Li kern.entropy.epoch , +not +.Li "hw.acpivmgenid" Ns Va N Ns Li ".id" . ) diff --git a/static/netbsd/man4/acpiwdrt.4 b/static/netbsd/man4/acpiwdrt.4 new file mode 100644 index 00000000..842b9d95 --- /dev/null +++ b/static/netbsd/man4/acpiwdrt.4 @@ -0,0 +1,62 @@ +.\" $NetBSD: acpiwdrt.4,v 1.4 2011/01/17 22:53:29 jruoho Exp $ +.\" +.\" Copyright (c) 2011 Jared D. McNeill +.\" 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. Neither the name of the author nor the names of any +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 FOUNDATION 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. +.\" +.Dd January 17, 2011 +.Dt ACPIWDRT 4 +.Os +.Sh NAME +.Nm acpiwdrt +.Nd ACPI Watchdog Timer +.Pq Tn WDRT +.Sh SYNOPSIS +.Cd "acpiwdrt* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver provides support for watchdog timers specified in a so-called +.Tn ACPI +watchdog resource table +.Pq Tn WDRT . +The +.Nm +watchdog timer is configurable via the +.Xr wdogctl 8 +utility. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr wdogctl 8 +.Rs +.%A Microsoft Corporation +.%N Version 1.01 +.%D August 28, 2006 +.%T Watchdog Timer Hardware Requirements for Windows Server 2003 +.%U http://www.microsoft.com/whdc/system/sysinternals/watchdog.mspx +.Re +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 6.0 . diff --git a/static/netbsd/man4/acpiwmi.4 b/static/netbsd/man4/acpiwmi.4 new file mode 100644 index 00000000..858bce75 --- /dev/null +++ b/static/netbsd/man4/acpiwmi.4 @@ -0,0 +1,100 @@ +.\" $NetBSD: acpiwmi.4,v 1.9 2019/05/26 19:34:57 ryoon Exp $ +.\" +.\" Copyright (c) 2010 Jukka Ruohonen +.\" 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. Neither the name of the author nor the names of any +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 FOUNDATION 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. +.\" +.Dd May 27, 2019 +.Dt ACPIWMI 4 +.Os +.Sh NAME +.Nm acpiwmi +.Nd Windows Management Instrumentation support for +.Tn ACPI +.Sh SYNOPSIS +.Cd "acpiwmi* at acpi?" +.Cd "wmidell* at acpiwmibus?" +.Cd "wmieeepc* at acpiwmibus?" +.Cd "wmihp* at acpiwmibus?" +.Cd "wmimsi* at acpiwmibus?" +.Sh DESCRIPTION +The +.Nm +device driver provides an +.Tn ACPI +interface for Windows Management Instrumentation +.Pq Tn WMI . +The +.Tn ACPI +.Tn WMI +interface is typically used to support vendor +specific features found in various laptops. +.Pp +The following +.Tn WMI +mappings are supported: +.Bl -tag -width "wmidell " -offset indent +.It Sy wmidell +Dell laptops +.It Sy wmieeepc +Some models of Asus Eee PC +.It Sy wmihp +Hewlett-Packard laptops +.It Sy wmimsi +MSI laptops +.El +.Pp +The functionality varies from vendor to vendor. +Typically the interface is used for function and hotkey handling, +but additional features may be present. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr acpidalb 4 +.Rs +.%A Microsoft Corporation +.%D December 4, 2001 +.%T Windows Instrumentation: WMI and ACPI +.%U http://www.microsoft.com/whdc/system/pnppwr/wmi/wmi-acpi.mspx +.Re +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 6.0 . +.Sh AUTHORS +.An Jukka Ruohonen +.Aq Mt jruohonen@iki.fi +wrote +.Nm +and most of the mappings. +.Sh CAVEATS +While +.Tn WMI +should provide a certain degree of portability across laptop +models from a particular vendor, there is no guarantee that the mappings +are functional in all models. +.Pp +The +.Sy wmihp +driver may conflict with +.Xr hpqlb 4 . diff --git a/static/netbsd/man4/adb.4 b/static/netbsd/man4/adb.4 new file mode 100644 index 00000000..1a5ca75b --- /dev/null +++ b/static/netbsd/man4/adb.4 @@ -0,0 +1,265 @@ +.\" $NetBSD: adb.4,v 1.5 2020/05/15 09:21:59 kamil Exp $ +.\" +.\" Copyright (c) 2003 Alex Zepeda +.\" 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 Alex Zepeda, and +.\" Colin Wood for the NetBSD Project. +.\" 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. +.\" +.Dd August 31, 2018 +.Dt ADB 4 +.Os +.Sh NAME +.Nm adb +.Nd Apple Desktop Bus driver +.Sh SYNOPSIS +.Cd "adb* at obio?" +.Pp +.Cd "options MRG_ADB" +.Pp +.In machine/adbsys.h +.Sh DESCRIPTION +The Apple Desktop Bus +.Pq Tn ADB +is the single-master, multiple-slave, low-speed serial bus +interface used by Macintosh computers to connect input devices +such as keyboards, mice, trackpads, trackballs, and graphics tablets +to the machine. +.Nx +provides support for the Apple Desktop Bus as found on all supported +mac68k models, as well as macppc models with on-board +.Tn ADB +(PowerBooks and +.Dq Old World +models). +.Pp +The +.Nm +driver accesses the +.Tn ADB +controller using the so-called +.Dq HWDIRECT +method. +This method of access bypasses the Macintosh ROM and uses only +.Nx +routines for ADB access. +This is the only method supported on macppc and is the default for +mac68k systems. +.Pp +On mac68k systems there is an alternate method of accessing the +.Tn ADB +controller. +With the Macintosh ROM Glue +.Pq Tn MRG +method, the routines written for MacOS are used. +To enable this method of +.Tn ADB +access, uncomment the line: +.Pp +.Cd options MRG_ADB +.Pp +in your kernel configuration file. +.Pp +The +.Xr ioctl 2 +call is used to control the +.Tn ADB +event device. +The following is a list of available +.Xr ioctl 2 +commands: +.Bl -tag -width ADBIOC_GETREPEAT +.It Dv ADBIOC_DEVSINFO +Get +.Tn ADB +Device Info +.Pp +The +.Nm +event device will return an array of information containing an entry +for each device connected to the bus. +Each entry contains the current address, default address, and +handler ID for the corresponding +.Tn ADB +device. +.It Dv ADBIOC_GETREPEAT +Get Keyboard Repeat Info +.Pp +Returns a structure containing the current keyboard repeat delay +and keyboard repeat interval. +.It Dv ADBIOC_SETREPEAT +Set Keyboard Repeat Rate +.Pp +Sets the keyboard repeat delay and interval to the values specified +by +.Ar argp . +.It Dv ADBIOC_RESET +.Tn ADB +Reset +.Pp +Perform a reset of the +.Tn ADB +which will reinitialize all of the devices attached to the bus. +.It Dv ADBIOC_LISTENCMD +ADB Listen Command +.Pp +Send data to the register of the +.Tn ADB +device specified by +.Ar argp . +This command is not fully implemented at this time. +.El +.Sh SUPPORTED DEVICES +.Nx +includes support for the following +.Tn ADB +devices, sorted by driver name: +.Bl -tag -width akbd -offset indent +.It abtn +ADB mouse button? +.It aed +ADB event device +.It akbd +ADB keyboard +.It ams +ADB mouse +.It apm +APM emulation +.El +.Sh FILES +.Bl -tag -width /dev/adb -compact +.It Pa /dev/adb +The +.Tn ADB +event device. +.El +.Sh DIAGNOSTICS +.Bl -diag +.It aed0 at adb0 addr 0: ADB Event device +This is a normal autoconfiguration message noting the presence of the +.Nm +event device. +.It adb0 at obio0 offset 0x16000 irq 18: 2 targets +A standard autoconfiguration message indicating the initialization +of the +.Tn ADB +subsystem. +.It "adb: no devices found." +No +.Tn ADB +devices were found to be connected to the bus during autoconfiguration. +.It "adb: using %s series hardware support." +Indicates the class of +.Tn ADB +hardware support the machine uses. +.It "adb: hardware type unknown for this machine." +The +.Tn ADB +hardware in this machine is currently unsupported. +.It "adb: no ROM ADB driver in this kernel for this machine." +The kernel lacks the necessary Macintosh ROM Glue +.Pq Tn MRG +support for accessing the +.Tn ADB +hardware on this machine. +.It "adb: using serial console." +A serial console will be used for user input rather than the +.Tn ADB +event device. +.It "adb: %s at %d." +An +.Tn ADB +device of the type specified by +.Em %s +has been found at location +.Em %d . +.El +.Sh SEE ALSO +.Xr aed 4 , +.Xr akbd 4 , +.Xr ams 4 , +.Xr apm 4 +.Sh HISTORY +The +.Nm +interface first appeared in +.Nx 0.9 . +It has been under development ever since. +.Sh AUTHORS +.An -nosplit +.An "Bradley A. Grantham" +wrote the original +.Nm +driver, including the +.Tn MRG +support. +The hardware direct interface was written by +.An "John P. Wittkowski" . +The PowerManager interface was written by +.An "Takashi Hamada" . +.Sh BUGS +.Bl -bullet +.It +Not every class of +.Tn ADB +hardware is supported yet. +.It +The talk command is currently unimplemented. +.It +The listen command is not implemented yet. +.It +Not all multi-button mice are currently supported. +.It +Only mapped and relative-position +.Tn ADB +devices +.Pq i.e. keyboards and mice +are supported. +Thus absolute-position and other exotic devices will not work. +.It +Some of the diagnostic messages in this man page need to be updated. +.El +.Pp +Some mac68k machines contain so-called dirty ROM. +These machines are the: Mac SE/30, Mac II, Mac IIx, and Mac IIcx. +Machines with dirty ROM may experience trouble booting if the MRG code +is used, especially under the following conditions: +.Bl -bullet -compact -offset indent +.It +Both a keyboard and a mouse are not attached to the computer. +.It +An extended keyboard is attached to the computer. +.El +.Pp +On (some) machines with dirty ROM, the ROM indicates the presence of a +.Dq ghost +keyboard or mouse. +When this nonexistent device is probed for, the result is an infinite +loop. +This is believed to be triggered by the +.Nm +driver probing for extended mice, and non-EMP Logitech mice. diff --git a/static/netbsd/man4/adbbt.4 b/static/netbsd/man4/adbbt.4 new file mode 100644 index 00000000..e3154c08 --- /dev/null +++ b/static/netbsd/man4/adbbt.4 @@ -0,0 +1,50 @@ +.\" $NetBSD: adbbt.4,v 1.5 2009/03/09 19:24:28 joerg Exp $ +.\" +.\" Copyright (c) 2007 +.\" Michael Lorenz. 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.Dd May 14, 2007 +.Dt ADBBT 4 +.Os +.Sh NAME +.Nm adbbt +.Nd support for ADB hotkey devices found in some Apple laptops +.Sh SYNOPSIS +.Cd "adbbt* at nadb?" +.Cd "wskbd* at adbbt?" +.Sh DESCRIPTION +The +.Nm +driver handles all ADB hotkey devices within the +.Xr wscons 4 +framework. +So far it only translates button events back to their corresponding +function key codes. +.Sh SEE ALSO +.Xr nadb 4 , +.Xr wskbd 4 , +.Xr wsconsctl 8 +.Sh BUGS +Actually send hotkey events at least for the classes we can handle +like display brightness. diff --git a/static/netbsd/man4/adbkbd.4 b/static/netbsd/man4/adbkbd.4 new file mode 100644 index 00000000..28a2ef72 --- /dev/null +++ b/static/netbsd/man4/adbkbd.4 @@ -0,0 +1,62 @@ +.\" $NetBSD: adbkbd.4,v 1.4 2009/03/09 19:24:28 joerg Exp $ +.\" +.\" Copyright (c) 2007 +.\" Michael Lorenz. 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.Dd May 14, 2007 +.Dt ADBKBD 4 +.Os +.Sh NAME +.Nm adbkbd +.Nd support for ADB keyboards +.Sh SYNOPSIS +.Cd "adbkbd* at nadb?" +.Cd "wskbd* at adbkbd? console ? mux 1" +.Cd "wsmouse* at adbkbd?" +.Sh DESCRIPTION +The +.Nm +driver handles most ADB keyboards within the +.Xr wscons 4 +framework. +It also provides an interface to translate key strokes to mouse +button events. +.Pp +Which keys are translated to mouse button events can be configured +for each individual keyboard via +.Xr sysctl 8 : +.Bl -tag +.It Dv machdep.adbkbd0.middle +Controls which scan code is used for middle mouse button events. +Default is 103, which corresponds to F11. +.It Dv machdep.adbkbd0.right +Controls which scan code is used for right mouse button events. +Default is 111, which corresponds to F12. +.El +.Sh SEE ALSO +.Xr nadb 4 , +.Xr wskbd 4 , +.Xr wsmouse 4 , +.Xr wsconsctl 8 , +.Xr wskbd 9 diff --git a/static/netbsd/man4/adbms.4 b/static/netbsd/man4/adbms.4 new file mode 100644 index 00000000..9a51fcec --- /dev/null +++ b/static/netbsd/man4/adbms.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: adbms.4,v 1.5 2009/03/09 19:24:28 joerg Exp $ +.\" +.\" Copyright (c) 2007 +.\" Michael Lorenz. 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.Dd May 14, 2007 +.Dt ADBMS 4 +.Os +.Sh NAME +.Nm adbms +.Nd support for ADB mice, trackballs, and touchpads +.Sh SYNOPSIS +.Cd "adbms* at nadb?" +.Cd "wsmouse* at adbms?" +.Sh DESCRIPTION +The +.Nm +driver handles most relative ADB pointing devices within the +.Xr wscons 4 +framework. +For touchpads it also provides support for translating tapping the +pad to mouse button events. +.Pp +Tapping support can be turned on or off on a per-device basis using +.Xr sysctl 8 : +.Bl -tag +.It Dv machdep.adbms0.tapping +0 disables tapping, 1 enables it. +.El +.Sh SEE ALSO +.Xr nadb 4 , +.Xr wsmouse 4 , +.Xr wsconsctl 8 diff --git a/static/netbsd/man4/adc.4 b/static/netbsd/man4/adc.4 new file mode 100644 index 00000000..2dbec6a1 --- /dev/null +++ b/static/netbsd/man4/adc.4 @@ -0,0 +1,50 @@ +.\" $NetBSD: adc.4,v 1.1 2003/10/21 01:38:27 uwe Exp $ +.\" +.\" Copyright (c) 2003 Valeriy E. Ushakov +.\" 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. 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. +.\" +.Dd October 21, 2003 +.Dt ADC 4 +.Os +.Sh NAME +.Nm adc +.Nd SuperH on-chip analog/digital converter +.Sh SYNOPSIS +.Cd "adc* at shb?" +.Sh DESCRIPTION +The +.Nm +driver provides support for a 10-bit successive-approximation A/D +converter with a selection of up to eight analog input channels. +ADC is an on-chip module found in some SuperH microprocessors (SH7709 +and others). +.Sh SEE ALSO +.Xr shb 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 2.0 . diff --git a/static/netbsd/man4/adm1026hm.4 b/static/netbsd/man4/adm1026hm.4 new file mode 100644 index 00000000..aebdd6d9 --- /dev/null +++ b/static/netbsd/man4/adm1026hm.4 @@ -0,0 +1,101 @@ +.\" $NetBSD: adm1026hm.4,v 1.4 2026/02/16 19:14:42 uwe Exp $ +.\" +.\" Copyright (c) 2015 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Julian Coleman. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd February 16, 2026 +.Dt ADM1026HM 4 +.Os +.Sh NAME +.Nm adm1026hm +.Nd Analog Devices ADM1026 complete thermal system management controller +.Sh SYNOPSIS +.Cd "adm1026hm* at iic? addr?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Analog Devices ADM1026 hardware monitor. +The chip possesses 8 fan speed sensors, 3 temperature sensors, +and 17 voltage sensors. +The number of each sensor type configured by the driver depends on the +chip configuration. +.Pp +The values of the sensors are made available through the +.Xr envstat 8 +interface. +.Bl -column ".Li V3.3 standby" "mV DC" -offset indent +.It Sy Sensor Ta Sy Units Ta Sy Description +.It Li fan Ar N Ta RPM Ta Fan 0\^\(en7 +.It Li internal Ta C Ta Internal temperature +.It Li external Ar N Ta C Ta External temperature 1\(en2 +.It Li Vbatt Ta mV DC Ta Battery voltage +.It Li V3.3 standby Ta mV DC Ta 3.3V standby voltage +.It Li V3.3 main Ta mV DC Ta 3.3V main voltage +.It Li V5.0 Ta mV DC Ta 5.0V supply voltage +.It Li V+12 Ta mV DC Ta +12V supply voltage +.It Li V-12 Ta mV DC Ta \-12V supply voltage +.It Li V3.3 Ar N Ta mV DC Ta Analog in (3.3V reference) 0\^\(en5 +.It Li V2.5 Ar N Ta mV DC Ta Analog in (2.5V reference) 0\^\(en3 +.El +.Pp +Configurable limits for the sensors are also available via +.Xr envstat 8 . +Initial limit values are read from the chip. +Each temperature sensor has a high, therm and low limit, which are +mapped to +.Fa critmax , +.Fa warnmax +and +.Fa warnmin , +respectively. +Voltage sensors have high +.Pq Fa warnmax +and low +.Pq Fa warnmin +limits. +Fan sensors have a high limit mapped to +.Fa warnmin , +because the fan measurements are revolution intervals, so higher +numbers correlate to lower fan speeds. +.Sh SEE ALSO +.Xr iic 4 , +.Xr intro 4 , +.Xr envstat 8 +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Julian Coleman Aq Mt jcoleman@NetBSD.org . +.Sh BUGS +It's not possible to determine if either a sensor is not connected, +or the monitored device is producing no output. +Therefore, unconnected sensors will show outputs of 0. +.Pp +The +.Nm +driver does not support interrupt output nor the built-in EEPROM. diff --git a/static/netbsd/man4/admtemp.4 b/static/netbsd/man4/admtemp.4 new file mode 100644 index 00000000..f1eb105f --- /dev/null +++ b/static/netbsd/man4/admtemp.4 @@ -0,0 +1,86 @@ +.\" $NetBSD: admtemp.4,v 1.6 2016/01/03 21:58:17 jdc Exp $ +.\" +.\" $OpenBSD: admtemp.4,v 1.8 2007/05/31 19:19:48 jmc Exp $ +.\" +.\" Copyright (c) 2005 Theo de Raadt +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd December 31, 2015 +.Dt ADMTEMP 4 +.Os +.Sh NAME +.Nm admtemp +.Nd Analog Devices ADM1021 temperature sensor +.Sh SYNOPSIS +.Cd "admtemp* at iic? addr 0x18" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Analog Devices ADM1021, +Analog Devices ADM1023, Analog Devices ADM1032, Genesys Logic GL523SM, +Global Mixed-mode Technology G781, Texas Instruments LM84, Maxim 1617, +Maxim 1617A, Philips Semiconductors NE1617A, and Xeon embedded temperature +sensors. +The device possesses internal and external temperature sensors, and +programmable low and high temperature limits, with a temperature range of +-65 to +127 degC and a resolution of 1 degC. +.Pp +On i386 machines, this driver also supports the Xeon embedded +I2C temperature probes. +In this case, however, only one temperature value is provided. +.Pp +Exceeding the temperature limits causes the device to assert an Alarm signal, +which can be used by other hardware to detect critical conditions. +.Pp +Some sensors differ from the ADM1021, MAX1617 and NE1617A: +.Bl -item -offset indent +.It +The ADM1021A, ADM1023, ADM1032, and G781 have a temperature range of 0 to ++127 degC and a resolution of 1 degC. +.It +The LM84 has no low temperature limits. +.It +The ADM1023, ADM1032, and G781 have extended precision remote temperature +sensors, with a range of 0 to +127.875 degC and a resolution of 0.125 degC. +.It +The ADM1032 and G781 have additional high temperature limits with a range of +0 to +127 degC and a resolution of 1 degC. +If these are exceeded, a separate Therm signal is asserted. +.El +.Pp +The sensor and limit values are made available through the +.Xr envstat 8 +interface. +For devices without additional high temperature limits, the limits that are +displayed and set are the critical limits. +For devices with additional high temperature limits, high and low temperature +warning limits and high temperature critical limits are displayed and can be +set. +.Sh SEE ALSO +.Xr iic 4 , +.Xr intro 4 , +.Xr envstat 8 +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Theo de Raadt Aq Mt deraadt@openbsd.org . +Extended precision temperatures, and limit display and setting were added by +.An Julian Coleman Aq Mt jdc@NetBSD.org . +.Sh BUGS +Limit sensors occasionally read as 0xff. +If this occurs, the +.Nm +driver will ignore that limit. diff --git a/static/netbsd/man4/adv.4 b/static/netbsd/man4/adv.4 new file mode 100644 index 00000000..f936773a --- /dev/null +++ b/static/netbsd/man4/adv.4 @@ -0,0 +1,157 @@ +.\" $NetBSD: adv.4,v 1.10 2012/10/13 15:28:34 njoly Exp $ +.\" +.\" Copyright (c) 1999 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 4, 1999 +.Dt ADV 4 +.Os +.Sh NAME +.Nm adv +.Nd ConnectCom Solutions AdvanSys SCSI adapter driver +.Sh SYNOPSIS +.Cd "adv* at pci? dev ? function ?" +.Cd "adv0 at isa? port ? irq ? drq ?" +.Cd "adv* at cardbus? function ?" +.Cd "scsibus* at adv?" +.Sh DESCRIPTION +The +.Nm +driver supports the following +.Tn AdvanSys +.Tn SCSI +host adapters +.\" .It Tn AdvanSys 1200[A,B] +.Ss PCI bus +Connectivity Products: +.Bl -tag -width "ABP510/5150" -offset indent -compact +.It ABP920 +Bus-Master PCI (16 CDB) +.It ABP930 +Bus-Master PCI (16 CDB) +(note 1) +.It ABP930U +Bus-Master PCI Ultra (16 CDB) +.It ABP930UA +Bus-Master PCI Ultra (16 CDB) +.It ABP960 +Bus-Master PCI MAC/PC (16 CDB) +(note 2) +.It ABP960U +Bus-Master PCI MAC/PC Ultra (16 CDB) +(note 2) +.El +.Pp +Notes: +.Bl -enum -compact +.It +This board has been sold by SIIG as the Fast SCSI Pro PCI. +.It +This board has been sold by Iomega as a Jaz Jet PCI adapter. +.El +.Pp +Single Channel Products: +.Bl -tag -width "ABP510/5150" -offset indent -compact +.It ABP940 +Bus-Master PCI (240 CDB) +.It ABP940U +Bus-Master PCI Ultra (240 CDB) +.It ABP970 +Bus-Master PCI MAC/PC (240 CDB) +.It ABP970U +Bus-Master PCI MAC/PC Ultra (240 CDB) +.It ABP940UW +Bus-Master PCI Ultra-Wide (240 CDB) +.El +.Pp +Multi Channel Products: +.Bl -tag -width "ABP510/5150" -offset indent -compact +.It ABP950 +Dual Channel Bus-Master PCI (240 CDB Per Channel) +.It ABP980 +Four Channel Bus-Master PCI (240 CDB Per Channel) +.It ABP980U +Four Channel Bus-Master PCI Ultra (240 CDB Per Channel) +.El +.Ss ISA bus +Connectivity Products: +.Bl -tag -width "ABP510/5150" -offset indent -compact +.It ABP510/5150 +Bus-Master ISA (240 CDB) (note 1) +.It ABP5140 +Bus-Master ISA (16 CDB) (note 1) (note 2) +.It ABP5142 +Bus-Master ISA with floppy (16 CDB) (note 3) +.El +.Pp +Notes: +.Bl -enum -compact +.It +This board has been shipped by +.Tn HP +with the 4020i +.Tn CD-R +drive. +The board has no +.Tn BIOS +so it cannot control a boot device, but +it can control any secondary +.Tn SCSI +device. +.It +This board has been sold by SIIG as the i540 SpeedMaster. +.It +This board has been sold by SIIG as the i542 SpeedMaster. +.El +.Pp +Single Channel Products: +.Bl -tag -width "ABP510/5150" -offset indent -compact +.It ABP542 +Bus-Master ISA with floppy (240 CDB) +.It ABP842 +Bus-Master VL (240 CDB) +.El +.Pp +Dual Channel Products: +.Bl -tag -width "ABP510/5150" -offset indent -compact +.It ABP852 +Dual Channel Bus-Master VL (240 CDB Per Channel) +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr pci 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.4 . +.Sh AUTHORS +.An Baldassare Dante Profeta +.Aq dante@mclink.it diff --git a/static/netbsd/man4/adw.4 b/static/netbsd/man4/adw.4 new file mode 100644 index 00000000..c25f8a11 --- /dev/null +++ b/static/netbsd/man4/adw.4 @@ -0,0 +1,100 @@ +.\" $NetBSD: adw.4,v 1.8 2003/02/14 15:20:18 grant Exp $ +.\" +.\" Copyright (c) 1998, 1999, 2000 Baldassare Dante Profeta +.\" 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. 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. +.\" +.\" +.Dd February 3, 2000 +.Dt ADW 4 +.Os +.Sh NAME +.Nm adw +.Nd ConnectCom Solutions AdvanSys PCI Ultra Wide SCSI host adapter driver +.Sh SYNOPSIS +.Cd "adw* at pci? dev ? function ?" +.Cd "scsibus* at adw?" +.Pp +.Cd "options FAILSAFE" +.Cd "options SCSI_ADW_WDTR_DISABLE=mask" +.Cd "options SCSI_ADW_SDTR_DISABLE=mask" +.Cd "options SCSI_ADW_TAGQ_DISABLE=mask" +.Sh DESCRIPTION +The +.Nm +driver provides support for the ADW (AdvanSys) ABP-940UW, ASB-3940UW, +ASB-3940U2W +.Tn SCSI +host adapters. +.Pp +The following kernel configuration options are available: +.Bl -ohang +.It Cd options FAILSAFE +Disables tagged command queuing, wide data transfers and synchronous +data transfers for all +.Tn SCSI +devices controlled by the +.Nm +driver. +By default, tagged command queuing, wide data transfers and +synchronous data transfers are used if the +.Tn SCSI +devices support them. +.Pp +The following options use a +.Em mask +to specify which SCSI peripherals the option applies to. +The +.Em mask +is a 16 bit bitfield value. Each bit corresponds to a peripheral ID. +The LSB (bit 0) corresponds to the peripheral with ID 0. +The MSB (bit 15) corresponds to the peripheral with ID 15. +The following features cannot be disabled for the host adapter, which by +default has ID 7. +.It Cd options SCSI_ADW_WDTR_DISABLE=mask +Disable +.Tn WIDE +data transfer for the peripherals specified by the mask value. +.It Cd options SCSI_ADW_SDTR_DISABLE=mask +Disable +.Tn SYNCHRONOUS +data transfer for the peripherals specified by the mask value. +.It Cd options SCSI_ADW_TAGQ_DISABLE=mask +Disable +.Tn TAGGED COMMAND QUEUING +for the peripherals specified by the mask value. +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 , +.Xr uk 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.4 . +.Sh AUTHORS +.An Baldassare Dante Profeta +.Aq dante@NetBSD.org . diff --git a/static/netbsd/man4/age.4 b/static/netbsd/man4/age.4 new file mode 100644 index 00000000..040c171e --- /dev/null +++ b/static/netbsd/man4/age.4 @@ -0,0 +1,91 @@ +.\" $NetBSD: age.4,v 1.4 2009/05/05 09:58:40 cegger Exp $ +.\" $OpenBSD: age.4,v 1.2 2009/01/16 06:03:44 jmc Exp $ +.\" +.\" Copyright (c) 2009 Kevin Lo +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd May 5, 2009 +.Dt AGE 4 +.Os +.Sh NAME +.Nm age +.Nd Attansic L1 10/100/Gigabit Ethernet device +.Sh SYNOPSIS +.Cd "age* at pci?" +.Cd "atphy* at mii?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Ethernet interfaces based on the +Attansic L1 Ethernet chipset. +.Pp +The +.Nm +driver supports IPv4 receive IP/TCP/UDP checksum offload and VLAN +tag insertion and stripping. +.Pp +The following +.Ar media +types are supported: +.Pp +.Bl -tag -width autoselect -compact +.It Cm autoselect +Enable autoselection of the media type and options. +.It Cm 10baseT +Set 10Mbps operation. +.It Cm 100baseTX +Set 100Mbps (Fast Ethernet) operation. +.It Cm 1000baseT +Set 1000Mbps (Gigabit Ethernet) operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +To view a list of media types and options supported by the card, try +.Ic ifconfig Ao Ic device Ac Ic media . +For example, +.Ic ifconfig age0 media . +.Sh SEE ALSO +.Xr arp 4 , +.Xr atphy 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 4.5 . +It was then ported to +.Nx 5.1 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Pyun YongHyeon +for +.Fx , +ported to +.Ox +by +.An Kevin Lo +.Aq kevlo@OpenBSD.org +then ported to +.Nx +by +.An Christoph Egger +.Aq cegger@NetBSD.org . diff --git a/static/netbsd/man4/agp.4 b/static/netbsd/man4/agp.4 new file mode 100644 index 00000000..2a522341 --- /dev/null +++ b/static/netbsd/man4/agp.4 @@ -0,0 +1,246 @@ +.\" $NetBSD: agp.4,v 1.17 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Gregory McGarry. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd October 3, 2010 +.Dt AGP 4 +.Os +.Sh NAME +.Nm agp +.Nd accelerated graphics port driver +.Sh SYNOPSIS +.Cd "agp* at pchb?" +.Sh DESCRIPTION +The +.Nm +driver provides machine-independent support for the accelerated +graphics port (AGP) found on many PC-based and PCI systems. +The AGP specification was designed by Intel. +.Pp +The AGP chipset is positioned between the PCI-Host bridge and the +graphics accelerator to provide a high-performance dedicated graphics +bus for moving large amounts of data directly from host memory to the +graphics accelerator. +The specification currently supports a peak bandwidth of 528 MB/s. +AGP uses a Graphics Address Remapping Table (GART) to provide a +physically-contiguous view of scattered pages in host memory for +DMA transfers. +.Pp +The +.Nm +driver supports the following chipsets: +.Pp +.Bl -dash -compact -offset indent +.It +ALI M1541 host-to-AGP bridge +.It +AMD 751 and 761 host-to-AGP bridges +.It +Intel 82810, 82810-DC100, 82810E, and 82815 SVGA controllers +.It +SiS 5591 host-to-AGP bridge +.It +VIA +.El +.Pp +The +.Nm +driver also provides an interface to user processes for use by X +servers. +A user process communicates to the device initially by means of +.Xr ioctl 2 +calls. +The calls supported are: +.Bl -tag -width indent +.It Dv AGPIOC_INFO +Get AGP information, setting the members in the +.Em agp_info +structure as defined in : +.Bd -literal +typedef struct _agp_info { + agp_version version; /* version of the driver */ + uint32_t bridge_id; /* bridge vendor/device */ + uint32_t agp_mode; /* mode info of bridge */ + off_t aper_base; /* base of aperture */ + size_t aper_size; /* size of aperture */ + size_t pg_total; /* max pages (swap + system) */ + size_t pg_system; /* max pages (system) */ + size_t pg_used; /* current pages used */ +} agp_info; +.Ed +.It Dv AGPIOC_ACQUIRE +Acquire AGP. +.It Dv AGPIOC_RELEASE +Release AGP. +.It Dv AGPIOC_SETUP +Set up AGP, using the members in the +.Em agp_setup +structure as defined in : +.Bd -literal +typedef struct _agp_setup { + uint32_t agp_mode; /* mode info of bridge */ +} agp_setup; +.Ed +.It Dv AGPIOC_ALLOCATE +Allocate AGP space, using and setting the members in the +.Em agp_allocate +structure as defined in : +.Bd -literal +typedef struct _agp_allocate { + int key; /* tag of allocation */ + size_t pg_count; /* number of pages */ + uint32_t type; /* 0 == normal, other devspec */ + uint32_t physical; /* device specific (some devices + * need a phys address of the + * actual page behind the gatt + * table) */ +} agp_allocate; +.Ed +.It Dv AGPIOC_DEALLOCATE +Deallocate AGP space. +.It Dv AGPIOC_BIND +Bind AGP space, using the members in the +.Em agp_bind +structure as defined in : +.Bd -literal +typedef struct _agp_bind { + int key; /* tag of allocation */ + off_t pg_start; /* starting page to populate */ +} agp_bind; +.Ed +.It Dv AGPIOC_UNBIND +Unbind AGP space, using the members in the +.Em agp_unbind +structure as defined in : +.Bd -literal +typedef struct _agp_unbind { + int key; /* tag of allocation */ + uint32_t priority; /* priority for paging out */ +} agp_unbind; +.Ed +.El +.Sh FILES +.Bl -tag -width /dev/agpgart -compact +.It Pa /dev/agp? +AGP GART device special files +.It Pa /dev/agpgart +AGP GART device special file +.El +.Sh EXAMPLES +This short code fragment is an example of opening the AGP device +and performing some basic operations: +.Bd -literal +#include +#include +#include +#include +#include + +int +main(int argc, char **argv) +{ + int fd; + agp_info info; + agp_allocate alloc; + agp_setup setup; + agp_bind bind; + agp_unbind unbind; + + fd = open("/dev/agp0", O_RDWR); + if (fd < 0) + err(1, "open"); + + if (ioctl(fd, AGPIOC_INFO, &info) < 0) + err(2, "ioctl AGPIOC_INFO"); + + printf("version: %u.%u\\n", info.version.major, + info.version.minor); + + printf("id: %x\\n", info.bridge_id); + printf("mode: %x\\n", info.agp_mode); + printf("base: %x\\n", info.aper_base); + printf("size: %uM\\n", info.aper_size); + printf("total mem: %u\\n", info.pg_total); + printf("system mem: %u\\n", info.pg_system); + printf("used mem: %u\\n\\n", info.pg_used); + + setup.agp_mode = info.agp_mode; + + if (ioctl(fd, AGPIOC_SETUP, &setup) < 0) + err(3, "ioctl AGPIOC_SETUP"); + + if (ioctl(fd, AGPIOC_ACQUIRE, 0) < 0) + err(3, "ioctl AGPIOC_ACQUIRE"); + + alloc.type = 0; + alloc.pg_count = 64; + + if (ioctl(fd, AGPIOC_ALLOCATE, &alloc) < 0) + err(4, "ioctl AGPIOC_ALLOCATE"); + + printf("alloc key %d, paddr %x\\n", alloc.key, alloc.physical); + if (ioctl(fd, AGPIOC_INFO, &info) < 0) + err(5, "ioctl AGPIOC_INFO"); + + bind.key = alloc.key; + bind.pg_start = 0x1000; + + if (ioctl(fd, AGPIOC_BIND, &bind) < 0) + err(6, "ioctl AGPIOC_BIND"); + + printf("used mem now: %u\\n\\n", info.pg_used); + + unbind.key = alloc.key; + unbind.priority = 0; + + if (ioctl(fd, AGPIOC_UNBIND, &unbind) < 0) + err(6, "ioctl AGPIOC_BIND"); + + if (ioctl(fd, AGPIOC_DEALLOCATE, &alloc.key) < 0) + err(6, "ioctl AGPIOC_DEALLOCATE"); + + if (ioctl(fd, AGPIOC_RELEASE, 0) < 0) + err(7, "ioctl AGPIOC_RELEASE"); + + close(fd); + + printf("agp test successful\\n"); + + return 0; +} +.Ed +.Sh SEE ALSO +.Xr ioctl 2 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Fx 4.1 . +It was adopted in +.Nx 1.6 . diff --git a/static/netbsd/man4/agr.4 b/static/netbsd/man4/agr.4 new file mode 100644 index 00000000..d3c98902 --- /dev/null +++ b/static/netbsd/man4/agr.4 @@ -0,0 +1,172 @@ +.\" $NetBSD: agr.4,v 1.12 2023/10/11 11:00:17 wiz Exp $ +.\" +.\" Copyright (c)2005, 2007 YAMAMOTO Takashi, +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.\" ------------------------------------------------------------ +.Dd February 23, 2010 +.Dt AGR 4 +.Os +.\" ------------------------------------------------------------ +.Sh NAME +.Nm agr +.Nd link aggregation pseudo network interface driver +.\" ------------------------------------------------------------ +.Sh SYNOPSIS +.Cd pseudo-device agr +.\" ------------------------------------------------------------ +.Sh DESCRIPTION +.Em The driver described in this manual page is obsolete +.Em and will be removed from a future version of the system. +.Pp +.Xr lagg 4 +.Em should be used instead. +.Pp +The +.Nm +driver provides link aggregation functionality (a.k.a. L2 trunking +or bonding). +.Pp +It supports the IEEE 802.3ad Link Aggregation Control Protocol +(LACP) and the Marker Protocol. +.Pp +The +.Nm +driver supports the following link specific flags for +.Xr ifconfig 8 : +.Bl -tag -width "-link0" +.It Cm link0 +Use the round-robin distribution algorithm. +Don't use it unless you're really sure, +because it violates the frame ordering rule. +.It Cm -link0 +Use the default distribution algorithm, which is based on the hash +of DA/SA, TCI, and, if available, some upper layer protocol +information like +.Xr ip 4 +DA/SA. +.It Cm link1 +Disable LACP. +Prevents any LACP or Marker messaging which leaves +the ports in the default static configuration. +Set this prior to adding ports. +.El +.\" ------------------------------------------------------------ +.Sh EXAMPLES +Create an +.Nm +interface, +.Sy agr0 , +and attach +.Sy re0 +and +.Sy re1 +to it. +In other words, aggregate +.Sy re0 +and +.Sy re1 +so that they can be used as a single interface, +.Sy agr0 . +The physical interfaces which are attached to the +.Nm +interface must not have any IP addresses, neither IPv4 nor IPv6. +.Bd -literal -offset indent + ifconfig re0 inet xxx.xxx.xxx.xxx delete + ifconfig re0 inet6 fe80::xxxx:xxxx:xxxx:xxxx delete + ifconfig re1 inet xxx.xxx.xxx.xxx delete + ifconfig re1 inet6 fe80::xxxx:xxxx:xxxx:xxxx delete + + ifconfig agr0 create + ifconfig agr0 agrport re0 + ifconfig agr0 agrport re1 +.Ed +.Pp +Destroy an interface created in the above example. +.Bd -literal -offset indent + ifconfig agr0 -agrport re0 + ifconfig agr0 -agrport re1 + ifconfig agr0 destroy +.Ed +.\" ------------------------------------------------------------ +.Sh SEE ALSO +.Xr lagg 4 , +.Xr ifconfig 8 +.\" ------------------------------------------------------------ +.Sh STANDARDS +IEEE 802.3ad Aggregation of Multiple Link Segments +.\" ------------------------------------------------------------ +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 4.0 +and was obsoleted in +.Nx 10.0 . +.Pp +The +.Nm +driver will be removed from +.Nx 11.0 . +.\" ------------------------------------------------------------ +.Sh AUTHORS +The +.Nm +driver was written by +.An YAMAMOTO Takashi . +.\" ------------------------------------------------------------ +.Sh BUGS +There is no way to configure LACP administrative variables, including +system and port priorities. +The current implementation of the +.Nm +driver always performs active-mode LACP and +uses 0x8000 as system and port priorities. +.Pp +The +.Nm +driver uses the MAC address of the first-added physical +interface as the MAC address of the +.Nm +interface itself. +Thus, removing the physical interface and using it for another purpose +can result in non-unique MAC addresses. +.Pp +The current implementation of the +.Nm +driver doesn't prevent unsafe operations like some ioctls against +underlying physical interfaces. +Such operations can result in unexpected behaviors, and are strongly +discouraged. +.Pp +There is no way to configure +.Nm +interfaces without attaching physical interfaces. +.Pp +Physical interfaces being added to the +.Nm +interface shouldn't have any addresses except for link level address. +Otherwise, the attempt will fail with +.Dv EBUSY . +Note that it includes an automatically assigned IPv6 link-local address. diff --git a/static/netbsd/man4/aha.4 b/static/netbsd/man4/aha.4 new file mode 100644 index 00000000..4a1d34d5 --- /dev/null +++ b/static/netbsd/man4/aha.4 @@ -0,0 +1,58 @@ +.\" $NetBSD: aha.4,v 1.12 2002/03/06 14:43:02 wiz Exp $ +.\" +.\" Copyright (c) 1994 James A. Jegers +.\" 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. 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. +.\" +.Dd November 29, 1994 +.Dt AHA 4 +.Os +.Sh NAME +.Nm aha +.Nd Adaptec 154x SCSI adapter driver +.Sh SYNOPSIS +.Cd "aha0 at isa? port 0x330 irq ? drq ?" +.Cd "aha* at isapnp?" +.Cd "aha* at mca? slot ?" +.Cd "scsibus* at aha?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the following +.Tn SCSI +adapters: +.Pp +.Bl -tag -width Dv -offset indent -compact +.It Tn Adaptec AHA-154xA +.It Tn Adaptec AHA-154xB +.It Tn Adaptec AHA-154xC +.It Tn Adaptec AHA-154xCF +.It Tn Buslogic BT-54x +.It Tn Adaptec AHA-1640 (MCA) +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr mca 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 diff --git a/static/netbsd/man4/ahb.4 b/static/netbsd/man4/ahb.4 new file mode 100644 index 00000000..8759aaca --- /dev/null +++ b/static/netbsd/man4/ahb.4 @@ -0,0 +1,52 @@ +.\" $NetBSD: ahb.4,v 1.9 2002/03/06 14:43:03 wiz Exp $ +.\" +.\" Copyright (c) 1994 James A. Jegers +.\" 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. 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. +.\" +.Dd November 29, 1994 +.Dt AHB 4 +.Os +.Sh NAME +.Nm ahb +.Nd Adaptec 1742 SCSI adapter driver +.Sh SYNOPSIS +.Cd "ahb0 at eisa? slot ? irq ?" +.Cd "scsibus* at ahb?" +.Sh DESCRIPTION +The +.Nm +driver implements support for the following card: +.Pp +.Bl -tag -width indent -offset indent -compact +.It Tn Adaptec +AHA-1742 +.Tn EISA +.Tn SCSI +adaptor +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 diff --git a/static/netbsd/man4/ahc.4 b/static/netbsd/man4/ahc.4 new file mode 100644 index 00000000..f570227f --- /dev/null +++ b/static/netbsd/man4/ahc.4 @@ -0,0 +1,402 @@ +.\" $NetBSD: ahc.4,v 1.36 2018/02/11 14:15:14 wiz Exp $ +.\" +.\" Copyright (c) 1995, 1996, 1997, 1998, 2000 +.\" Justin T. Gibbs. 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. 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. +.\" +.\" $FreeBSD: src/share/man/man4/ahc.4,v 1.22 2000/02/14 16:40:58 gibbs Exp $ +.\" +.Dd July 16, 2007 +.Dt AHC 4 +.Os +.\".Os FreeBSD +.Sh NAME +.Nm ahc +.Nd Adaptec VL/EISA/PCI/CardBus SCSI host adapter driver +.Sh SYNOPSIS +.\" For one or more VL/EISA cards: +.\" .Cd device eisa +.\" .Cd device ahc +For VL cards: +.Cd "ahc0 at isa? port ? irq ?" +.Pp +For EISA cards: +.Cd "ahc* at eisa? slot ?" +.Pp +.\" For one or more PCI cards: +.\" .Cd device pci +.\" .Cd device ahc +For PCI cards: +.Cd "ahc* at pci? dev ? function ?" +.Pp +For CardBus cards: +.Cd "ahc* at cardbus? function ?" +.Pp +To allow PCI adapters to use memory mapped I/O if enabled: +.Cd options AHC_ALLOW_MEMIO +.Pp +Disable tagged queuing (avoids hangs on some hardware under load) +.Cd options AHC_NO_TAGS +.Pp +Change the default SCSI id for cards without a SEEPROM (default 7): +.Cd options AHC_CARDBUS_DEFAULT_SCSI_ID=integer +.Pp +.\" To configure one or more controllers to assume the target role: +.\" .Cd options AHC_TMODE_ENABLE +.\" .Pp +.\" For one or more SCSI buses: +.\" .Cd device scbus0 at ahc0 +For SCSI buses: +.Cd scsibus* at ahc? +.Sh DESCRIPTION +.\" This driver provides access to the SCSI bus(es) connected to Adaptec +.\" AIC7770, +.\" AIC7850, +.\" AIC7860, +.\" AIC7870, +.\" AIC7880, +.\" AIC7890, +.\" AIC7891, +.\" AIC7892, +.\" AIC7895, +.\" AIC7896, +.\" AIC7897 +.\" and +.\" AIC7899 +.\" host adapter chips. +.\" These chips are found on many motherboards as well as the following +.\" Adaptec SCSI controller cards: +.\" 274X(W), +.\" 274X(T), +.\" 284X, +.\" 2910, +.\" 2915, +.\" 2920C, +.\" 2930C, +.\" 2930U2, +.\" 2940, +.\" 2940U, +.\" 2940AU, +.\" 2940UW, +.\" 2940UW Dual, +.\" 2940UW Pro, +.\" 2940U2W, +.\" 2940U2B, +.\" 2950U2W, +.\" 2950U2B, +.\" 19160B, +.\" 29160, +.\" 29160B, +.\" 29160N, +.\" 3940, +.\" 3940U, +.\" 3940AU, +.\" 3940UW, +.\" 3940AUW, +.\" 3940U2W, +.\" 3950U2, +.\" 3960, +.\" 39160, +.\" 3985, +.\" and +.\" 4944UW . +The +.Nm +device driver supports SCSI controllers based on Adaptec AIC77xx +and AIC78xx SCSI host adapter chips found on many motherboards as well as +Adaptec SCSI controller cards. +.Pp +Driver features include support for twin and wide buses, +fast, ultra or ultra2 synchronous transfers depending on controller type, +.\" tagged queuing, SCB paging, and target mode. +tagged queuing and SCB paging. +.Pp +Memory mapped I/O can be enabled for PCI devices with the +.Dq Dv AHC_ALLOW_MEMIO +configuration option. +Memory mapped I/O is more efficient than the alternative, programmed I/O. +Most PCI BIOSes will map devices so that either technique for communicating +with the card is available. +In some cases, +usually when the PCI device is sitting behind a PCI->PCI bridge, +the BIOS may fail to properly initialize the chip for memory mapped I/O. +The typical symptom of this problem is a system hang if memory mapped I/O +is attempted. +Most modern motherboards perform the initialization correctly and work fine +with this option enabled. +.Pp +.\" Individual controllers may be configured to operate in the target role +.\" through the +.\" .Dq Dv AHC_TMODE_ENABLE +.\" configuration option. +.\" The value assigned to this option should be a bitmap +.\" of all units where target mode is desired. +.\" For example, a value of 0x25, would enable target mode on units 0, 2, and 5. +.\" .Pp +Per target configuration performed in the SCSI-Select menu, accessible at boot +in non-EISA models, +or through an EISA configuration utility for EISA models, +is honored by this driver. +This includes synchronous/asynchronous transfers, +maximum synchronous negotiation rate, +wide transfers, +disconnection, +the host adapter's SCSI ID, +and, +in the case of EISA Twin Channel controllers, +the primary channel selection. +For systems that store non-volatile settings in a system specific manner +rather than a serial EEPROM directly connected to the aic7xxx controller, +the BIOS must be enabled for the driver to access this information. +This restriction applies to all EISA and many motherboard configurations. +.Pp +Note that I/O addresses are determined automatically by the probe routines, +but care should be taken when using a 284x +.Pq VESA No local bus controller +in an EISA system. +The jumpers setting the I/O area for the 284x should match the EISA +slot into which the card is inserted to prevent conflicts with other +EISA cards. +.Pp +Performance and feature sets vary throughout the aic7xxx product line. +The following table provides a comparison of the different chips supported +by the +.Nm +driver. +Note that wide and twin channel features, although always supported +by a particular chip, may be disabled in a particular motherboard +or card design. +.Bl -column "aic7895c" "MIPS" "EISA/VL" "MaxSync" "MaxWidth" "SCBs" "2 3 4 5 6 7 8" +.It Sy Chip Ta Sy MIPS Ta Sy Bus Ta Sy MaxSync Ta Sy MaxWidth Ta Sy SCBs Ta Sy Features +.It aic7770 Ta 10 Ta EISA/VL Ta 10MHz Ta 16Bit Ta 4 Ta 1 +.It aic7850 Ta 10 Ta PCI/32 Ta 10MHz Ta 8Bit Ta 3 Ta "" +.It aic7860 Ta 10 Ta PCI/32 Ta 20MHz Ta 8Bit Ta 3 Ta "" +.It aic7870 Ta 10 Ta PCI/32 Ta 10MHz Ta 16Bit Ta 16 Ta "" +.It aic7880 Ta 10 Ta PCI/32 Ta 20MHz Ta 16Bit Ta 16 Ta "" +.It aic7890 Ta 20 Ta PCI/32 Ta 40MHz Ta 16Bit Ta 16 Ta 3 4 5 6 7 8 +.It aic7891 Ta 20 Ta PCI/64 Ta 40MHz Ta 16Bit Ta 16 Ta 3 4 5 6 7 8 +.It aic7892 Ta 20 Ta PCI/64 Ta 80MHz Ta 16Bit Ta 16 Ta 3 4 5 6 7 8 +.It aic7895 Ta 15 Ta PCI/32 Ta 20MHz Ta 16Bit Ta 16 Ta 2 3 4 5 +.It aic7895C Ta 15 Ta PCI/32 Ta 20MHz Ta 16Bit Ta 16 Ta 2 3 4 5 8 +.It aic7896 Ta 20 Ta PCI/32 Ta 40MHz Ta 16Bit Ta 16 Ta 2 3 4 5 6 7 8 +.It aic7897 Ta 20 Ta PCI/64 Ta 40MHz Ta 16Bit Ta 16 Ta 2 3 4 5 6 7 8 +.It aic7899 Ta 20 Ta PCI/64 Ta 80MHz Ta 16Bit Ta 16 Ta 2 3 4 5 6 7 8 +.El +.Bl -enum -compact +.It +Multiplexed Twin Channel Device - One controller servicing two buses. +.It +Multi-function Twin Channel Device - Two controllers on one chip. +.It +Command Channel Secondary DMA Engine - Allows scatter gather list and +SCB prefetch. +.It +64 Byte SCB Support - SCSI CDB is embedded in the SCB to eliminate an extra DMA. +.It +Block Move Instruction Support - Doubles the speed of certain sequencer +operations. +.It +.Sq Bayonet +style Scatter Gather Engine - Improves S/G prefetch performance. +.It +Queuing Registers - Allows queuing of new transactions without pausing the +sequencer. +.It +Multiple Target IDs - Allows the controller to respond to selection as a +target on multiple SCSI IDs. +.El +.Sh HARDWARE +Supported SCSI controllers include: +.Bl -item -offset indent +.It +Adaptec AHA-2742W EISA Fast Wide SCSI adapter +.It +Adaptec AHA-274xAT EISA dual channel Fast SCSI adapter +.It +Adaptec AHA-284x VL Fast SCSI adapter +.It +Adaptec AHA-2910 PCI Fast SCSI adapter (no SCSI BIOS) +.It +Adaptec AHA-2915 PCI Fast SCSI adapter (no SCSI BIOS) +.It +Adaptec AHA-2920C PCI Fast SCSI adapter +.Bl -item -offset indent +.It +Note: +Adaptec AHA-2920/A which use the Future Domain's chips are not supported +by this driver. +.El +.It +Adaptec AHA-2930C PCI Ultra SCSI adapter +.It +Adaptec AHA-2930U2 PCI Ultra2 Wide LVD SCSI adapter +.It +Adaptec AHA-2940 PCI Fast SCSI adapter +.It +Adaptec AHA-2940U PCI Ultra SCSI adapter +.It +Adaptec AHA-2940AU PCI Ultra SCSI adapter +.It +Adaptec AHA-2940UW PCI Ultra Wide SCSI adapter +.It +Adaptec AHA-2940UW Dual PCI dual channel Ultra Wide SCSI adapter +.It +Adaptec AHA-2940UW Pro PCI Ultra Wide SCSI adapter +.It +Adaptec AHA-2940U2W PCI Ultra2 Wide LVD SCSI adapter +.It +Adaptec AHA-2940U2B PCI Ultra2 Wide LVD SCSI adapter +.It +Adaptec AHA-2944W PCI Fast Wide Differential SCSI adapter +.It +Adaptec AHA-2944UW PCI Ultra Wide Differential SCSI adapter +.It +Adaptec AHA-2950U2W +.It +Adaptec AHA-2950U2B 64bit PCI Ultra2 Wide LVD SCSI adapter +.It +Adaptec AHA-19160B PCI Ultra160 Wide LVD SCSI adapter +.It +Adaptec ASC-29160 PCI Ultra160 Wide LVD SCSI adapter +.It +Adaptec AHA-29160N PCI Ultra160 Wide LVD SCSI adapter +.It +Adaptec AHA-29160B 64bit PCI Ultra160 Wide LVD SCSI adapter +.It +Adaptec AHA-3940 PCI dual channel Fast SCSI adapter +.It +Adaptec AHA-3940U PCI dual channel Ultra SCSI adapter +.It +Adaptec AHA-3940AU PCI dual channel Ultra SCSI adapter +.It +Adaptec AHA-3940UW PCI dual channel Ultra Wide SCSI adapter +.It +Adaptec AHA-3940AUW PCI dual channel Ultra Wide SCSI adapter +.It +Adaptec AHA-3940U2W PCI dual channel Ultra2 Wide LVD SCSI adapter +.It +Adaptec AHA-3950U2 64bit PCI dual channel Ultra2 Wide LVD SCSI adapter +.It +Adaptec AHA-3960 64bit PCI dual channel Ultra160 Wide LVD SCSI adapter +.It +Adaptec AHA-3985 PCI dual channel Fast SCSI RAID adapter +.It +Adaptec AHA-39160 64bit PCI dual channel Ultra160 Wide LVD SCSI adapter +.It +Adaptec AHA-4944UW PCI quad channel PCI Ultra Wide Differential SCSI adapter +.It +Other SCSI controllers based on the Adaptec AIC7770, AIC7850, +AIC7860, AIC7870, AIC7880, AIC7890, AIC7891, AIC7892, AIC7895, +AIC7896, AIC7897 and AIC7899 SCSI host adapter chips. +.El +.Sh SCSI CONTROL BLOCKS (SCBs) +Every transaction sent to a device on the SCSI bus is assigned a +.Sq SCSI Control Block +(SCB). +The SCB contains all of the information required by the controller +to process a transaction. +The chip feature table lists the number of SCBs that can be stored +in on-chip memory. +All chips with model numbers greater than or equal to 7870 allow +for the on chip SCB space to be augmented with external SRAM up to +a maximum of 255 SCBs. +Very few Adaptec controller configurations have external SRAM. +.Pp +If external SRAM is not available, SCBs are a limited resource. +Using the SCBs in a straight forward manner would only allow the driver to +handle as many concurrent transactions as there are physical SCBs. +To fully use the SCSI bus and the devices on it, +requires much more concurrency. +The solution to this problem is +.Em SCB Paging , +a concept similar to memory paging. +SCB paging takes advantage of the fact that devices usually disconnect +from the SCSI bus for long periods of time without talking to the +controller. +The SCBs for disconnected transactions are only of use to the +controller when the transfer is resumed. +When the host queues another transaction for the controller to +execute, the controller firmware will use a free SCB if one is +available. +Otherwise, the state of the most recently disconnected (and therefore +most likely to stay disconnected) SCB is saved, via DMA, to host +memory, and the local SCB reused to start the new transaction. +This allows the controller to queue up to +255 transactions regardless of the amount of SCB space. +Since the local SCB space serves as a cache for disconnected +transactions, the more SCB space available, the less host bus +traffic consumed saving and restoring SCB data. +.Sh SEE ALSO +.Xr aha 4 , +.Xr ahb 4 , +.Xr ahd 4 , +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 +.Sh HISTORY +The +.Nm +driver appeared in +.Fx 2.0 +and +.Nx 1.1 . +.Sh AUTHORS +The +.Nm +driver, the AIC7xxx sequencer-code assembler, +and the firmware running on the aic7xxx chips was written by +.An Justin T. Gibbs . +.Nx +porting is done by Stefan Grefen, Charles M. Hannum, +Michael Graff, Jason R. Thorpe, Pete Bentley, +Frank van der Linden and Noriyuki Soda. +.Sh BUGS +Some Quantum drives (at least the Empire 2100 and 1080s) will not run on an +AIC7870 Rev B in synchronous mode at 10MHz. +Controllers with this problem have a +42 MHz clock crystal on them and run slightly above 10MHz. +This confuses the drive and hangs the bus. +Setting a maximum synchronous negotiation rate of 8MHz in the SCSI-Select +utility will allow normal operation. +.Pp +.\" Although the Ultra2 and Ultra160 products have sufficient instruction +.\" ram space to support both the initiator and target roles concurrently, +.\" this configuration is disabled in favor of allowing the target role +.\" to respond on multiple target ids. +.\" A method for configuring dual +.\" role mode should be provided. +.\" .Pp +.\" Tagged Queuing is not supported in target mode. +.\" .Pp +.\" Reselection in target mode fails to function correctly on all high +.\" voltage differential boards as shipped by Adaptec. +.\" Information on +.\" how to modify HVD board to work correctly in target mode is available +.\" from Adaptec. +Target mode is not supported on +.Nx +version of this driver. diff --git a/static/netbsd/man4/ahcisata.4 b/static/netbsd/man4/ahcisata.4 new file mode 100644 index 00000000..c3827797 --- /dev/null +++ b/static/netbsd/man4/ahcisata.4 @@ -0,0 +1,69 @@ +.\" $NetBSD: ahcisata.4,v 1.7 2017/10/07 17:35:48 jdolecek Exp $ +.\" +.\" Copyright (c) 2006 Manuel Bouyer. +.\" +.\" 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. +.\" +.\" 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. +.\" +.Dd October 7, 2017 +.Dt AHCISATA 4 +.Os +.Sh NAME +.Nm ahcisata +.Nd AHCI 1.0 and 1.1 compliant SATA controllers driver +.Sh SYNOPSIS +.Cd "ahcisata* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports SATA controllers compliant with the Serial ATA Advanced +Host Controller Interface Revision 1.0 or 1.1 specification, +and provides the interface to the hardware for the +.Xr ata 4 +driver. +.Pp +The +.Nm +driver will only attach if the controller has been put in AHCI mode by the +BIOS; if the controller is in pciide-compatible mode, it will be handled +by the appropriate driver +.Xr ( piixide 4 +for Intel AHCI controllers). +.Sh SEE ALSO +.Xr ata 4 , +.Xr atapi 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr pciide 4 , +.Xr wd 4 , +.Xr wdc 4 +.Rs +.%A Intel Corporation +.%T Serial ATA Advanced Host Controller Interface (AHCI) +.%N Revision 1.3 +.%D June 26, 2008 +.%U http://download.intel.com/technology/serialata/pdf/rev1_3.pdf +.Re +.Sh HISTORY +NCQ support was added +in +.Nx +on October 7, 2017 by +.An Jaromir Dolecek Aq Mt jdolecek@NetBSD.org . diff --git a/static/netbsd/man4/ahd.4 b/static/netbsd/man4/ahd.4 new file mode 100644 index 00000000..75869920 --- /dev/null +++ b/static/netbsd/man4/ahd.4 @@ -0,0 +1,194 @@ +.\" $NetBSD: ahd.4,v 1.6 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 1995, 1996, 1997, 1998, 2000 +.\" Justin T. Gibbs. All rights reserved. +.\" Copyright (c) 2002 +.\" Scott Long. 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. 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. +.\" +.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/ahd.4,v 1.5 2004/07/04 14:17:41 simon Exp $ +.\" +.Dd May 16, 2009 +.Dt AHD 4 +.Os +.Sh NAME +.Nm ahd +.Nd Adaptec PCI/PCI-X Ultra320 SCSI host adapter driver +.Sh SYNOPSIS +For one or more PCI/PCI-X cards: +.\".Bd -ragged -offset indent -compact +.Cd "ahd* at pci? dev ? function ?" +.Pp +To compile in debugging code: +.Bd -ragged -offset indent -compact +.Cd options AHD_DEBUG +.Cd options AHD_DEBUG_OPTS= +.Cd options AHD_REG_PRETTY_PRINT +.Ed +.Pp +.\" To configure one or more controllers to assume the target role: +.\" .Bd -ragged -offset indent -compact +.\" .Cd options AHD_TMODE_ENABLE= +.\" .Ed +.\" .Pp +.\" For one or more +.\" .Tn SCSI +.\" busses: +.\" .Bd -ragged -offset indent -compact +.\" .Cd device scbus +.\" .Ed +For +.Tn SCSI +busses: +.Cd scsibus* at ahd? +.Sh DESCRIPTION +This driver provides access to the +.Tn SCSI +bus(ses) connected to Adaptec +.Tn AIC79xx +host adapter chips. +.Pp +Driver features include support for narrow and wide busses, +fast, ultra, ultra2, ultra160, and ultra320 synchronous transfers, +packetized transfers, tagged queueing, +.\" 512 SCB's, and target mode. +and 512 SCBs. +.Pp +The +.Dv AHD_DEBUG_OPTS +option is used to control which diagnostic messages are printed to the +console when +.Dv AHD_DEBUG +is enabled. +Logically OR the following bits together: +.Bl -column -offset indent '0x0001' 'Function' +.It Em Value Ta Em Function +.It 0x0001 Ta Show miscellaneous information +.It 0x0002 Ta Show sense data +.It 0x0004 Ta Show Serial EEPROM contents +.It 0x0008 Ta Show bus termination settings +.It 0x0010 Ta Show host memory usage +.It 0x0020 Ta Show SCSI protocol messages +.It 0x0040 Ta Show mode pointer of the chip register window +.It 0x0080 Ta Show selection timeouts +.It 0x0100 Ta Show FIFO usage messages +.It 0x0200 Ta Show Queue Full status +.It 0x0400 Ta Show SCB queue status +.It 0x0800 Ta Show inbound packet information +.It 0x1000 Ta Show S/G list information +.It 0x2000 Ta Enable extra diagnostic code in the firmware +.El +.Pp +The +.Dv AHD_REG_PRETTY_PRINT +option compiles in support for human-readable bit definitions for each register +that is printed by the debugging code. +However, it also bloats the compiled +size of the driver by approximately 215KB. +.\" .Pp +.\" Individual controllers may be configured to operate in the target role +.\" through the +.\" .Dv AHD_TMODE_ENABLE +.\" configuration option. +.\" The value assigned to this option should be a bitmap +.\" of all units where target mode is desired. +.\" For example, a value of 0x25 would enable target mode on units 0, 2, and 5. +.\" Note that target mode is only supported for ultra160 speeds and below. +.\" .Pp +.\" Per target configuration performed in the +.\" .Tn SCSI-Select +.\" menu, accessible at boot, +.\" is honored by this driver. +.\" This includes synchronous/asynchronous transfers, +.\" maximum synchronous negotiation rate, wide transfers, disconnection, +.\" and the host adapter's +.\" .Tn SCSI +.\" ID. +.Sh HARDWARE +The +.Nm +driver supports the following: +.Pp +.Bl -bullet -compact +.It +Adaptec +.Tn AIC7901 +host adapter chip +.It +Adaptec +.Tn AIC7901A +host adapter chip +.It +Adaptec +.Tn AIC7902 +host adapter chip +.It +Adaptec +.Tn 29320 +host adapter +.It +Adaptec +.Tn 39320 +host adapter +.It +Many motherboards with on-board +.Tn SCSI +support +.El +.Sh SEE ALSO +.Xr ahc 4 , +.Xr cd 4 , +.Xr ch 4 , +.\" .Xr da 4 , +.Xr intro 4 , +.\" .Xr sa 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr ses 4 , +.Xr st 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Fx 4.7 +and +.Nx 2.0 . +.Sh AUTHORS +The +.Nm +driver, the +.Tn AIC7xxx +sequencer-code assembler, +and the firmware running on the aic79xx chips was written by +.An Justin T. Gibbs . +.Nx +porting is done by Pascal Renauld, Frank van der Linden, +Jason Thorpe, and Allen Briggs. +This manual page is based on the +.Xr ahc 4 +manual page. +.\" .Sh BUGS +.\" The current generation of 79xx chips do not support target mode in Ultra320 +.\" mode. +.\" Target mode in general has not been well tested in this driver. diff --git a/static/netbsd/man4/aht20temp.4 b/static/netbsd/man4/aht20temp.4 new file mode 100644 index 00000000..abcf5567 --- /dev/null +++ b/static/netbsd/man4/aht20temp.4 @@ -0,0 +1,76 @@ +.\" $NetBSD: aht20temp.4,v 1.1 2022/11/17 19:20:05 brad Exp $ +.\" +.\" Copyright (c) 2022 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd November 15, 2022 +.Dt AHT20TEMP 4 +.Os +.Sh NAME +.Nm aht20temp +.Nd Driver for Guangzhou Aosong AHT20 sensor chip via I2C bus +.Sh SYNOPSIS +.Cd "aht20temp* at iic? addr 0x38" +.Sh DESCRIPTION +The +.Nm +driver provides measurements from the AHT20 humidity/temperature +sensors via the +.Xr envsys 4 +framework. +The +.Nm +.Ar addr +argument selects the address at the +.Xr iic 4 +bus. +The crc validity can be changed through +.Xr sysctl 8 +nodes. +.Sh SYSCTL VARIABLES +The following +.Xr sysctl 3 +variables are provided: +.Bl -tag -width indent +.It Li hw.aht20temp0.ignorecrc +If set, the crc calculation for %RH and temperature will be ignored. +.It Li hw.aht20temp0.debug +If the driver is compiled with +.Dv AHT20_DEBUG , +this node will appear and can be used to set the debugging level. +.It Li hw.aht20temp0.readattempts +To read %RH or temperature the chip requires that the command be sent, +then a delay must be observed before a read can be done to get the values +back. +The delays are documented in the datasheet for the chip. +The driver will attempt to read back the values readattempts number of +times. +The default is 10 which should be more than enough for most purposes. +.El +.Sh SEE ALSO +.Xr envsys 4 , +.Xr iic 4 , +.Xr envstat 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 10.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Brad Spencer Aq Mt brad@anduin.eldar.org . diff --git a/static/netbsd/man4/ai.4 b/static/netbsd/man4/ai.4 new file mode 100644 index 00000000..29007df3 --- /dev/null +++ b/static/netbsd/man4/ai.4 @@ -0,0 +1,65 @@ +.\" $NetBSD: ai.4,v 1.9 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 1999 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 4, 1999 +.Dt AI 4 +.Os +.Sh NAME +.Nm ai +.Nd +.Tn AT&T +.Tn StarLAN +.Tn Ethernet +interface driver +.Sh SYNOPSIS +.Cd "ai0 at isa? port 0x360 iomem 0xd0000 irq 7" +.Sh DESCRIPTION +The +.Nm +driver supports the following +.Tn ISA +bus NICs: +.Pp +.Bl -tag -width Dv -offset indent -compact +.It AT&T StarLAN 10 +.It AT&T StarLAN Fiber +.El +.Pp +These cards are based on the +.Tn Intel +82586 +.Tn Ethernet +controller chip. +.Sh SEE ALSO +.Xr ef 4 , +.Xr elmc 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr ix 4 , +.Xr ifconfig 8 +.Sh AUTHORS +.An Rafal K. Boni diff --git a/static/netbsd/man4/aibs.4 b/static/netbsd/man4/aibs.4 new file mode 100644 index 00000000..2f496acc --- /dev/null +++ b/static/netbsd/man4/aibs.4 @@ -0,0 +1,235 @@ +.\" $NetBSD: aibs.4,v 1.10 2020/06/08 20:19:12 sevan Exp $ +.\" $OpenBSD: aibs.4,v 1.4 2009/07/30 06:30:45 jmc Exp $ +.\" +.\" Copyright (c) 2009 Constantine A. Murenin +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd June 8, 2020 +.Dt AIBS 4 +.Os +.Sh NAME +.Nm aibs +.Nd ASUSTeK AI Booster voltage, temperature, and fan sensor +.Sh SYNOPSIS +.Cd "aibs* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver provides support for voltage, temperature, and fan sensors +available as an +.Tn ACPI +device on +.Tn ASUSTeK +motherboards. +The number of sensors of each type, +as well as the description of each sensor, +varies according to the motherboard. +.Pp +The driver supports an arbitrary set of sensors, +provides descriptions regarding what each sensor is used for, +and reports whether each sensor is within the specifications +as defined by the motherboard manufacturer through +.Tn ACPI . +.Pp +The +.Nm +driver supports +.Xr envsys 4 +sensor states as follows: +.Bl -bullet +.It +Voltage sensors can have a state of +.Sq valid , +.Sq critunder , +or +.Sq critover ; +temperature sensors can have a state of +.Sq valid , +.Sq warnover , +.Sq critover , +or +.Sq invalid ; +and fan sensors can have a state of +.Sq valid , +.Sq warnunder , +or +.Sq warnover . +.It +Temperature sensors that have a reading of 0 +are marked +.Sq invalid , +whereas all other sensors are always assumed valid. +.It +Voltage sensors have a lower and an upper limit, +.Sq critunder +and +.Sq critover , +temperature sensors have two upper limits, +.Sq warnover +and +.Sq critover , +whereas fan sensors may either have only the lower limit +.Sq warnunder , +or, depending on the vendor's +.Tn ACPI +implementation, one lower and one upper limit, +.Sq warnunder +and +.Sq warnover . +.El +.Pp +Sensor values and limits are made available through the +.Xr envsys 4 +interface, +and can be monitored with +.Xr envstat 8 . +For example, on an ASUS V3-P5G965 barebone: +.Bd -literal -offset 2n +$ envstat -d aibs0 + Current CritMax WarnMax WarnMin CritMin Unit + Vcore Voltage: 1.152 1.600 0.850 V + +3.3 Voltage: 3.312 3.630 2.970 V + +5 Voltage: 5.017 5.500 4.500 V + +12 Voltage: 12.302 13.800 10.200 V + CPU Temperature: 27.000 95.000 80.000 degC + MB Temperature: 58.000 95.000 60.000 degC + CPU FAN Speed: 878 7200 600 RPM +CHASSIS FAN Speed: 0 7200 700 RPM +.Ed +.Pp +Generally, sensors provided by the +.Nm +driver may also be supported by a variety of other drivers, +such as +.Xr lm 4 +or +.Xr itesio 4 . +The precise collection of +.Nm +sensors is comprised of the sensors +specifically utilised in the motherboard +design, which may be supported through +a combination of one or more physical hardware monitoring chips. +.Pp +The +.Nm +driver, however, provides the following advantages +when compared to the native hardware monitoring drivers: +.Bl -bullet +.It +Sensor values from +.Nm +are expected to be more reliable. +For example, voltage sensors in many hardware monitoring chips +can only sense voltage from 0 to 2 or 4 volts, and the excessive +voltage is removed by the resistors, which may vary with the motherboard +and with the voltage that is being sensed. +In +.Nm , +the required resistor factors are provided by +the motherboard manufacturer through +.Tn ACPI ; +in the native drivers, the resistor factors +are encoded into the driver based on the chip manufacturer's recommendations. +In essence, sensor values from +.Nm +are very likely to be identical to the readings from the +Hardware Monitor screen in the BIOS. +.It +Sensor descriptions from +.Nm +are more likely to match the markings on the motherboard. +.It +Sensor states are supported by +.Nm . +The state is reported based on the acceptable range of values +for each individual sensor as suggested by the motherboard manufacturer. +For example, the threshold for the CPU temperature sensor is likely +to be significantly higher than that for the chassis temperature sensor. +.It +Support for newer chips in +.Nm . +Newer chips may miss a native driver, +but should be supported through +.Nm +regardless. +.El +.Pp +As a result, sensor readings from the actual +native hardware monitoring drivers +are redundant when +.Nm +is present, and +may be ignored as appropriate. +Whereas on +some supported operating systems +the native drivers may have to be specifically disabled should +their presence be judged unnecessary, +on +others +the drivers like +.Xr lm 4 +are not probed provided that +.Xr acpi 4 +is configured and the system potentially supports +the hardware monitoring chip through +.Tn ACPI . +.Sh SEE ALSO +.Xr acpi 4 , +.Xr envsys 4 , +.Xr envstat 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.7 , +.Dx 2.4.1 +and +.Nx 6.0 . +An earlier version of the driver, named +.Nm aiboost , +first appeared in +.Fx 7.0 +and +.Nx 5.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written for +.Ox , +.Dx +BSD, and +.Nx +by +.An Constantine A. Murenin Aq Lk http://cnst.su/ , +Raouf Boutaba Research Group, +David R. Cheriton School of Computer Science, +University of Waterloo. +.An Jukka Ruohonen +.Aq jruohonen@iki.fi +later reworked and adjusted the driver to support new +.Tn ASUSTeK +motherboards. +The earlier version of the driver, +.Nm aiboost , +was written for +.Fx +by +.An Takanori Watanabe +and +adapted to +.Nx +by +.An Juan Romero Pardines . diff --git a/static/netbsd/man4/aic.4 b/static/netbsd/man4/aic.4 new file mode 100644 index 00000000..91c13192 --- /dev/null +++ b/static/netbsd/man4/aic.4 @@ -0,0 +1,79 @@ +.\" $NetBSD: aic.4,v 1.10 2002/03/05 15:10:44 wiz Exp $ +.\" +.\" Copyright (c) 1997 Jason R. Thorpe. All rights reserved. +.\" Copyright (c) 1994 James A. Jegers +.\" 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. 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. +.\" +.\" +.Dd November 10, 1997 +.Dt AIC 4 +.Os +.Sh NAME +.Nm aic +.Nd Adaptec AIC-6260 and AIC-6360 SCSI driver +.Sh SYNOPSIS +.Cd "aic0 at isa? port 0x340 irq 12" +.Cd "aic* at isapnp?" +.Cd "aic* at pcmcia? function ?" +.Cd "scsibus* at aic?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the +.Tn Adaptec +AIC-6260 and AIC-6360 +.Tn SCSI +controller chips. +.Pp +The PCMCIA +.Tn SCSI +host adapters and many ISA cards do not include boot ROMs and therefore +cannot be used to connect the boot device. +.Sh HARDWARE +Cards supported by the +.Nm +driver include: +.Pp +.Bl -item -offset indent +.It +.Tn Adaptec +1502 ISA SCSI host adaptor +.It +.Tn Adaptec +152x ISA SCSI host adaptor +.It +.Tn Adaptec +AHA-1520B ISAPNP SCSI host adaptor +.It +.Tn Adaptec +APA-1460 PCMCIA SCSI host adaptor +.It +.Tn "Creative Labs" +SoundBlaster ISA SCSI host adaptor, and compatibles +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 diff --git a/static/netbsd/man4/akbd.4 b/static/netbsd/man4/akbd.4 new file mode 100644 index 00000000..308e7068 --- /dev/null +++ b/static/netbsd/man4/akbd.4 @@ -0,0 +1,189 @@ +.\" $NetBSD: akbd.4,v 1.5 2026/04/06 22:12:14 andvar Exp $ +.\" +.\" Copyright (c) 2003 Alex Zepeda +.\" 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 Alex Zepeda. +.\" 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. +.\" +.Dd January 20, 2025 +.Dt AKBD 4 +.Os +. +.Sh NAME +. +.Nm akbd +.Nd Apple Desktop Bus keyboard driver for wscons +.Sh SYNOPSIS +.Cd "akbd* at obio?" +.Cd "wskbd* at akbd? console ?" +.Pp +.Cd "options ALTXBUTTONS" +.Cd "options CAPS_IS_CONTROL" +.Cd "options FORCE_FUNCTION_KEYS" +. +.Sh DESCRIPTION +. +This driver provides the +.Xr wscons 4 +driver with support for Apple Desktop Bus keyboards. +.Bl -tag -width Cd +. +.It Cd "options ALTXBUTTONS" +. +To map +.Sm off +.Ao Option Ac \&+ Aq 1 , +.Sm on +.Sm off +.Ao Option Ac \&+ Aq 2 , +.Sm on +.Sm off +.Ao Option Ac \&+ Aq 3 , +.Sm on +to mouse buttons 1, 2, and 3 +respectively. +. +.It Cd options CAPS_IS_CONTROL +. +On macppc systems it is possible to tweak the keyboard driver to treat +the caps lock key on an +.Tn ADB +keyboard as a control key. +This requires special remapping because of +.Tn ADB Ap s +strange emulation of a mechanically-locked key. +. +.It Cd options FORCE_FUNCTION_KEYS +. +On macppc PowerBooks, several function keys double as +.Dq hot keys +.Pq brightness, volume, eject +when the +.Aq \&Fn +modifier is held down. +Mac OS\~X likes to reprogram the keyboard controller to send hot key +events when +.Aq \&Fn +is +.Em not +held down and send function key events when it is. +With this option you can transform the non-keyboard +.Dq button +events back into function key events. +.El +. +.Ss Special Keys +. +To work around the limited number of buttons found on most +.Tn ADB +mice, the following key sequences trigger mouse button events: +.Pp +.Bl -dash -compact +.It +.Sm off +.Ao Option Ac \&+ Aq LeftArrow +.Sm on +will work as the middle mouse button. +.It +.Sm off +.Ao Option Ac \&+ Aq RightArrow +.Sm on +will work as the right mouse button. +.El +.Pp +On PowerBook (mac68k) models the following key sequences are also +significant: +.Pp +.Bl -dash -compact +.It +.Sm off +.Ao Option Ac \&+ Aq UpArrow +.Sm on +increase screen brightness. +.It +.Sm off +.Ao Option Ac \&+ Aq DownArrow +.Sm on +decrease screen brightness. +.El +. +.Ss Supported Hardware +. +.Nx +is known to support the following +.Tn ADB +keyboards: +.Pp +.Bl -bullet -offset indent -compact +.It +On-board keyboards on PowerBook models +.It +Apple Standard Keyboard +.It +Apple Keyboard II +.It +Apple Extended Keyboard +.It +Apple Extended Keyboard II +.It +Apple Adjustable Keyboard +.It +Most third-party +.Tn ADB +keyboards are supported +.El +. +.Sh SEE ALSO +. +.Xr xmodmap 1 , +.Xr adb 4 , +.Xr wscons 4 , +.Xr wskbd 4 , +.Xr wsconsctl 8 +. +.Sh BUGS +. +The number pad on extended keyboards does not send out the proper +key codes for many applications. +.Pp +The LEDs on extended keyboards are not functional under +.Nx . +.Pp +In X11 with the default key mapping, middle and right mouse button events will +hold +.Ql Meta_L +and this will clobber the intended mouse button. +.Aq Option +should be remapped with +.Xr xmodmap 1 +to the +.Aq Command +key: +.Bd -literal -offset indent +remove Mod4 = Super_L +remove Mod1 = Alt_L +add Mod1 = Super_L +.Ed diff --git a/static/netbsd/man4/alc.4 b/static/netbsd/man4/alc.4 new file mode 100644 index 00000000..460eef4c --- /dev/null +++ b/static/netbsd/man4/alc.4 @@ -0,0 +1,77 @@ +.\" $NetBSD: alc.4,v 1.6 2019/10/17 09:13:48 msaitoh Exp $ +.\" +.\" Copyright (c) 2009 Kevin Lo +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd October 16, 2019 +.Dt ALC 4 +.Os +.Sh NAME +.Nm alc +.Nd Atheros AR813x/AR815x/AR816x/AR817x Killer E2200/2400/2500 Ethernet device +.Sh SYNOPSIS +.Cd "alc* at pci?" +.Cd "atphy* at mii?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Ethernet interfaces based on the +Atheros AR813x/AR815x/AR816x/AR817x Gigabit/Fast Ethernet chipsets and +Killer E2200/2400/2500 Ethernet chipsets. +.Pp +The following +.Ar media +types are supported: +.Pp +.Bl -tag -width autoselect -compact +.It Cm autoselect +Enable autoselection of the media type and options. +.It Cm 10baseT +Set 10Mbps operation. +.It Cm 100baseTX +Set 100Mbps (Fast Ethernet) operation. +.It Cm 1000baseT +Set 1000Mbps (Gigabit Ethernet) operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh SEE ALSO +.Xr arp 4 , +.Xr atphy 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver was written by +.An Pyun YongHyeon +and first appeared in +.Fx 8.0 . +It was ported to +.Ox 4.7 +by +.An Kevin Lo +and then ported to +.Nx 6.0 +by +.An Fire Crow . +.An Leonardo Taccari +ported the AR816x/AR817x support for +.Nm +from +.Fx 11.0 . diff --git a/static/netbsd/man4/ale.4 b/static/netbsd/man4/ale.4 new file mode 100644 index 00000000..e0392a84 --- /dev/null +++ b/static/netbsd/man4/ale.4 @@ -0,0 +1,93 @@ +.\" $NetBSD: ale.4,v 1.5 2012/11/29 00:12:21 jdf Exp $ +.\" $OpenBSD: ale.4,v 1.2 2009/02/25 03:15:50 deraadt Exp $ +.\" +.\" Copyright (c) 2009 Kevin Lo +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd May 5, 2009 +.Dt ALE 4 +.Os +.Sh NAME +.Nm ale +.Nd Atheros AR8121/AR8113/AR8114 10/100/Gigabit Ethernet device +.Sh SYNOPSIS +.Cd "ale* at pci?" +.Cd "atphy* at mii?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Ethernet interfaces based on the +Atheros AR8121/AR8113/AR8114 Ethernet chipset, also known as +the Attansic L1E. +.Pp +The +.Nm +driver supports IPv4 receive IP/TCP/UDP checksum offload and VLAN +tag insertion and stripping. +.Pp +The following +.Ar media +types are supported: +.Pp +.Bl -tag -width autoselect -compact +.It Cm autoselect +Enable autoselection of the media type and options. +.It Cm 10baseT +Set 10Mbps operation. +.It Cm 100baseTX +Set 100Mbps (Fast Ethernet) operation. +.It Cm 1000baseT +Set 1000Mbps (Gigabit Ethernet) operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +To view a list of media types and options supported by the card, try +.Ic ifconfig Fl m Ao Ic device Ac . +For example, +.Ic ifconfig Fl m Ic ale0 . +.Sh SEE ALSO +.Xr arp 4 , +.Xr atphy 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 4.5 . +It was then ported to +.Nx 5.1 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Pyun YongHyeon +for +.Fx +and ported to +.Ox +by +.An Kevin Lo +.Aq kevlo@OpenBSD.org +then ported to +.Nx +by +.An Christoph Egger +.Aq cegger@NetBSD.org +and Kevin Lahey. diff --git a/static/netbsd/man4/alipm.4 b/static/netbsd/man4/alipm.4 new file mode 100644 index 00000000..ea0d4ee6 --- /dev/null +++ b/static/netbsd/man4/alipm.4 @@ -0,0 +1,52 @@ +.\" $NetBSD: alipm.4,v 1.4 2014/03/18 18:20:39 riastradh Exp $ +.\" +.\" $OpenBSD: alipm.4,v 1.5 2007/05/31 19:19:49 jmc Exp $ +.\" +.\" Copyright (c) 2005 Mark Kettenis +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd October 29, 2008 +.Dt ALIPM 4 +.Os +.Sh NAME +.Nm alipm +.Nd Acer Labs M7101 SMBus controller +.Sh SYNOPSIS +.Cd "alipm* at pci?" +.Cd "iic* at alipm?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Acer Labs M7101 Power Management +controller. +Only the SMBus host interface is supported and can be used with the +.Xr iic 4 +framework. +.Sh SEE ALSO +.Xr iic 4 , +.Xr intro 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 3.9 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Mark Kettenis Aq Mt kettenis@openbsd.org . +.Sh BUGS +The driver doesn't support commands with a data buffer size of more +than 2 bytes. diff --git a/static/netbsd/man4/altmem.4 b/static/netbsd/man4/altmem.4 new file mode 100644 index 00000000..1c997ec6 --- /dev/null +++ b/static/netbsd/man4/altmem.4 @@ -0,0 +1,67 @@ +.\" $NetBSD: altmem.4,v 1.5 2014/03/18 18:20:39 riastradh Exp $ +.\" +.\" Copyright (c) 2009 Jared D. McNeill +.\" 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. Neither the name of the author nor the names of any +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 FOUNDATION 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. +.\" +.Dd March 11, 2009 +.Dt ALTMEM 4 +.Os +.Sh NAME +.Nm altmem +.Nd Alternative memory disk driver +.Sh SYNOPSIS +.Cd "altmem* at altmemdev?" +.Sh DESCRIPTION +The +.Nm +driver enables use of physical memory that is normally inaccessible by the +machine-dependent +.Xr pmap 9 +as a swap device. +.Pp +When an alternative memory disk device is present, this device is generally +preferred to hard disk-based swap space. +See the +.Xr swapctl 8 +and +.Xr fstab 5 +man pages for instructions on how to assign priorities to swap devices. +.Sh FILES +.Bl -tag -width /dev/raltmemXX -compact +.It Pa "/dev/altmem??" +block mode alternative memory disk devices. +.It Pa "/dev/raltmem??" +raw mode alternative memory disk devices. +.El +.Sh SEE ALSO +.Xr md 4 , +.Xr fstab 5 , +.Xr swapctl 8 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 6.0 . +.Sh AUTHORS +.An Jared D. McNeill Aq Mt jmcneill@NetBSD.org diff --git a/static/netbsd/man4/altq.4 b/static/netbsd/man4/altq.4 new file mode 100644 index 00000000..62e95c4c --- /dev/null +++ b/static/netbsd/man4/altq.4 @@ -0,0 +1,97 @@ +.\" $NetBSD: altq.4,v 1.9 2026/03/07 15:51:38 christos Exp $ +.\" +.\" Copyright (c) 2011 Jukka Ruohonen +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT +.\" OWNER 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. +.\" +.Dd March 7, 2026 +.Dt ALTQ 4 +.Os +.Sh NAME +.Nm altq +.Nd alternate queuing framework +.Sh SYNOPSIS +.Cd options ALTQ +.Cd options ALTQ_BLUE +.Cd options ALTQ_CBQ +.Cd options ALTQ_CDNR +.Cd options ALTQ_FIFOQ +.Cd options ALTQ_FLOWVALVE +.Cd options ALTQ_HFSC +.Cd options ALTQ_LOCALQ +.Cd options ALTQ_PRIQ +.Cd options ALTQ_RED +.Cd options ALTQ_RIO +.Cd options ALTQ_WFQ +.Sh DESCRIPTION +The +.Nm +system is a framework which provides several disciplines for queuing outgoing +network packets. +While traffic shaping is perhaps the most prominent example, +.Nm +provides also other measures related to QoS. +The framework has been integrated to the +.Xr pf 4 +packet filter since +.Nx 4.0 . +.Pp +At the implementation level +.Nm +modifies the interface packet queues. +Therefore the driver modifications described in +.Xr altq 9 +are required in order to use a certain network card with +.Nm . +.Sh FILES +.Bd -literal +/dev/altq +.Ed +.Sh SEE ALSO +.Xr pf 4 , +.Xr altq.conf 5 , +.Xr altqd 8 , +.Xr altq 9 +.Rs +.%A Kenjiro Cho +.%T Fitting theory into reality in the ALTQ case +.%D March, 2004 +.%C Taipei, Taiwan +.%O Asia BSD conference +.%U https://www.iijlab.net/~kjc/papers/fittingtheory.pdf +.Re +.Sh HISTORY +The +.Nm +system first appeared in March 1997 and found its home in the KAME project +.Lk ( https://www.kame.net ) . +It was imported into +.Nx 1.6 . +.Sh CAVEATS +Please note that you must compile +.Xr pf 4 +in the kernel, using the PF +.Xr module 7 +alongside +.Nm +built in the kernel will not work. diff --git a/static/netbsd/man4/am2315temp.4 b/static/netbsd/man4/am2315temp.4 new file mode 100644 index 00000000..6a4c58d4 --- /dev/null +++ b/static/netbsd/man4/am2315temp.4 @@ -0,0 +1,97 @@ +.\" $NetBSD: am2315temp.4,v 1.2 2017/12/29 14:47:09 wiz Exp $ +.\" +.\" Copyright (c) 2017 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd December 28, 2017 +.Dt AM2315TEMP 4 +.Os +.Sh NAME +.Nm am2315temp +.Nd Driver for Aosong AM2315 sensor chip via I2C bus +.Sh SYNOPSIS +.Cd "am2315temp* at iic? addr 0x5c" +.Sh DESCRIPTION +The +.Nm +driver provides measurements from the AM2315 humidity/temperature +sensors via the +.Xr envsys 4 +framework. +The +.Nm +.Ar addr +argument selects the address at the +.Xr iic 4 +bus. +The AM2315 has limits on how often the measurements can be read. +Adjustments to the number of times to take reading before considering +it valid, and the number of ticks to wait between readings can be +changed through +.Xr sysctl 8 +nodes. +.Pp +There are other oddities about the AM2315 that should be mentioned. +The datasheet says that the device should read no more often then +every 2 seconds, further, it also implies that a measurement is not +performed until the device is 1) awake 2) has been asked for a +measurement. +From observation, it has been noted that it is possible +to ask for measurements more often than every 2 seconds, and actually +get something that looks to be valid. +It may, in fact, be valid, but +it has also been noted that the measurements do not appear to change. +This implies that a measurement was done, and then returned time and +time again. +It has also been noticed that if measurements are taken +very close to every 2 seconds, that sometimes the device will return a +I2C error on a read. +If this happens a lot, increase hw.am2315temp0.readticks a bit. +.Sh SYSCTL VARIABLES +The following +.Xr sysctl 3 +variables are provided: +.Bl -tag -width indent +.It hw.am2315temp0.readcount +The number of times to take a reading before considering it valid. +This defaults to 2. +.It hw.am2315temp0.readticks +The number of ticks to wait in between readings. +The default is 100. +.It hw.am2315temp0.debug +If the driver is compiled with +.Dv AM2315_DEBUG , +this node will appear and can be used to set the debugging level. +.El +.Sh SEE ALSO +.Xr envsys 4 , +.Xr iic 4 , +.Xr envstat 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 8.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Brad Spencer Aq Mt brad@anduin.eldar.org . +.Sh BUGS +The device does not appear to work with the +.Xr gpioiic 4 +bitbang controller. +When tried, reads would not error, but no data was returned. diff --git a/static/netbsd/man4/amdgpio.4 b/static/netbsd/man4/amdgpio.4 new file mode 100644 index 00000000..7cc3e441 --- /dev/null +++ b/static/netbsd/man4/amdgpio.4 @@ -0,0 +1,101 @@ +.\" $NetBSD: amdgpio.4,v 1.2 2025/02/26 17:23:49 uwe Exp $ +.\" +.\" Copyright (c) 2022 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Emmanuel Dreyfus. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd February 3, 2025 +.Dt AMDGPIO 4 +.Os +.Sh NAME +.Nm amdgpio +.Nd AMD GPIO Controller +.Sh SYNOPSIS +.Cd "amdgpio* at acpi?" +.Cd "gpio* at gpiobus?" +.Sh DESCRIPTION +.Nm +provides a +.Xr gpio 4 +interface for the following AMD chipsets: +.Pp +.Bl -item -offset indent -compact +.It +AMD Ryzen 7 5800U with Radeon Graphics +.It +AMD Ryzen 7 8840HS with Radeon 780M Graphics +.El +.Pp +The driver supports pin configuration flags +.Pp +.Bl -item -offset indent -compact +.It +.Dv GPIO_PIN_INPUT +.It +.Dv GPIO_PIN_OUTPUT +.It +.Dv GPIO_PIN_INOUT +.It +.Dv GPIO_PIN_ININ +.It +.Dv GPIO_PIN_PULLUP +.It +.Dv GPIO_PIN_PULLDOWN +.El +.Pp +and interrupt capabilies +.Pp +.Bl -item -offset indent -compact +.It +.Dv GPIO_INTR_POS_EDGE +.It +.Dv GPIO_INTR_NEG_EDGE +.It +.Dv GPIO_INTR_DOUBLE_EDGE +.It +.Dv GPIO_INTR_HIGH_LEVEL +.It +.Dv GPIO_INTR_LOW_LEVEL +.El +.Sh SEE ALSO +.Xr gpio 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 11.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver is derived from +.Xr qcomgpio 4 +and +.Ox Ap s +.Xr amdgpio 4 . +Man page was written by +.An Ryo ONODERA +.Aq Mt ryoon@NetBSD.org . diff --git a/static/netbsd/man4/amdpm.4 b/static/netbsd/man4/amdpm.4 new file mode 100644 index 00000000..093fc6a9 --- /dev/null +++ b/static/netbsd/man4/amdpm.4 @@ -0,0 +1,55 @@ +.\" $NetBSD: amdpm.4,v 1.8 2016/07/07 09:23:20 pgoyette Exp $ +.\" +.\" Copyright (c) 2002, 2006 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Enami Tsugutomo. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd July 7, 2016 +.Dt AMDPM 4 +.Os +.Sh NAME +.Nm amdpm +.Nd AMD768 Power Management Controller and AMD8111 System Management Controller +.Sh SYNOPSIS +.Cd "amdpm* at pci? dev ? function ?" +.Sh DESCRIPTION +The +.Nm +provides support for the AMD768 Power Management Controller +and for the AMD8111 System Management Controller. +.Sh SEE ALSO +.Xr iic 4 , +.Xr pci 4 , +.Xr rnd 4 +.Sh HISTORY +The +.Nm +driver appeared in +.Nx 2.0 . +.Sh BUGS +Currently, this driver does not provide any power management capabilities. +It does, however, provide access to the SMBus via the System Management +Controller. diff --git a/static/netbsd/man4/amdtemp.4 b/static/netbsd/man4/amdtemp.4 new file mode 100644 index 00000000..cd2581df --- /dev/null +++ b/static/netbsd/man4/amdtemp.4 @@ -0,0 +1,88 @@ +.\" $NetBSD: amdtemp.4,v 1.12 2018/12/29 20:29:46 is Exp $ +.\"- +.\" Copyright (c) 2008 Christoph Egger +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.\" $FreeBSD: src/share/man/man4/coretemp.4,v 1.4 2007/10/15 20:00:19 netchild Exp $ +.\" +.Dd January 28, 2018 +.Dt AMDTEMP 4 +.Os +.Sh NAME +.Nm amdtemp +.Nd AMD CPU on-die digital thermal sensor +.Sh SYNOPSIS +.Cd "amdtemp* at amdnb_miscbus?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the on-die digital thermal sensor present +on AMD K8, AMD Barcelona, AMD Phenom, AMD Griffin, AMD Fusion, +AMD Bobcat, and AMD Puma CPUs. +.Pp +These sensors were officially introduced in AMD K8 Revision F processors, +and provide 0.5\(deC accuracy. +Precision was improved in Revision G chips, +which provide two more bits for 0.25\(deC steppings. +Each core +has two temperature sensors, and there are up to two cores per CPU socket. +.Pp +AMD Barcelona, AMD Phenom, AMD Griffin, AMD Fusion, +AMD Bobcat, and AMD Puma provide 0.125\(degC +accuracy and provide one temperature sensor for each CPU socket. +.Pp +The +.Nm +driver reports temperatures through the +.Xr envsys 4 +API. +.Bl -column "CPUN sensor0" "Units" "Typical Use" -offset indent +.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" +.It CPU Ns Em N No sensor0 Ta \(*mK Ta cpu Ns Em N No temperature +.El +.Sh SEE ALSO +.Xr envsys 4 , +.Xr envstat 8 , +.Xr powerd 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.4 +named +.Dq kate . +It was then ported to +.Nx 5.0 . +The driver has been renamed with support for newer AMD CPUs. +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Constantine A. Murenin Aq Mt cnst@openbsd.org +whilst at the University of Waterloo. +It was adapted to +.Nx +by +.An Christoph Egger . diff --git a/static/netbsd/man4/amhphy.4 b/static/netbsd/man4/amhphy.4 new file mode 100644 index 00000000..85a8c62c --- /dev/null +++ b/static/netbsd/man4/amhphy.4 @@ -0,0 +1,53 @@ +.\" $NetBSD: amhphy.4,v 1.1 2001/08/25 04:11:05 thorpej Exp $ +.\" +.\" Copyright 2001 Wasabi Systems, Inc. +.\" All rights reserved. +.\" +.\" Written by Jason R. Thorpe for Wasabi Systems, Inc. +.\" +.\" 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 for the NetBSD Project by +.\" Wasabi Systems, Inc. +.\" 4. The name of Wasabi Systems, Inc. may not be used to endorse +.\" or promote products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``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 WASABI SYSTEMS, INC +.\" 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. +.\" +.Dd August 24, 2001 +.Dt AMHPHY 4 +.Os +.Sh NAME +.Nm amhphy +.Nd Driver for the AMD 79c901 10BASE-T PHY +.Sh SYNOPSIS +.Cd "amhphy* at mii? phy ?" +.Sh DESCRIPTION +The +.Nm +driver supports the 10BASE-T portion of the AMD 79c901 HomePNA/10BASE-T +PHY. +.Sh SEE ALSO +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr ifconfig 8 diff --git a/static/netbsd/man4/amr.4 b/static/netbsd/man4/amr.4 new file mode 100644 index 00000000..27448706 --- /dev/null +++ b/static/netbsd/man4/amr.4 @@ -0,0 +1,179 @@ +.\" $NetBSD: amr.4,v 1.15 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 2000 Jeroen Ruigrok van der Werven +.\" 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. 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. +.\" +.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/amr.4,v 1.16 2003/03/26 01:34:23 keramida Exp $ +.\" +.Dd July 23, 2006 +.Dt AMR 4 +.Os +.Sh NAME +.Nm amr +.Nd AMI MegaRAID PCI-SCSI RAID driver +.Sh SYNOPSIS +.Cd "amr* at pci? dev ? function ?" +.Cd scsibus* at amr? +.Sh DESCRIPTION +The +.Nm +driver provides support for LSI (formerly American Megatrends) MegaRAID +Express, Elite and Enterprise family RAID controllers for SCSI and SATA, +including models relabeled and sold by Dell, Hewlett-Packard, and Intel. +Supported controllers include: +.Pp +.Bl -bullet -compact +.It +MegaRAID 320-1 +.It +MegaRAID 320-2 +.It +MegaRAID Series 418 +.It +MegaRAID Enterprise 1200 (Series 428) +.It +MegaRAID Enterprise 1300 (Series 434) +.It +MegaRAID Enterprise 1400 (Series 438) +.It +MegaRAID Enterprise 1500 (Series 467) +.It +MegaRAID Enterprise 1600 (Series 471) +.It +MegaRAID Elite 1500 (Series 467) +.It +MegaRAID Elite 1600 (Series 493) +.It +MegaRAID Express 100 (Series 466WS) +.It +MegaRAID Express 200 (Series 466) +.It +MegaRAID Express 300 (Series 490) +.It +LSI MegaRAID SCSI 320-0X, 320-2X, 320-4X +.It +LSI MegaRAID SCSI 320-1E, 320-2E +.It +LSI MegaRAID SATA 300-6x, 300-8x +.It +Dell PERC +.It +Dell PERC 2/SC +.It +Dell PERC 2/DC +.It +Dell PERC 4/Di +.It +Dell PERC 4/SC +.It +Dell PERC 4e/Si +.It +HP NetRAID-1/Si +.It +HP NetRAID-3/Si +.It +HP Embedded NetRAID +.It +Intel SRCU42X +.It +Intel SRCU42E +.It +Intel SRMOBU42E +.It +Intel SRCS28X +.El +.Sh DIAGNOSTICS +.Ss Driver initialisation/shutdown phase +.Bl -diag +.It amr%d: memory window not available +.It amr%d: I/O window not available +.Pp +The PCI BIOS did not allocate resources necessary for the correct operation of +the controller. +The driver cannot attach to this controller. +.It amr%d: busmaster bit not set, enabling +.Pp +The PCI BIOS did not enable busmaster DMA, +which is required for the correct operation of the controller. +The driver has enabled this bit and initialisation will proceed. +.It amr%d: can't allocate register window +.It amr%d: can't allocate interrupt +.It amr%d: can't set up interrupt +.It amr%d: can't allocate parent DMA tag +.It amr%d: can't allocate buffer DMA tag +.It amr%d: can't allocate scatter/gather DMA tag +.It amr%d: can't allocate s/g table +.It amr%d: can't allocate mailbox tag +.It amr%d: can't allocate mailbox memory +.Pp +A resource allocation error occurred while initialising the driver; +initialisation has failed and the driver will not attach to this controller. +.It amr%d: can't obtain configuration data from controller +.It amr%d: can't obtain product data from controller +.Pp +The driver was unable to obtain vital configuration data from the controller. +Initialisation has failed and the driver will not attach to this controller. +.It amr%d: can't establish configuration hook +.It amr%d: can't scan controller for drives +.Pp +The scan for logical drives managed by the controller failed. +No drives will be attached. +.It amr%d: device_add_child failed +.It amr%d: bus_generic_attach returned %d +.Pp +Creation of the logical drive instances failed; +attachment of one or more logical drives may have been aborted. +.It amr%d: flushing cache... +.Pp +The controller cache is being flushed prior to shutdown or detach. +.El +.Ss Operational diagnostics +.Bl -diag +.It amr%d: I/O beyond end of unit (%u,%d > %u) +.Pp +A partitioning error or disk corruption has caused an I/O request +beyond the end of the logical drive. +This may also occur if FlexRAID Virtual Sizing is enabled and +an I/O operation is attempted on a portion of the virtual drive +beyond the actual capacity available. +.It amr%d: polled command timeout +.Pp +An initialisation command timed out. +The initialisation process may fail as a result. +.It amr%d: bad slot %d completed +.Pp +The controller reported completion of a command that the driver did not issue. +This may result in data corruption, +and suggests a hardware or firmware problem with the system or controller. +.It amr%d: I/O error - %x +.Pp +An I/O error has occurred. +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 , +.Xr amrctl 8 diff --git a/static/netbsd/man4/ams.4 b/static/netbsd/man4/ams.4 new file mode 100644 index 00000000..b0ba86a3 --- /dev/null +++ b/static/netbsd/man4/ams.4 @@ -0,0 +1,80 @@ +.\" $NetBSD: ams.4,v 1.1 2003/09/26 19:15:16 mbw Exp $ +.\" +.\" Copyright (c) 2003 Alex Zepeda +.\" 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 Alex Zepeda. +.\" 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. +.\" +.Dd September 21, 2003 +.Dt AMS 4 +.Os +.Sh NAME +.Nm ams +.Nd Apple Desktop Bus mouse driver for wscons +.Sh SYNOPSIS +.Cd "ams* at obio?" +.Cd "wsmouse* at ams?" +.Sh DESCRIPTION +This driver provides the +.Xr wscons 4 +driver with support for Apple Desktop Bus mice. +.Sh SUPPORTED HARDWARE +.Nx +is known to support the following +.Tn ADB +mice: +.Bl -bullet -offset indent +.It +On-board trackpads and trackballs in PowerBook models +.It +Apple Desktop Bus Mouse +.It +Apple Desktop Bus Mouse II +.It +Interex ADB Mouse +.It +Logitech TrackMan +.It +Logitech MouseMan +.It +Microspeed Mouse Deluxe +.It +Mouse Systems A3 Mouse +.It +Most third-party ADB mice, trackballs, and trackpads are supported +.El +.Sh DIAGNOSTICS +.Bl -diag -compact +.It ams0 at adb0 addr 3: 1-button, 100 dpi mouse +This is a typical autoconfiguration message noting the presence of the +.Nm +mouse. +.El +.Sh SEE ALSO +.Xr adb 4 , +.Xr wscons 4 , +.Xr wsmouse 4 , +.Xr wsconsctl 8 diff --git a/static/netbsd/man4/an.4 b/static/netbsd/man4/an.4 new file mode 100644 index 00000000..4d74aa31 --- /dev/null +++ b/static/netbsd/man4/an.4 @@ -0,0 +1,144 @@ +.\" $NetBSD: an.4,v 1.13 2014/03/18 18:20:39 riastradh Exp $ +.\" +.\" Copyright (c) 1997, 1998, 1999 +.\" Bill Paul . 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 Bill Paul. +.\" 4. Neither the name of the author nor the names of any co-contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY Bill Paul 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 Bill Paul OR THE VOICES IN HIS HEAD +.\" 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. +.\" +.\" $FreeBSD: src/share/man/man4/an.4,v 1.6 2000/11/17 11:43:59 ru Exp $ +.\" +.Dd December 13, 2000 +.Dt AN 4 +.Os +.Sh NAME +.Nm an +.Nd +Aironet 4500/4800 and Cisco 340/350 series wireless network driver +.Sh SYNOPSIS +.Cd "an* at pcmcia? function ?" +.Cd "an* at pci? dev ? function ?" +.Cd "an* at isapnp?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Aironet Communications 4500/4800 +and Cisco Aironet 340/350 series +wireless network adapters. +This includes the ISA, PCI and PCMCIA +varieties. +The 4500 series adapters operate at 1 and 2Mbps while +the 4800 series and 340/350 series can operate at 1, 2, 5.5 and 11Mbps. +The ISA, PCI +and PCMCIA devices are all based on the same core PCMCIA modules +and all have the same programming interface, however unlike the +Lucent WaveLAN/IEEE cards, the ISA and PCI cards appear to the +host as normal ISA and PCI devices and do not require any PCMCIA +support. +.Pp +The PCMCIA Aironet cards require PCMCIA support. +ISA cards can either be configured to use ISA Plug and Play +or to use a particular I/O address and IRQ +by properly setting the DIP switches on the board. +(The default switch setting is for plug and play.) +The +.Nm +driver has Plug and Play support and will work in either configuration, +however when using a hard-wired I/O address and IRQ, the driver +configuration and the NIC's switch settings must agree. +PCI cards +require no switch settings of any kind and will be automatically +probed and attached. +.Pp +All host/device interaction with the Aironet cards is via programmed I/O. +The Aironet devices support 802.11 and 802.3 frames, power management, +BSS (infrastructure) and IBSS (ad-hoc) operation modes. +The +.Nm +driver encapsulates all IP and ARP traffic as 802.11 frames, however +it can receive either 802.11 or 802.3 frames. +Transmit speed is selectable between 1Mbps, 2Mbps, 5.5Mbps, 11Mbps, or +.Dq auto +(the NIC automatically chooses the best speed). +.Pp +By default, the +.Nm +driver configures the Aironet card to join an access point with an SSID +of null string. +For ad-hoc mode, in which +stations can communicate among each other without the aid of an access +point, the driver must be set using +.Xr ifconfig 8 . +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 +and +.Xr ifmedia 4 . +.Sh HARDWARE +Cards supported by the +.Nm +driver include: +.Pp +.Bl -item -offset indent +.It +Aironet 4500 Series +.It +Aironet 4800 Series +.It +Cisco Aironet 340 Series +.It +Cisco Aironet 350 Series +.El +.Sh DIAGNOSTICS +.Bl -diag +.It "an%d: init failed" +The Aironet card failed to come ready after an initialization command was +issued. +.It "an%d: failed to allocate %d bytes on NIC" +The driver was unable to allocate memory for transmit frames in the +NIC's on-board RAM. +.It "an%d: device timeout" +The Aironet card failed to generate an interrupt to acknowledge a transmit +command. +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr ifmedia 4 , +.Xr netintro 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 4.0 , +and then in +.Nx 1.6 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Bill Paul Aq Mt wpaul@ee.columbia.edu . diff --git a/static/netbsd/man4/apei.4 b/static/netbsd/man4/apei.4 new file mode 100644 index 00000000..dd85ae88 --- /dev/null +++ b/static/netbsd/man4/apei.4 @@ -0,0 +1,133 @@ +.\" $NetBSD: apei.4,v 1.3 2024/10/10 09:05:45 rin Exp $ +.\" +.\" Copyright (c) 2024 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd March 18, 2024 +.Dt APEI 4 +.Os +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh NAME +.Nm apei +.Nd ACPI Platform Error Interfaces +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh SYNOPSIS +.Cd "apei* at apeibus?" +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh DESCRIPTION +.Nm +reports hardware errors discovered through +.Tn APEI , +the +.Tn ACPI +Platform Error Interfaces. +.Pp +.Nm +also supports injecting errors. +.\" .Nm +.\" also supports reading/writing/clearing error records in a persistent +.\" firmware store (XXX not yet: nothing uses the ERST). +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh DIAGNOSTICS +When the hardware detects an error and reports it to +.Nm , +it will print information about the error to the console. +.Pp +Example of a correctable memory error, automatically corrected by the +system, with no further intervention needed: +.Bd -literal +apei0: error source 1 reported hardware error: severity=corrected nentries=1 status=0x12 +apei0: error source 1 entry 0: SectionType={0xa5bc1114,0x6f64,0x4ede,0xb8b8,{0x3e,0x83,0xed,0x7c,0x83,0xb1}} (memory error) +apei0: error source 1 entry 0: ErrorSeverity=2 (corrected) +apei0: error source 1 entry 0: Revision=0x201 +apei0: error source 1 entry 0: Flags=0x1 +apei0: error source 1 entry 0: FruText=CorrectedErr +apei0: error source 1 entry 0: MemoryErrorType=8 (PARITY_ERROR) +.Pp +Example of a fatal uncorrectable memory error: +.Bd -literal +apei0: error source 0 reported hardware error: severity=fatal nentries=1 status=0x11 +apei0: error source 0 entry 0: SectionType={0xa5bc1114,0x6f64,0x4ede,0xb8b8,{0x3e,0x83,0xed,0x7c,0x83,0xb1}} (memory error) +apei0: error source 0 entry 0: ErrorSeverity=1 (fatal) +apei0: error source 0 entry 0: Revision=0x201 +apei0: error source 0 entry 0: Flags=0x1 +apei0: error source 0 entry 0: FruText=UncorrectedErr +apei0: error source 0 entry 0: ErrorStatus=0x400 +apei0: error source 0 entry 0: Node=0x0 +apei0: error source 0 entry 0: Module=0x0 +apei0: error source 0 entry 0: Device=0x0 +panic: fatal hardware error +.Ed +.Pp +Details of the hardware error sources can be dumped with +.Xr acpidump 8 . +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh SEE ALSO +.Xr acpi 4 , +.Xr acpihed 4 , +.Xr acpidump 8 +.Rs +.%B ACPI Specification 6.5 +.%O Chapter 18: ACPI Platform Error Interfaces (APEI) +.%U https://uefi.org/specs/ACPI/6.5/18_Platform_Error_Interfaces.html +.Re +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 10.1 . +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh AUTHORS +The +.Nm +driver was written by +.An Taylor R Campbell Aq Mt riastradh@NetBSD.org . +.\""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +.Sh BUGS +No sysctl interface to read BERT after boot. +.Pp +No simple sysctl interface to inject errors with EINJ, or any way to +inject errors at physical addresses in pages allocated for testing. +Perhaps there should be a separate kernel module for that. +.Pp +Nothing reads, writes, or clears ERST. +.Nx +could use it to store dmesg or other diagnostic information on panic. +.Pp +Many hardware error source types in the HEST are missing, such as +.Tn PCIe +errors. +.Pp +.Nm +is not wired to any machine-dependent machine check exception +notifications. +.Pp +No formal log format or sysctl/device interface that programs can +reliably act on. +.Pp +.Nx +makes no attempt to recover from uncorrectable but recoverable errors, +such as discarding a clean cached page where an uncorrectable memory +error has occurred. diff --git a/static/netbsd/man4/aps.4 b/static/netbsd/man4/aps.4 new file mode 100644 index 00000000..425867bf --- /dev/null +++ b/static/netbsd/man4/aps.4 @@ -0,0 +1,85 @@ +.\" $NetBSD: aps.4,v 1.8 2014/03/18 18:20:39 riastradh Exp $ +.\" $OpenBSD: aps.4,v 1.7 2007/05/31 19:19:49 jmc Exp $ +.\" +.\" Copyright (c) 2005 Jonathan Gray +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd July 13, 2011 +.Dt APS 4 +.Os +.Sh NAME +.Nm aps +.Nd ThinkPad Active Protection System accelerometer +.Sh SYNOPSIS +.Cd "aps0 at isa? port 0x1600" +.Sh DESCRIPTION +The +.Nm +driver provides support for several sensors found in some ThinkPad laptops. +.Pp +The sensors currently exposed via the +.Xr envsys 4 +interface are: +.Bl -column "Sensor " "Units " "Typical" -offset indent +.It Sy "Sensor " Ta Sy "Units " Ta Sy "Typical Use" +.It Li "x-acceleration" Ta "integer" Ta "X-axis acceleration" +.It Li "y-acceleration" Ta "integer" Ta "Y-axis acceleration" +.It Li "x-variable" Ta "integer" Ta "Weighted X acceleration?" +.It Li "y-variable" Ta "integer" Ta "Weighted Y acceleration?" +.It Li "temperature 1" Ta "degC" Ta "Unknown temperature" +.It Li "temperature 2" Ta "degC" Ta "Unknown temperature" +.It Li "keyboard active" Ta "boolean" Ta "Keyboard activity" +.It Li "mouse active" Ta "boolean" Ta "Mouse activity" +.It Li "lid open" Ta "boolean" Ta "Lid state" +.El +.Sh SEE ALSO +.Xr envsys 4 , +.Xr hpacel 4 , +.Xr thinkpad 4 , +.Xr envstat 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 3.8 +and was then ported to +.Nx +5.0. +.Sh AUTHORS +The +.Nm +driver was written by +.An Jonathan Gray Aq Mt jsg@openbsd.org . +.Sh CAVEATS +Few issues can be mentioned. +.Bl -bullet +.It +The +.Nm +driver does not maintain state and subsequently does not take +evasive action when it thinks the hard drive is in danger. +Possible actions would include spinning down the hard drive +in case excessive tremor is detected by the sensors. +.It +The Y axis on X40 and possibly other models seems to be inverted. +It is unknown how to distinguish between different versions of the +accelerometer to compensate for this in the driver at this time. +.It +The sensor values are refreshed every 0.5 seconds. +Because no protection measures are taken, +this is unnecessary and may have a negative effect on battery life. +.It +As IBM provides no documentation, it is not known what all the available +sensors are used for. +.El diff --git a/static/netbsd/man4/aq.4 b/static/netbsd/man4/aq.4 new file mode 100644 index 00000000..2004ac01 --- /dev/null +++ b/static/netbsd/man4/aq.4 @@ -0,0 +1,105 @@ +.\" $NetBSD: aq.4,v 1.6 2024/02/07 04:20:26 msaitoh Exp $ +.\" +.\" Copyright (c) 2020 Ryo Shimizu +.\" 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. +.\" +.\" 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. +.\" +.Dd January 14, 2023 +.Dt AQ 4 +.Os +.Sh NAME +.Nm aq +.Nd Aquantia AQC multigigabit Network driver +.Sh SYNOPSIS +.Cd "aq* at pci? dev ? function ?" +.Sh DESCRIPTION +The +.Nm +driver supports Aquantia AQC series controllers. +Supported controllers include: +.Pp +.Bl -bullet -compact +.It +AQC100 10 Gigabit Network Adapter +.It +AQC107 10 Gigabit Network Adapter +.It +AQC108 5 Gigabit Network Adapter +.It +AQC109 2.5 Gigabit Network Adapter +.It +AQC111 5 Gigabit Network Adapter +.It +AQC112 2.5 Gigabit Network Adapter +.It +AQC100S 10 Gigabit Network Adapter +.It +AQC107S 10 Gigabit Network Adapter +.It +AQC108S 5 Gigabit Network Adapter +.It +AQC109S 2.5 Gigabit Network Adapter +.It +AQC111S 5 Gigabit Network Adapter +.It +AQC112S 2.5 Gigabit Network Adapter +.It +AQC113DEV 10 Gigabit Network Adapter +.It +AQC113 10 Gigabit Network Adapter +.It +AQC113C 10 Gigabit Network Adapter +.It +AQC113CA 10 Gigabit Network Adapter +.It +AQC113CS 10 Gigabit Network Adapter +.It +AQC114CS 5 Gigabit Network Adapter +.It +AQC115C 2.5 Gigabit Network Adapter +.It +AQC116C Gigabit Network Adapter +.It +D100 10 Gigabit Network Adapter +.It +D107 10 Gigabit Network Adapter +.It +D108 5 Gigabit Network Adapter +.It +D109 2.5 Gigabit Network Adapter +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr ifmedia 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr vlan 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 9.1 , +and is based on the +.Fx +driver of the same name, but has been drastically rewritten by Ryo Shimizu. diff --git a/static/netbsd/man4/arcmsr.4 b/static/netbsd/man4/arcmsr.4 new file mode 100644 index 00000000..1d810cc6 --- /dev/null +++ b/static/netbsd/man4/arcmsr.4 @@ -0,0 +1,161 @@ +.\" $NetBSD: arcmsr.4,v 1.8 2009/05/18 13:57:54 wiz Exp $ +.\" $OpenBSD: arc.4,v 1.10 2007/11/04 08:18:17 dlg Exp $ +.\" +.\" Copyright (c) 2007, 2008 Juan Romero Pardines +.\" Copyright (c) 2006 David Gwynne +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" TORTIOUS ACTION, ARISING OUT OF +.\" PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd March 3, 2008 +.Dt ARCMSR 4 +.Os +.Sh NAME +.Nm arcmsr +.Nd Areca Technology Corporation SATA/SAS RAID controller +.Sh SYNOPSIS +.Cd "arcmsr* at pci? dev ? function ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the PCI-X and PCI Express RAID controllers from +Areca Technology Corporation: +.Pp +.Bl -dash -offset indent -compact +.It +ARC-1110 PCI-X 4 Port SATA RAID Controller +.It +ARC-1110ML PCI-X 4 Port SATA RAID Controller +.It +ARC-1120 PCI-X 8 Port SATA RAID Controller +.It +ARC-1120ML PCI-X 8 Port SATA RAID Controller +.It +ARC-1130 PCI-X 12 Port SATA RAID Controller +.It +ARC-1130ML PCI-X 12 Port SATA RAID Controller +.It +ARC-1160 PCI-X 16 Port SATA RAID Controller +.It +ARC-1160ML PCI-X 16 Port SATA RAID Controller +.It +ARC-1170 PCI-X 24 Port SATA RAID Controller +.It +ARC-1200 Rev A PCI Express 2 Port SATA RAID Controller +.It +ARC-1202 PCI Express 2 Port SATA RAID Controller +.It +ARC-1210 PCI Express 4 Port SATA RAID Controller +.It +ARC-1220 PCI Express 8 Port SATA RAID Controller +.It +ARC-1230 PCI Express 12 Port SATA RAID Controller +.It +ARC-1230ML PCI Express 12 Port SATA RAID Controller +.It +ARC-1231ML PCI Express 12 Port SATA RAID Controller +.It +ARC-1260 PCI Express 16 Port SATA RAID Controller +.It +ARC-1260ML PCI Express 16 Port SATA RAID Controller +.It +ARC-1261ML PCI Express 16 Port SATA RAID Controller +.It +ARC-1280 PCI Express 24 Port SATA RAID Controller +.It +ARC-1280ML PCI Express 24 Port SATA RAID Controller +.It +ARC-1680 PCI Express 8 Port SAS RAID Controller +.It +ARC-1680LP PCI Express 8 Port SAS RAID Controller +.It +ARC-1680i PCI Express 8 Port SAS RAID Controller +.It +ARC-1680x PCI Express 8 Port SAS RAID Controller +.It +ARC-1681 PCI-X 8 Port SAS RAID Controller +.El +.Pp +These controllers support RAID levels 0, 1, 1E, 3, 5, 6, and JBOD +using either SAS or SATA II drives. +.Pp +.Nm +supports management and monitoring of the controller through the +.Xr bioctl 8 +and +.Xr envstat 8 +commands. +.Pp +Please note, however, that to use some features that require special +privileges, such as creating/removing hot-spares, pass-through disks +or RAID volumes will require to have the +.Em password +disabled in the firmware; otherwise a +.Em Permission denied +error will be reported by +.Xr bioctl 8 . +.Pp +When a RAID 1 or 1+0 volume is created, either through the +.Xr bioctl 8 +command or controller's firmware, the volume won't be accessible until +the initialization is done. +A way to get access to the +.Xr sd 4 +device that corresponds to that volume without rebooting, is to issue +the following command (once the initialization is finished): +.Bd -literal +$ scsictl scsibus0 scan any any +.Ed +.Pp +The +.Nm +driver will also report to the kernel log buffer any error that might +appear when handling firmware commands, such as used by the +.Xr bioctl 8 +command. +.Sh EVENTS +The +.Nm +driver is able to send events to +.Xr powerd 8 +if a volume or any drive connected to the volume is not online. +The +.Em state-changed +event will be sent to the +.Pa /etc/powerd/scripts/sensor_drive +script when such condition happens. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr bioctl 8 , +.Xr envstat 8 , +.Xr powerd 8 , +.Xr scsictl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 5.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was originally written for +.Ox +by +.An David Gwynne . +It was ported to +.Nx +and extended by +.An Juan Romero Pardines . diff --git a/static/netbsd/man4/arcofi.4 b/static/netbsd/man4/arcofi.4 new file mode 100644 index 00000000..5831b778 --- /dev/null +++ b/static/netbsd/man4/arcofi.4 @@ -0,0 +1,102 @@ +.\" $NetBSD: arcofi.4,v 1.2 2014/08/25 13:22:20 wiz Exp $ +.\" $OpenBSD: arcofi.4,v 1.4 2011/12/27 10:28:35 jmc Exp $ +.\" +.\" +.\" Copyright (c) 2011 Miodrag Vallat. +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd August 25, 2014 +.Dt ARCOFI 4 +.Os +.Sh NAME +.Nm arcofi +.Nd Siemens PSB2160 audio codec +.Sh SYNOPSIS +.Cd "arcofi* at dio?" +.\" .Cd "arcofi* at gsc?" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +driver supports the HP +.Dq Audio1 +audio devices, based upon the Siemens PSB2160 +.Dq ARCOFI +codec, to implement the audio device interface described in +.Xr audio 4 . +.Pp +This device is found onboard HP 9000 workstations models 425e, 705 and 710. +.Pp +The +.Nm +is limited to a phone-quality mono, 8000 Hz sound. +.Ss AUDIOCTL SETTINGS +The following encodings are supported: +.Pp +.Bl -tag -width AUDIO_ENCODING_SLINEAR_BE -offset indent -compact +.It Li AUDIO_ENCODING_ULAW +.It Li AUDIO_ENCODING_ALAW +.It Li AUDIO_ENCODING_SLINEAR_BE +Natively supported. +.Pp +.It Li AUDIO_ENCODING_SLINEAR +.It Li AUDIO_ENCODING_SLINEAR_LE +.It Li AUDIO_ENCODING_ULINEAR_LE +.It Li AUDIO_ENCODING_ULINEAR_BE +Software converted to +.Li AUDIO_ENCODING_SLINEAR_BE +encoding. +.El +.Ss MIXERCTL SETTINGS +The +.Nm +has three audio ports: +.Pp +.Bl -tag -width "outputs.lineXXX" -offset indent -compact +.It Cm inputs.line +The +.Sq line in +jack connector. +.It Cm outputs.line +The +.Sq line out +jack connector. +.It Cm outputs.speaker +The built-in speaker. +.El +.Pp +Each port has a volume control, and can be muted. +.Pp +The +.Cm outputs.line +and +.Cm outputs.speaker +volume settings are tied to the same hardware setting. +.Sh SEE ALSO +.Xr audioctl 1 , +.Xr mixerctl 1 , +.Xr ioctl 2 , +.Xr audio 4 , +.Xr dio 4 , +.\" .Xr gsc 4 , +.Xr intro 4 +.Sh HISTORY +The +.Nm +driver was written for +.Ox +and first appeared in +.Ox 5.1 , +and was ported to +.Nx . diff --git a/static/netbsd/man4/aria.4 b/static/netbsd/man4/aria.4 new file mode 100644 index 00000000..8e14e972 --- /dev/null +++ b/static/netbsd/man4/aria.4 @@ -0,0 +1,72 @@ +.\" $NetBSD: aria.4,v 1.10 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 1999 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Roland C. Dowdeswell. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 22, 2005 +.Dt ARIA 4 +.Os +.Sh NAME +.Nm aria +.Nd Sierra's Aria chipset audio device driver +.Sh SYNOPSIS +.Cd "aria0 at isa? port 0xPPP irq I" +.Cd "aria0 at isa? port 0xPPP irq I flags 1" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Sierra's Aria chipset, +which is the basis of such cards as the Prometheus Aria 16, the +Genoa AudioBahn 16 Pro, and some Diamond Sonic Sounds (Rev A5 and +Rev B2). +.Pp +The Sierra Aria chipset is full-duplex and is capable of 8- and +16- bit audio sample recording and playback at 7875 Hz, 11025 Hz, +15750 Hz, 22050 Hz, 31500 Hz, and 44100 Hz. +.Pp +Valid I/O addresses are 0x280, 0x290, 0x2A0, and 0x2B0. +The IRQ may be set to 10, 11, or 12. +.Pp +The flags setting is necessary for +the Prometheus Aria 16, as it needs to be specially +configured at each cold boot by twiddling with the +joystick port. +.Sh SEE ALSO +.Xr audio 4 , +.Xr isa 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.4 . +.Sh BUGS +DMA is not yet supported. +.Pp +The flags option should not be necessary. +.Pp +It is necessary to configure the port and irq. diff --git a/static/netbsd/man4/artsata.4 b/static/netbsd/man4/artsata.4 new file mode 100644 index 00000000..97372b20 --- /dev/null +++ b/static/netbsd/man4/artsata.4 @@ -0,0 +1,62 @@ +.\" $NetBSD: artsata.4,v 1.5 2009/10/19 18:41:08 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" 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. +.\" +.\" 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. +.\" +.Dd February 12, 2005 +.Dt ARTSATA 4 +.Os +.Sh NAME +.Nm artsata +.Nd Intel i31244 Serial ATA disk controller driver +.Sh SYNOPSIS +.Cd "artsata* at pci? dev ? function ? flags 0x0000" +.Cd "options PCIIDE_I31244_DISABLEDMA" +.Sh DESCRIPTION +The +.Nm +driver supports the Intel i31244 Serial ATA and controllers, +and provides the interface with the hardware for the +.Xr ata 4 +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the SATA controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr ata 4 , +.Xr atapi 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr pciide 4 , +.Xr wd 4 , +.Xr wdc 4 +.Sh BUGS +Early samples of the Intel i31244 Serial ATA controller revision 0 had a +bug affecting DMA data transfers. +Full production samples have been fixed, but have the same revision number. +The +.Dv PCIIDE_I31244_DISABLEDMA +option can be used to disable DMA on the buggy revisions. diff --git a/static/netbsd/man4/ast.4 b/static/netbsd/man4/ast.4 new file mode 100644 index 00000000..39e1f577 --- /dev/null +++ b/static/netbsd/man4/ast.4 @@ -0,0 +1,92 @@ +.\" $NetBSD: ast.4,v 1.12 2004/05/11 22:42:47 wiz Exp $ +.\" +.\" Copyright (c) 1990, 1991 The Regents of the University of California. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to Berkeley by +.\" the Systems Programming Group of the University of Utah Computer +.\" Science Department. +.\" 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. 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: @(#)dca.4 5.2 (Berkeley) 3/27/91 +.\" from: Id: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp +.\" +.Dd March 30, 1994 +.Dt AST 4 +.Os +.Sh NAME +.Nm ast +.Nd +multiplexing serial communications interface +.Sh SYNOPSIS +.Cd "ast0 at isa? port 0x1a0 irq 5" +.Cd "com2 at ast? slave ?" +.Cd "com3 at ast? slave ?" +.Cd "com4 at ast? slave ?" +.Cd "com5 at ast? slave ?" +.Sh DESCRIPTION +The +.Nm ast +driver provides support for boards that multiplex together up to four +.Tn EIA +.Tn RS-232C +.Pf ( Tn CCITT +.Tn V.28 ) +communications interfaces. +Apparently the original maker of hardware +using this multiplexing protocol was AST. +.Pp +Each +.Nm +device is the master device for up to four +.Nm com +devices. +The kernel configuration specifies these +.Nm com +devices as slave devices of the +.Nm +device, as shown in the synopsis. +The slave ID given for each +.Nm com +device determines which bit in the interrupt multiplexing register is +tested to find interrupts for that device. +The +.Tn port +specification for the +.Nm +device is used to compute the base addresses for the +.Nm com +subdevices and the port for the interrupt multiplexing register. +.Sh FILES +.Bl -tag -width Pa +.It Pa /dev/tty0? +.El +.Sh SEE ALSO +.Xr com 4 +.Sh HISTORY +The +.Nm +driver was written by Roland McGrath and placed into the public +domain. diff --git a/static/netbsd/man4/asus.4 b/static/netbsd/man4/asus.4 new file mode 100644 index 00000000..2d4bb51f --- /dev/null +++ b/static/netbsd/man4/asus.4 @@ -0,0 +1,77 @@ +.\" $NetBSD: asus.4,v 1.3 2014/07/18 11:14:18 njoly Exp $ +.\" +.\" Copyright (c) 2008 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd July 13, 2014 +.Dt ASUS 4 +.Os +.Sh NAME +.Nm asus +.Nd ASUS hotkeys +.Sh SYNOPSIS +.Cd "asus* at acpi?" +.Sh DESCRIPTION +The +.Nm +driver provides support for hotkeys available in various ASUS laptops and +netbooks (Eee PC series included). +.Pp +The following hotkeys are directly handled by +.Nm : +.Bl -tag -width pcdisplay -offset indent +.It \&Fn + F3 +Decrease LCD brightness +.It \&Fn + F4 +Increase LCD brightness +.It \&Fn + F5 +Switch between LCD and external video output +.It \&Fn + F7 +Toggle audio +.It \&Fn + F8 +Volume down +.It \&Fn + F9 +Volume up +.El +.Sh SEE ALSO +.Xr acpi 4 , +.Xr powerd 8 +.Sh HISTORY +The +.Nm +driver appeared in +.Nx 5.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +device driver was written by +.An Jared D. McNeill . +This man page was written by +.An Leonardo Taccari . +.Sh BUGS +At the moment +.Nm +does not handle +Fn + F6 (Task manager). diff --git a/static/netbsd/man4/ata.4 b/static/netbsd/man4/ata.4 new file mode 100644 index 00000000..a3174628 --- /dev/null +++ b/static/netbsd/man4/ata.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: ata.4,v 1.6 2017/04/23 14:34:22 jdolecek Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" 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. +.\" +.\" 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. +.\" +.Dd April 23, 2017 +.Dt ATA 4 +.Os +.Sh NAME +.Nm ata , +.Nm atabus +.Nd AT attachment (ATA) bus driver +.Sh SYNOPSIS +.Cd "atabus* at wdc? channel ?" +.Cd "atabus* at pciide? channel ?" +.Cd "atabus* at ahcisata? channel ?" +.Cd "atabus* at mvsata? channel ?" +.Cd "atabus* at siisata? channel ?" +.Sh DESCRIPTION +The +.Nm +driver provides basic low-level functions for the +.Xr wd 4 +and +.Xr atapi 4 +drivers, for hardware which provides direct access to the ATA registers. +.Sh SEE ALSO +.Xr ahcisata 4 , +.Xr atapi 4 , +.Xr intro 4 , +.Xr mvsata 4 , +.Xr pciide 4 , +.Xr siisata 4 , +.Xr wd 4 , +.Xr wdc 4 diff --git a/static/netbsd/man4/atalk.4 b/static/netbsd/man4/atalk.4 new file mode 100644 index 00000000..895d63c1 --- /dev/null +++ b/static/netbsd/man4/atalk.4 @@ -0,0 +1,183 @@ +.\" $NetBSD: atalk.4,v 1.20 2021/02/26 11:12:45 nia Exp $ +.\" +.\" This file is derived from the atalk.4 man page in the Netatalk 1.4b2 +.\" distribution. That distribution is covered by the following copyright: +.\" +.\" Copyright (c) 1990,1996 Regents of The University of Michigan. +.\" All Rights Reserved. +.\" +.\" Permission to use, copy, modify, and distribute this software and +.\" its documentation for any purpose and without fee is hereby granted, +.\" provided that the above copyright notice appears in all copies and +.\" that both that copyright notice and this permission notice appear +.\" in supporting documentation, and that the name of The University +.\" of Michigan not be used in advertising or publicity pertaining to +.\" distribution of the software without specific, written prior +.\" permission. This software is supplied as is without expressed or +.\" implied warranties of any kind. +.\" +.\" This product includes software developed by the University of +.\" California, Berkeley and its contributors. +.\" +.\" Research Systems Unix Group +.\" The University of Michigan +.\" c/o Wesley Craig +.\" 535 W. William Street +.\" Ann Arbor, Michigan +.\" +1-313-764-2278 +.\" netatalk@umich.edu +.\" +.Dd February 26, 2021 +.Dt ATALK 4 +.Os +.Sh NAME +.Nm atalk +.Nd AppleTalk Protocol Family +.Sh SYNOPSIS +.In sys/types.h +.In netatalk/at.h +.Sh DESCRIPTION +The +.Tn AppleTalk +Protocol Family provides presentation layer support for the AppleTalk +Datagram Delivery Protocol (DDP), using the SOCK_DGRAM socket type. +In addition, access to in-kernel AppleTalk routing tables and network +interface configurations is provided. +.Pp +The AppleTalk Protocol Suite provides support for five kinds of +physical media: LocalTalk (230kbps wire-or'd serial), Ethernet, +FDDI, Token Ring, and asynchronous serial connections (using either +AppleTalk Remote Access +.Pq Tn ARA +or +.Tn PPP +). +Currently, +.Nx Ns 's +AppleTalk implementation supports Ethernet. +.Pp +AppleTalk packets are encapsulated on the Ethernet using the EtherTalk +Link Access Protocol (ELAP). +Local network address resolution is +handled using the AppleTalk Address Resolution Protocol (AARP). +Neither of these protocols is exposed to user-mode applications. +.Sh ADDRESSING +AppleTalk addresses are three byte quantities, stored in network +byte order. +The include file +.In netatalk/at.h +defines the AppleTalk address format. +.Pp +Sockets in the AppleTalk protocol family use the following address +structure: +.Bd -literal -offset indent +struct sockaddr_at { + uint8_t sat_len; + sa_family_t sat_family; + uint8_t sat_port; + struct at_addr sat_addr; + union { + struct netrange r_netrange; + char r_zero[8]; + } sat_range; +}; +.Ed +.Pp +The port of a socket may be set with +.Xr bind 2 . +The node for +.Xr bind 2 +must always be +.Dv ATADDR_ANYNODE : +.Dq this node . +The net +.\"may +must +be +.Dv ATADDR_ANYNET . +.\"or +.\".Dv ATADDR_LATENET . +.Dv ATADDR_ANYNET +corresponds to the machine's +.Dq primary +address (the first configured). +.\".Dv ATADDR_LATENET +.\"causes the address in outgoing packets to be determined when a packet +.\"is sent, i.e. determined late. +.\".Dv ATADDR_LATENET +.\"is equivalent to opening one socket for each network interface. +The port of a socket and +.\"either +the primary address +.\"or +.\".Dv ATADDR_LATENET +are returned with +.Xr getsockname 2 . +.Sh PROTOCOLS +The AppleTalk protocol family comprises the +.Tn DDP +datagram delivery protocol, +AppleTalk Data Stream Protocol +.Pq Tn ADSP , +AppleTalk Echo Protocol +.Pq Tn AEP , +AppleTalk Filing Protocol +.Pq Tn AFP , +AppleTalk Session Protocol +.Pq Tn ASP , +AppleTalk Transaction Protocol +.Pq Tn ATP , +Name Binding Protocol +.Pq Tn NBP , +Printer Access Protocol +.Pq Tn PAP , +and Zone Information Protocol +.Pq Tn ZIP . +.Pp +.Tn DDP +is implemented in the kernel as +.Dv SOCK_DGRAM +sockets in the +.Dv AF_APPLETALK +address family. +.Nx +implements all other +.Tn AppleTalk +protocols using the +.Tn Netatalk +package. +.Tn Netatalk +implements all functions except for +.Tn ADSP +and an +.Tn AFP +client. +.Tn AEP , +.Tn NBP , +and +.Tn ZIP +services are provided by the +.Tn atalkd +daemon. +.Tn ASP +and +.Tn ATP +services are provided by a user library. +.Tn PAP +and +.Tn AFP +services are provided by user programs and daemons. +.Sh SEE ALSO +.\" .BR ddp (4P), +.\" .BR atp (3N), +.\" .BR asp (3N), +.Xr bind 2 , +.Xr getsockname 2 , +.Xr options 4 +.\" .Xr atalkd 8 +.Rs +.%B Inside AppleTalk, second edition +.%A Gursharan S. Sidhu +.%A Richard F. Andrews +.%A Alan B. Oppenheimer +.Re diff --git a/static/netbsd/man4/ataraid.4 b/static/netbsd/man4/ataraid.4 new file mode 100644 index 00000000..6d94ef3e --- /dev/null +++ b/static/netbsd/man4/ataraid.4 @@ -0,0 +1,94 @@ +.\" $NetBSD: ataraid.4,v 1.15 2013/08/06 17:33:29 snj Exp $ +.\" +.\" Copyright (c) 2005 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Allen K. Briggs. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd September 16, 2008 +.Dt ATARAID 4 +.Os +.Sh NAME +.Nm ataraid +.Nd software BIOS RAID +.Sh SYNOPSIS +.Cd "pseudo-device ataraid" +.Cd "ld* at ataraid? vendtype ? unit ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for BIOS-based software RAID controllers. +These are devices which have some simple support for several basic +RAID levels (often RAID 0 and RAID 1), but which require software +support to actually perform the RAID function. +The BIOS support is largely just to create and recognize the array +so that it may be a boot device. +.Pp +The driver currently supports RAID formats from: +.Bl -bullet -offset indent -compact +.It +Adaptec HostRAID (found in Intel 6300ESB) +.It +Intel MatrixRAID +.It +JMicron RAID +.It +nVidia MediaShield +.It +Promise FastTrak +.It +Via V-RAID (found in many VIA-based motherboards) +.El +.Pp +Status of the logical disk, as well as the disks associated with it, +can be viewed through the +.Xr bioctl 8 +utility. +.Sh SEE ALSO +.Xr ld 4 , +.Xr bioctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 2.0 . +.Sh AUTHORS +The +.Nm +driver was originally adapted from +.Fx +by +.An Jason Thorpe +.Aq thorpej@NetBSD.org . +.Sh BUGS +Not all features of the software RAID are currently recognized or +supported. +For example, the Adaptec support doesn't recognize when a RAID 1 +should be in a +.Dq building +state, and it does not do the right thing. +.Pp +At least part of the reason for this is that the publicly-available +information on these formats is quite limited. diff --git a/static/netbsd/man4/ate.4 b/static/netbsd/man4/ate.4 new file mode 100644 index 00000000..d248f854 --- /dev/null +++ b/static/netbsd/man4/ate.4 @@ -0,0 +1,75 @@ +.\" $NetBSD: ate.4,v 1.8 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 1999 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd October 5, 2002 +.Dt ATE 4 +.Os +.Sh NAME +.Nm ate +.Nd +.Tn Fujitsu +MB86965A based +.Tn Allied-Telesis +Ethernet cards driver +.Sh SYNOPSIS +.Cd "ate0 at isa? port 0x2a0 irq ?" +.Cd "ate* at mca? slot ?" +.Sh DESCRIPTION +The +.Nm +driver supports +.Tn Allied-Telesis +.Tn ISA +and +.Tn MCA +bus +.Tn Ethernet +adapters based on the +.Tn Fujitsu +MB86965A +.Tn Ethernet +controller. +Supported boards include: +.Pp +.Bl -tag -width xxxx -offset indent +.It Tn Allied-Telesis AT1700T/AT1700BT/AT1700FT/AT1700AT +.It Tn Allied-Telesis AT1720T/AT1720BT/AT1720FT/AT1720AT +.It Tn Allied-Telesis RE2001/RE2003/RE2005/RE2009 +.El +.Sh SEE ALSO +.Xr fmv 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr mbe 4 , +.Xr mca 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.4 . diff --git a/static/netbsd/man4/ath.4 b/static/netbsd/man4/ath.4 new file mode 100644 index 00000000..15170d6a --- /dev/null +++ b/static/netbsd/man4/ath.4 @@ -0,0 +1,307 @@ +.\" $NetBSD: ath.4,v 1.34 2019/05/27 02:23:16 maya Exp $ +.\" +.\" Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting +.\" 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, +.\" without modification. +.\" 2. Redistributions in binary form must reproduce at minimum a disclaimer +.\" similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any +.\" redistribution must be conditioned upon including a substantially +.\" similar Disclaimer requirement for further binary redistribution. +.\" 3. Neither the names of the above-listed copyright holders nor the names +.\" of any contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" NO WARRANTY +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +.\" LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY +.\" AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +.\" THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR 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 DAMAGES. +.\" +.\" +.\" Note: This man page was taken by Perry Metzger almost entirely +.\" from the "ath" and "ath_hal" man pages in FreeBSD. I claim no +.\" copyright because there was nearly no original work performed in +.\" doing so. Maintainers should check the FreeBSD originals for +.\" updates against the following two revisions and incorporate them +.\" if needed: +.\" +.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/ath.4,v 1.16 2004/02/18 08:30:08 maxim Exp $ +.\" parts from $FreeBSD: /repoman/r/ncvs/src/share/man/man4/ath_hal.4,v 1.7 2004/01/07 20:49:51 blackend Exp $ +.\" +.Dd May 27, 2019 +.Dt ATH 4 +.Os +.Sh NAME +.Nm ath +.Nd Atheros IEEE 802.11 driver +.Sh SYNOPSIS +.Cd "ath* at pci? dev ? function ?" +.Cd "ath* at cardbus? function ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for wireless network adapters based on +the Atheros AR2413, AR2417, AR5210, AR5211, AR5212, AR5213, AR5413, +AR5416, AR5424, AR9160, AR9280, and AR9285 chips. +Chip-specific support is provided by the Atheros Hardware Access Layer +(HAL). +.Pp +Supported features include 802.11 and 802.3 frames, power management, BSS, +IBSS, and host-based access point operation modes. +All host/device interaction is via DMA. +.Pp +The +.Nm +driver encapsulates all IP and ARP traffic as 802.11 frames, however +it can receive either 802.11 or 802.3 frames. +Transmit speed and operating mode is selectable +depending on your hardware. +.Pp +AR5210-based devices support 802.11a operation with transmit speeds +of 6 Mbps, 9 Mbps, 12 Mbps, 18 Mbps, 24 Mbps, 36 Mbps, 48 Mbps, and 54 Mbps. +.Pp +AR5211-based devices support 802.11a and 802.11b operation with transmit +speeds as above for 802.11a operation and +1Mbps, 2Mbps, 5.5 Mbps and 11Mbps for 802.11b operation. +.Pp +AR5212-based and AR5213-based devices support 802.11a, 802.11b, and +802.11g operation with transmit speeds appropriate to each. +.Pp +All chips also support an Atheros Turbo Mode (TM) that operates in the +802.11a frequency range with 2x the transmit speeds. +(This mode is, however, only interoperable with other Atheros-based devices.) +.Pp +The actual transmit speed used is dependent on signal quality and the +.Dq rate control +algorithm employed by the driver. +All chips support WEP encryption. +.Pp +By default, the +.Nm +driver configures the card for BSS operation (aka infrastructure +mode). +This mode requires the use of an access point (base station). +.Pp +The +.Nm +driver also supports the standard IBSS point-to-point mode +where stations can communicate amongst themselves without the +aid of an access point. +.Pp +The driver may also be configured to operate in hostap mode. +In this mode a host may function as an access point (base station). +Access points are different than operating in IBSS mode. +They operate in BSS mode. +They allow for easier roaming and bridge all Ethernet traffic such +that machines connected via an access point appear to be on the local +Ethernet segment. +.Pp +The mode of operation is chosen by specifying the appropriate mediaopt +value to ifconfig. +The +.Fl m +flag to ifconfig will list the available options. +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Pp +Devices supported by the +.Nm +driver come in either CardBus or mini-PCI packages. +Wireless cards in CardBus slots may be inserted and ejected on the fly. +.Pp +The following cards are among those supported by the +.Nm +driver: +.Pp +.Bl -column -compact "Samsung SWL-5200N" "AR5212" "CardBus" "a/b/g" +.It Em "Card Chip Bus Standard" +.It 3Com 3CRPAG175 AR5212 CardBus a/b/g +.It Airlink AWLH4030 AR5212 PCI b/g +.It Aztech WL830PC AR5212 CardBus b/g +.It Belkin F6D3000 AR5212 PCI a/b/g +.It D-Link DWL-A520 AR5210 PCI a +.It D-Link DWL-A650 AR5210 CardBus a +.It D-Link DWL-AB650 AR5211 CardBus a/b +.It D-Link DWL-AG520 AR5212 PCI a/b/g +.It D-Link DWL-AG650 AR5212 CardBus a/b/g +.It D-Link DWL-AG660 AR521? CardBus a/b/g +.It D-Link DWL-G520 AR5212 PCI b/g +.It D-Link DWL-G650B AR5212 CardBus b/g +.It Elecom LD-WL54 AR5211 CardBus a +.It Elecom LD-WL54AG AR5212 CardBus a/b/g +.It Fujitsu E5454 AR5212 CardBus a/b/g +.It Fujitsu E5454 AR5212 CardBus a/b/g +.It Fujitsu FMV-JW481 AR5212 CardBus a/b/g +.It HP NC4000 AR5212 PCI a/b/g +.It I/O Data WN-A54 AR5212 CardBus a +.It I/O Data WN-AB AR5212 CardBus a/b +.It I/O Data WN-AG AR5212 CardBus a/b/g +.It Linksys WMP55AG AR5212 PCI a/b/g +.It Linksys WPC51AB AR5211 CardBus a/b +.It Linksys WPC55AG AR5212 CardBus a/b/g +.It NEC PA-WL/54AG AR5212 CardBus a/b/g +.It Netgear WAB501 AR5211 CardBus a/b +.It Netgear WAG311 AR5212 PCI a/b/g +.It Netgear WAG511 AR5212 CardBus a/b/g +.It Netgear WG311 AR5212 PCI b/g +.It Netgear WG511T AR5212 CardBus b/g +.It Orinoco 8470WD AR5212 CardBus a/b/g +.It Orinoco 8480 AR5212 CardBus a/b/g +.It Planex GW-NS54AG AR5212 CardBus a/b/g +.It Proxim Skyline 4030 AR5210 CardBus a +.It Proxim Skyline 4032 AR5210 PCI a +.It Samsung SWL-5200N AR5212 CardBus a/b/g +.It SMC SMC2735W AR5210 CardBus a +.It Sony PCWA-C300S AR5212 CardBus b/g +.It Sony PCWA-C500 AR5210 CardBus a +.It Sony PCWA-C700 AR5212 CardBus a/b +.It Ubiquiti SRC AR5213 CardBus a/b/g +.El +.Sh DIAGNOSTICS +.Bl -diag +.It "ath%d: unable to attach hardware; HAL status %u" +The Atheros Hardware Access Layer was unable to configure the hardware +as requested. +The status code is explained in the HAL include file +.Pa contrib/sys/dev/ic/athhal.h . +.It "ath%d: failed to allocate descriptors: %d" +The driver was unable to allocate contiguous memory for the transmit +and receive descriptors. +This usually indicates system memory is scarce and/or fragmented. +.It "ath%d: unable to setup a data xmit queue!" +The request to the HAL to setup the transmit queue for normal +data frames failed. +This should not happen. +.It "ath%d: unable to setup a beacon xmit queue!" +The request to the HAL to setup the transmit queue for 802.11 beacon frames +failed. +This should not happen. +.It "ath%d: 802.11 address: %s" +The MAC address programmed in the EEPROM is displayed. +.It "ath%d: hardware error; resetting" +An unrecoverable error in the hardware occurred. +Errors of this sort include unrecoverable DMA errors. +The driver will reset the hardware and continue. +.It "ath%d: rx FIFO overrun; resetting" +The receive FIFO in the hardware overflowed before the data could be +transferred to the host. +This typically occurs because the hardware ran short of receive +descriptors and had no place to transfer received data. +The driver will reset the hardware and continue. +.It "ath%d: unable to reset hardware; hal status %u" +The Atheros Hardware Access Layer was unable to reset the hardware +as requested. +The status code is explained in the HAL include file +.Pa sys/external/isc/atheros_hal/dist/ah.h . +This should not happen. +.It "ath%d: unable to start recv logic" +The driver was unable to restart frame reception. +This should not happen. +.It "ath%d: device timeout" +A frame dispatched to the hardware for transmission did not complete in time. +The driver will reset the hardware and continue. +This should not happen. +.It "ath%d: bogus xmit rate 0x%x" +An invalid transmit rate was specified for an outgoing frame. +The frame is discarded. +This should not happen. +.It "ath%d: ath_chan_set: unable to reset channel %u (%u MHz)" +The Atheros Hardware Access Layer was unable to reset the hardware +when switching channels during scanning. +This should not happen. +.It "ath%d: unable to allocate channel table" +The driver was unable to allocate memory for the table used to hold +the set of available channels. +.It "ath%d: unable to collect channel list from hal" +A problem occurred while querying the HAL to find the set of available +channels for the device. +This should not happen. +.It "ath%d: %s: %dM -> %dM (%d ok, %d err, %d retr)" +The driver's rate control algorithm changed the current rate for transmitting +frames. +This message is temporarily enabled for normal use to help in diagnosing +and improving the rate control algorithm. +The message indicates the new and old transmit rates and the statistics +it used to decide on this change. +.It "ath%d: failed to enable memory mapping" +The driver was unable to enable memory-mapped I/O to the PCI device registers. +This should not happen. +.It "ath%d: failed to enable bus mastering" +The driver was unable to enable the device as a PCI bus master for doing DMA. +This should not happen. +.It "ath%d: cannot map register space" +The driver was unable to map the device registers into the host address space. +This should not happen. +.It "ath%d: could not map interrupt" +The driver was unable to allocate an IRQ for the device interrupt. +This should not happen. +.It "ath%d: could not establish interrupt" +The driver was unable to install the device interrupt handler. +This should not happen. +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr cardbus 4 , +.Xr ifmedia 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 5.2 . +It was ported to +.Nx 2.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was originally written by +.An Sam Leffler , +and was ported to +.Nx +by +.An David Young . +.Sh CAVEATS +Different regulatory domains have different default channels for adhoc +mode. +See +.Xr ifconfig 8 +for information on how to change the channel. +Different regulatory domains may not be able to communicate with each +other with 802.11a as different regulatory domains do not necessarily +have overlapping channels. +.Pp +Revision A1 of the D-LINK DWL-G520 and DWL-G650 are based on an +Intersil PrismGT chip and are not supported by this driver. +.Pp +Revision v2 of the Netgear WG311 is based on a Texas Instruments ACX111 +and is not supported by this driver. +.Pp +Revision v3 of the Netgear WG311 is based on a Marvell Libertas +88W8335 and is not supported by this driver. +.Sh BUGS +Performance in lossy environments is suboptimal. +The algorithm used to select the rate for transmitted packets is +very simplistic. +There is no software retransmit; only hardware retransmit is used. +Contributors are encouraged to replace the existing rate control algorithm +with a better one (hint: all the information needed is available to the driver). +.Pp +The driver does not fully enable power-save operation of the chip; +consequently power use is suboptimal. diff --git a/static/netbsd/man4/athn.4 b/static/netbsd/man4/athn.4 new file mode 100644 index 00000000..3cfde70a --- /dev/null +++ b/static/netbsd/man4/athn.4 @@ -0,0 +1,251 @@ +.\" $NetBSD: athn.4,v 1.7 2014/05/06 07:29:30 martin Exp $ +.\" $OpenBSD: athn.4,v 1.21 2012/09/17 11:04:24 sthen Exp $ +.\" +.\" Copyright (c) 2009 Damien Bergamini . +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd July 31, 2013 +.Dt ATHN 4 +.Os +.Sh NAME +.Nm athn +.Nd Atheros IEEE 802.11a/g/n wireless network device +.Sh SYNOPSIS +.Cd "athn* at cardbus?" +.Cd "athn* at pci?" +.Cd "athn* at uhub? port ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for a wide variety of +Atheros 802.11n devices, ranging from the AR5008 up to the AR9287. +.Pp +The AR5008 (codenamed Owl) is the first generation of +Atheros 802.11n solutions. +It consists of two chips, a MAC/Baseband Processor and a Radio-on-a-Chip. +The MAC/Baseband Processor can be an AR5416 (PCI and CardBus form factors) +or an AR5418 (PCIe Mini Card form factor). +The radio can be an AR2122, AR2133, AR5122 or an AR5133 chip. +The AR2122 chip operates in the 2GHz spectrum and supports up to 2 +transmit paths and 2 receiver paths (2T2R). +The AR2133 chip operates in the 2GHz spectrum and supports up to 3 +transmit paths and 3 receiver paths (3T3R). +The AR5122 chip operates in the 2GHz and 5GHz spectra and supports +up to 2 transmit paths and 2 receiver paths (2T2R). +The AR5133 chip operates in the 2GHz and 5GHz spectra and supports +up to 3 transmit paths and 3 receiver paths (3T3R). +.Pp +The AR9001 (codenamed Sowl) is a Mini-PCI 802.11n solution. +It consists of two chips, an AR9160 MAC/Baseband Processor and an +AR9103 or AR9106 Radio-on-a-Chip. +The AR9103 chip operates in the 2GHz spectrum and supports up to 3 +transmit paths and 3 receiver paths (3T3R). +The AR9106 chip operates in the 2GHz and 5GHz spectra and supports +up to 3 transmit paths and 3 receiver paths (3T3R). +.Pp +The AR9220, AR9223 and AR9280 (codenamed Merlin) are the +first generation of +Atheros single-chip 802.11n solutions. +The AR9220 and AR9223 exist in PCI and Mini-PCI form factors. +The AR9280 exists in PCIe Mini Card (XB92), half Mini Card (HB92) +and USB 2.0 (AR9280+AR7010) form factors. +The AR9220 and AR9280 operate in the 2GHz and 5GHz spectra and +support 2 transmit paths and 2 receiver paths (2T2R). +The AR9223 operates in the 2GHz spectrum and supports 2 +transmit paths and 2 receiver paths (2T2R). +.Pp +The AR9281 is a single-chip PCIe 802.11n solution. +It exists in PCIe Mini Card (XB91) and half Mini Card (HB91) form +factors. +It operates in the 2GHz spectrum and supports 1 transmit path and +2 receiver paths (1T2R). +.Pp +The AR9285 (codenamed Kite) is a single-chip PCIe 802.11n solution that +targets the value PC market. +It exists in PCIe half Mini Card (HB95) form factor only. +It operates in the 2GHz spectrum and supports a single stream (1T1R). +It can be combined with the AR3011 chip to form a combo WiFi/Bluetooth +device (WB195). +.Pp +The AR9271 is a single-chip USB 2.0 802.11n solution. +It operates in the 2GHz spectrum and supports a single stream (1T1R). +.Pp +The AR2427 is a single-chip PCIe 802.11b/g solution similar to the other +AR9280 solutions but with 802.11n capabilities removed. +It exists in PCIe Mini Card form factor only. +It operates in the 2GHz spectrum. +.Pp +The AR9227 and AR9287 are single-chip 802.11n solutions that +target mid-tier PCs. +The AR9227 exists in PCI and Mini-PCI form factors. +The AR9287 exists in PCIe half Mini Card (HB97) +and USB 2.0 (AR9287+AR7010) form factors. +They operate in the 2GHz spectrum and support 2 transmit paths and 2 +receiver paths (2T2R). +.Pp +The following table summarizes the supported chips and their capabilities. +.Bl -column "AR9001-3NX2 (AR9160+AR9106)" "2GHz/5GHz" "3x3:3" "PCI/CardBus" -offset 6n +.It Em Chipset Ta Em Spectrum Ta Em TxR:S Ta Em Bus +.It "AR5008-2NG (AR5416+AR2122)" Ta 2GHz Ta 2x2:2 Ta PCI/CardBus +.It "AR5008-3NG (AR5416+AR2133)" Ta 2GHz Ta 3x3:2 Ta PCI/CardBus +.It "AR5008-2NX (AR5416+AR5122)" Ta 2GHz/5GHz Ta 2x2:2 Ta PCI/CardBus +.It "AR5008-3NX (AR5416+AR5133)" Ta 2GHz/5GHz Ta 3x3:2 Ta PCI/CardBus +.It "AR5008E-2NG (AR5418+AR2122)" Ta 2GHz Ta 2x2:2 Ta PCIe +.It "AR5008E-3NG (AR5418+AR2133)" Ta 2GHz Ta 3x3:2 Ta PCIe +.It "AR5008E-2NX (AR5418+AR5122)" Ta 2GHz/5GHz Ta 2x2:2 Ta PCIe +.It "AR5008E-3NX (AR5418+AR5133)" Ta 2GHz/5GHz Ta 3x3:2 Ta PCIe +.It "AR9001-2NG (AR9160+AR9103)" Ta 2GHz Ta 2x2:2 Ta PCI +.It "AR9001-3NG (AR9160+AR9103)" Ta 2GHz Ta 3x3:2 Ta PCI +.It "AR9001-3NX2 (AR9160+AR9106)" Ta 2GHz/5GHz Ta 3x3:2 Ta PCI +.It "AR9220" Ta 2GHz/5GHz Ta 2x2:2 Ta PCI +.It "AR9223" Ta 2GHz Ta 2x2:2 Ta PCI +.It "AR9280" Ta 2GHz/5GHz Ta 2x2:2 Ta PCIe +.It "AR9280+AR7010" Ta 2GHz/5GHz Ta 2x2:2 Ta USB 2.0 +.It "AR9281" Ta 2GHz Ta 1x2:2 Ta PCIe +.It "AR9285" Ta 2GHz Ta 1x1:1 Ta PCIe +.It "AR9271" Ta 2GHz Ta 1x1:1 Ta USB 2.0 +.It "AR2427" Ta 2GHz Ta 1x1:1 Ta PCIe +.It "AR9227" Ta 2GHz Ta 2x2:2 Ta PCI +.It "AR9287" Ta 2GHz Ta 2x2:2 Ta PCIe +.It "AR9287+AR7010" Ta 2GHz Ta 2x2:2 Ta USB 2.0 +.El +.Pp +These are the modes the +.Nm +driver can operate in: +.Bl -tag -width "IBSS-masterXX" +.It BSS mode +Also known as +.Em infrastructure +mode, this is used when associating with an access point, through +which all traffic passes. +This mode is the default. +.It Host AP +In this mode the driver acts as an access point (base station) +for other cards. +.It monitor mode +In this mode the driver is able to receive packets without +associating with an access point. +This disables the internal receive filter and enables the card to +capture packets from networks which it wouldn't normally have access to, +or to scan for access points. +.El +.Pp +The +.Nm +driver can be configured to use +Wired Equivalent Privacy (WEP) or +Wi-Fi Protected Access (WPA-PSK and WPA2-PSK). +WPA is the de facto encryption standard for wireless networks. +It is strongly recommended that WEP +not be used as the sole mechanism +to secure wireless communication, +due to serious weaknesses in it. +The +.Nm +driver relies on the software 802.11 stack for both encryption and decryption +of data frames. +.\" driver offloads encryption and decryption to the hardware for the WEP40, +.\" WEP104, TKIP(+MIC) and CCMP ciphers. +.Pp +The transmit speed is user-selectable or can be adapted automatically by the +driver depending on the number of hardware transmission retries. +.Sh FILES +For USB devices, the driver needs at least version 1.1 of the following +firmware files, which are loaded when an interface is attached: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It /libdata/firmware/athn-ar7010 +.It /libdata/firmware/athn-ar7010-11 +.It /libdata/firmware/athn-ar9271 +.El +.\".Pp +.\"A prepackaged version of the firmware can be installed using +.\".Xr fw_update 1 . +.Sh EXAMPLES +The following +.Xr ifconfig.if 5 +example configures athn0 to join whatever network is available on boot, +using WEP key +.Dq 0x1deadbeef1 , +channel 11, obtaining an IP address using DHCP: +.Bd -literal -offset indent +dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11 +.Ed +.Pp +The following +.Xr ifconfig.if 5 +example creates a host-based access point on boot: +.Bd -literal -offset indent +inet 192.168.1.1 255.255.255.0 NONE media autoselect \e + mediaopt hostap nwid my_net chan 11 +.Ed +.Pp +Join an existing BSS network, +.Dq my_net : +.Bd -literal -offset indent +# ifconfig athn0 192.168.1.1 netmask 0xffffff00 nwid my_net +.Ed +.Sh DIAGNOSTICS +.Bl -diag +.It "athn%d: device timeout" +A frame dispatched to the hardware for transmission did not complete in time. +The driver will reset the hardware. +This should not happen. +.It "athn%d: radio is disabled by hardware switch" +The radio transmitter is off and thus no packet can go out. +The driver will reset the hardware. +Make sure the laptop radio switch is on. +.It "athn%d: radio switch turned off" +The radio switch has been turned off while the interface was up and running. +The driver will turn the interface down. +.It "athn%d: error %d, could not read firmware %s" +For some reason, the driver was unable to read the firmware file from the +filesystem. +The file might be missing or corrupted. +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr cardbus 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr usb 4 , +.Xr ifconfig.if 5 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.7 . +Support for USB 2.0 devices first appeared in +.Ox 4.9 . +It was later ported to +.Nx 7.0 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Damien Bergamini Aq Mt damien@openbsd.org +based on source code licensed under the ISC released in 2008 by +Atheros Communications for Linux. +.Sh CAVEATS +The +.Nm +driver does not support any of the 802.11n capabilities offered by +the adapters. +Additional work is required in +.Xr ieee80211 9 +before those features can be supported. diff --git a/static/netbsd/man4/atphy.4 b/static/netbsd/man4/atphy.4 new file mode 100644 index 00000000..c0f4d2e9 --- /dev/null +++ b/static/netbsd/man4/atphy.4 @@ -0,0 +1,37 @@ +.\" $NetBSD: atphy.4,v 1.3 2015/01/18 15:30:03 christos Exp $ +.\" $OpenBSD: atphy.4,v 1.1 2008/09/26 21:39:34 brad Exp $ +.\" +.\" Copyright (c) 2008 Brad Smith +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd January 18, 2015 +.Dt ATPHY 4 +.Os +.Sh NAME +.Nm atphy +.Nd Attansic Technology F1 10/100/1000 Ethernet PHY +.Sh SYNOPSIS +.Cd "atphy* at mii?" +.Sh DESCRIPTION +The +.Nm +driver supports the Attansic Technology F1 10/100/1000 Ethernet PHY. +.Sh SEE ALSO +.Xr age 4 , +.Xr alc 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr lii 4 , +.Xr mii 4 , +.Xr ifconfig 8 diff --git a/static/netbsd/man4/atppc.4 b/static/netbsd/man4/atppc.4 new file mode 100644 index 00000000..d21be36f --- /dev/null +++ b/static/netbsd/man4/atppc.4 @@ -0,0 +1,115 @@ +.\" $NetBSD: atppc.4,v 1.16 2018/08/31 19:36:28 sevan Exp $ +.\" +.\" Copyright (c) 1998, 1999, Nicolas Souchu +.\" Copyright (c) 2003, 2004 Gary Thorpe +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.Dd August 31, 2018 +.Dt ATPPC 4 +.Os +.Sh NAME +.Nm atppc +.Nd driver for AT-style parallel port chip sets +.Sh SYNOPSIS +.Cd "atppc* at acpi?" +.Cd "atppc* at isa? port 0x378 irq 7 drq 3 flags 0x00" +.Cd "atppc* at isapnp?" +.Cd "atppc* at ofisa?" +.Cd "atppc* at pnpbios? index ?" +.Cd "atppc* at puc? port ?" +.Cd options ATPPC_VERBOSE +.Cd options ATPPC_DEBUG +.Sh DESCRIPTION +.Nm +supports parallel ports and provides the low level support needed +by higher level drivers such as +.Xr ppbus 4 . +This driver attaches where the traditional +.Nx +.Xr lpt 4 +driver would ordinarily. +It provides the data transport and chip set manipulation needed by +higher driver layers, such as +.Xr ppbus 4 +and +.Xr lpt 4 . +This driver is designed to be one of many possible implementations +supporting machine independent parallel device support via +.Xr ppbus 4 . +.Ss IEEE 1284 support +.Nm +is intended to provide to data-link like services to higher level +IEEE 1284 device drivers (such as +.Xr ppbus 4 ) . +.Nm +does not directly support IEEE 1284 features such as mode negotiation +but rather provides the necessary infrastructure to allow a higher +level driver to provide these services. +.Pp +.Nm +does provide chip set manipulation, device handshakes (where +appropriate), low-level error detection, and data transfer. +.Ss Supported data transfer modes +.Nm +supports the following data transfer modes: Centronics Compatible +(Standard), Nibble, Byte (PS2), Fast Centronics, ECP, and EPP. +Standard and Fast Centronics modes are write only, Nibble and Byte +modes are read only, and ECP and EPP modes are bidirectional. +.\" .Sh FILES +.\" .Sh EXAMPLES +.Sh SEE ALSO +.Xr acpi 4 , +.Xr i386/pnpbios 4 , +.Xr isa 4 , +.Xr isapnp 4 , +.Xr lpt 4 , +.Xr ofisa 4 , +.Xr ppbus 4 , +.Xr puc 4 +.Sh HISTORY +The +.Nm +driver is based on the +.Nm ppc +driver, which originally appeared in +.Fx . +The driver was ported over in +.Nx 2.0 . +.Sh AUTHORS +This manual page is based on the +.Fx +.Nm ppc +manual page. +The information has been updated for the +.Nx +port by +.An "Gary Thorpe" . +.Sh BUGS +The +.Fx +driver includes support for some specific chip sets, specifically +detection of some non-standard device I/O locations on the ISA bus. +This support was not ported over to the +.Nx +version of the driver yet. diff --git a/static/netbsd/man4/attimer.4 b/static/netbsd/man4/attimer.4 new file mode 100644 index 00000000..1ff95235 --- /dev/null +++ b/static/netbsd/man4/attimer.4 @@ -0,0 +1,55 @@ +.\" $NetBSD: attimer.4,v 1.4 2009/03/09 19:24:28 joerg Exp $ +.\" +.\" Copyright (c) 2005 The NetBSD Foundation. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd March 22, 2005 +.Dt ATTIMER 4 +.Os +.Sh NAME +.Nm attimer +.Nd AT Timer (8253) driver +.Sh SYNOPSIS +.Cd "attimer* at acpi?" +.Cd "attimer0 at isa?" +.Sh DESCRIPTION +The +.Nm +driver handles the so-called AT Timer device, initially found as chip +model 8253. +It is used as the main counter for the clock on the i386 port, +but also offers control over the pitch of the PC speaker. +.Pp +The +.Nm +driver currently only implements the access to the ISA register +.Dq TIMER1 +which controls the pitch of the PC speaker, +and should be configured along with +.Xr pcppi 4 +to be of any actual use. +.Sh SEE ALSO +.Xr acpi 4 , +.Xr isa 4 , +.Xr pcppi 4 diff --git a/static/netbsd/man4/atu.4 b/static/netbsd/man4/atu.4 new file mode 100644 index 00000000..bf3c8bfc --- /dev/null +++ b/static/netbsd/man4/atu.4 @@ -0,0 +1,115 @@ +.\" $NetBSD: atu.4,v 1.2 2005/01/24 09:04:12 wiz Exp $ +.\" $OpenBSD: atu.4,v 1.9 2005/01/06 01:02:13 jmc Exp $ +.\" +.\" Copyright (c) 1997, 1998, 1999 +.\" Bill Paul . 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 Bill Paul. +.\" 4. Neither the name of the author nor the names of any co-contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY Bill Paul 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 Bill Paul OR THE VOICES IN HIS HEAD +.\" 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. +.\" +.Dd January 23, 2005 +.Dt ATU 4 +.Os +.Sh NAME +.Nm atu +.Nd Atmel at76c50x 802.11B wireless network interfaces +.Sh SYNOPSIS +.Cd "atu* at uhub? port ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for wireless network adapters based around +the Atmel at76c503, at76c503a, at76c505, and at76c505a USB chipsets. +.Pp +Supported features include 802.11 and 802.3 frames, power management, BSS, +IBSS, ad-hoc, and host-based access point mode. +.Pp +The +.Nm +driver encapsulates all IP and ARP traffic as 802.11 frames, however +it can receive either 802.11 or 802.3 frames. +Transmit speed is selectable between 1Mbps fixed, 2Mbps fixed, 2Mbps +with auto fallback, 5.5Mbps, 8Mbps, or 11Mbps depending on your hardware. +.Pp +Four different radio chipsets are used along with the device, each +requiring a different firmware. +.Pp +By default, the +.Nm +driver configures the card for BSS operation (aka infrastructure +mode). +This mode requires the use of an access point (base station). +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Pp +The following devices are among those supported by the +.Nm +driver: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It Tn Acer Peripherals AWL400 +.It Tn AcerP AWL-300 +.It Tn Aincomm AWU2000B +.It Tn Atmel 2662W-V4 +.It Tn Atmel BW002 +.It Tn Atmel DWL-120 +.It Tn Atmel WL-1330 +.It Tn Belkin F5D6050 +.It Tn Geowave GW-US11S +.It Tn Linksys WUSB11 +.It Tn Linksys WUSB11-V28 +.It Tn Ovislink AirLive +.It Tn SMC 2662W-AR +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr usb 4 , +.Xr ifconfig 8 , +.Xr wiconfig 8 +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Daan Vreeken +and ported to +.Ox +by +.An Theo de Raadt +and +.An David Gwynne . +The +.Ox +driver was then ported to +.Nx +by +.An Jesse Off +.Aq joff@NetBSD.org . diff --git a/static/netbsd/man4/atw.4 b/static/netbsd/man4/atw.4 new file mode 100644 index 00000000..4030e7d0 --- /dev/null +++ b/static/netbsd/man4/atw.4 @@ -0,0 +1,197 @@ +.\" $NetBSD: atw.4,v 1.14 2024/09/07 20:33:53 rillig Exp $ +.\" +.\" Copyright (c) 2003 +.\" David Young . 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY David Young 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 David Young +.\" 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. +.\" +.\" $Id: atw.4,v 1.14 2024/09/07 20:33:53 rillig Exp $ +.\" +.Dd June 5, 2004 +.Dt ATW 4 +.Os +.Sh NAME +.Nm atw +.Nd ADMtek ADM8211 802.11 wireless network driver +.Sh SYNOPSIS +.Cd "atw* at cardbus? function ?" +.Cd "atw* at pci? dev ? function ?" +.Sh DESCRIPTION +The +.Nm +driver supports PCI/CardBus 802.11b wireless adapters based on the +ADMtek ADM8211. +.Pp +The ADM8211 is a bus-mastering 802.11 Media Access Controller (MAC) +which is derived from ADMtek's Tulip clones (see +.Xr tlp 4 ) . +It supports contention-free traffic (with an 802.11 Point Coordinator), +64/128-bit WEP encryption, and 802.11 power-saving. +The ADM8211 integrates an RF3000 baseband processor (BBP) by RF +Microdevices. +.Pp +In a typical application, the ADM8211 is coupled with an RF front-end +by RFMD and a Silicon Laboratories Si4126 RF/IF synthesizer. +.Pp +With the ADM8211, the division of labor between the host and NIC +is different than with firmware-based NICs such as +.Xr an 4 , +.Xr awi 4 , +and +.Xr wi 4 . +The ADM8211 is still responsible for real-time 802.11 functions +such as sending ACK/RTS/CTS/ATIM frames, sending beacons, and +answering CF polls from the access point, but the host takes +responsibility for providing 802.11 functions such as scanning, +association, and authentication. +The host is also responsible for programming both the BBP and the +RF/IF synthesizer. +.Pp +.Nm +contains incomplete support for the ADM8211's WEP encryption/decryption +engine. +.Nm +does not yet support hardware WEP decryption, however, it will use +the ADM8211's crypto engine to encrypt transmitted frames. +Documentation from ADMtek claims that, in addition to the 4 128-bit +shared WEP keys, the ADM8211 will store WEP key pairs for up to 20 +peers. +The documentation provides no details, hence +.Nm +does not support the 20 key-pairs. +.Pp +The ADM8211 operates in 802.11 infrastructure mode (with an access +point) and in 802.11 ad hoc mode (without an access point) at 1, +2, 5.5, and 11Mbps. +ADMtek says that the ADM8211 cannot operate as an access point. +.Pp +The operating mode is selected using the +.Xr ifconfig 8 +utility. +For more information on configuring this device, see +.Xr ifconfig 8 +and +.Xr ifmedia 4 . +.Sh HARDWARE +Cards supported by the +.Nm +driver include: +.Pp +.Bl -item -offset indent -compact +.It +D-Link DWL-650 Rev. ?? CardBus card +.It +D-Link DWL-520 Rev. C1 PCI card +.It +LanReady WP2000 PCI card +.It +TrendNet TEW-221PC CardBus card +.It +Xterasys XN2511B PCI card +.It +.El +.Sh DIAGNOSTICS +.Bl -diag +.It "atw0: failed to tune channel %d" +The driver failed to tune the radio to a new channel. +The radio remains tuned to the old channel. +.It "atw0: atw_si4136_write wrote %08x, SYNCTL still busy" +The driver waited 100ms without seeing an indication that the +ADM8211 had finished writing a register on the Si4126 RF/IF +synthesizer. +.It "atw0: device timeout" +The ADM8211 failed to generate an interrupt to acknowledge a transmit +command. +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr cardbus 4 , +.Xr ifmedia 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Rs +.%T ADMtek +.%U http://www.admtek.com.tw +.Re +.Rs +.%T Silicon Laboratories +.%U https://www.silabs.com +.Re +.Rs +.%T RF Microdevices +.%U http://www.rfmd.com +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Nx 2.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An David Young +.Aq dyoung@NetBSD.org . +For features which the ADM8211 has in common with the DECchip 21x4x, +code was liberally borrowed from +.Xr tlp 4 +by +.An Jason Thorpe +.Aq thorpej@NetBSD.org . +.Sh BUGS +The author does not fully understand what processing the duration +fields for the PLCP header and the 802.11 header undergo before +they are applied to a transmitted frame. +If the duration fields in transmitted frames are incorrect, the +performance of your network may suffer. +.Pp +The driver does not provide rate control when the media type is +set to autoselect. +.Pp +The driver lets you change to hostap mode, but it does not work +and it probably never will. +.Pp +The driver will sometimes complain that it cannot re-tune the radio +because the transmit process has not gone idle. +The author is investigating. +.Pp +Many features are still missing, especially WEP decryption and +802.11 power-saving. +.Pp +The ad hoc mode has not been rigorously tested. +IBSSs with the same SSID may not coalesce, but this should not +matter for most applications. +.Pp +The driver is untested in the ad-hoc demo mode of Lucent WaveLAN +cards. +.Pp +The ADM8211 supports 802.11 power-saving, however, +.Nm +does not support it yet. +For time-bounded service, the ADM8211 will interoperate with an +access point which implements the 802.11 Point Coordination Function, +however, this is also not supported. +.Pp +Combinations of an ADM8211 with either an Intersil or a Marvell RF +front-end are not supported. diff --git a/static/netbsd/man4/auacer.4 b/static/netbsd/man4/auacer.4 new file mode 100644 index 00000000..372392c9 --- /dev/null +++ b/static/netbsd/man4/auacer.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: auacer.4,v 1.4 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2004 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Lennart Augustsson. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 22, 2005 +.Dt AUACER 4 +.Os +.Sh NAME +.Nm auacer +.Nd Acer Labs I/O Controller Hub integrated AC'97 audio device driver +.Sh SYNOPSIS +.Cd "auacer* at pci? dev ? function ?" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +device driver supports the M5455 integrated AC'97 audio controller +of some Acer Labs I/O Controller Hub. +.Sh SEE ALSO +.Xr ac97 4 , +.Xr audio 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Nx 3.0 . +.Sh BUGS +No input supported (yet). diff --git a/static/netbsd/man4/aubtfwl.4 b/static/netbsd/man4/aubtfwl.4 new file mode 100644 index 00000000..93d8462f --- /dev/null +++ b/static/netbsd/man4/aubtfwl.4 @@ -0,0 +1,78 @@ +.\" $NetBSD: aubtfwl.4,v 1.5 2024/09/07 20:33:53 rillig Exp $ +.\" +.\" Copyright (c) 2012 The NetBSD Foundation +.\" 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. +.\" +.\" 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. +.\" +.Dd May 9, 2013 +.Dt AUBTFWL 4 +.Os +.Sh NAME +.Nm aubtfwl +.Nd Atheros AR3011/AR3012 Firmware Loader +.Sh SYNOPSIS +.Cd "aubtfwl* at uhub?" +.Sh DESCRIPTION +The +.Nm +driver manages automatic loading of firmware on the Atheros AR3011 +and AR3012 Bluetooth chipsets. +The firmware files should be obtained and placed in a +.Pa ubt/ +directory in the search path of the +.Xr firmload 9 +kernel subsystem. +Upon attachment, the +.Nm +driver will load the necessary firmware files and the device will detach +and reattach as a generic Bluetooth device using the +.Xr ubt 4 +driver. +.Pp +For AR3011 chipsets, you will need the +.Pa ath3k-1.fw +firmware file in +.Pa ubt/ , +and for AR3012 chipsets, the files +.Pa ar3k/AthrBT_*.dfu +and +.Pa ar3k/ramps_*.dfu +in +.Pa ubt/ar3k/ . +.Pp +The firmware files can be obtained from the Linux firmware +git repository at +.Lk https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git . +.Sh FILES +.Bl -bullet +.It +.Pa ath3k-1.fw +.It +.Pa ar3k/AthrBT_*.dfu +.It +.Pa ar3k/ramps_*.dfu +.El +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr ubt 4 , +.Xr uhub 4 , +.Xr firmload 9 diff --git a/static/netbsd/man4/audio.4 b/static/netbsd/man4/audio.4 new file mode 100644 index 00000000..ccd93a42 --- /dev/null +++ b/static/netbsd/man4/audio.4 @@ -0,0 +1,835 @@ +.\" $NetBSD: audio.4,v 1.106 2024/05/27 02:39:15 nia Exp $ +.\" +.\" Copyright (c) 1996 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by John T. Kohl. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd May 27, 2024 +.Dt AUDIO 4 +.Os +.Sh NAME +.Nm audio +.Nd device-independent audio driver layer +.Sh SYNOPSIS +.In sys/audioio.h +.Sh DESCRIPTION +The +.Nm +driver provides support for various audio peripherals. +It provides a uniform programming interface layer above different +underlying audio hardware drivers. +The audio layer provides full-duplex operation if the +underlying hardware configuration supports it. +.Pp +There are four device files available for audio operation: +.Pa /dev/audio , +.Pa /dev/sound , +.Pa /dev/audioctl , +and +.Pa /dev/mixer . +.Pp +.Pa /dev/audio +and +.Pa /dev/sound +are used for recording or playback of digital samples. +.Pp +.Pa /dev/mixer +is used to manipulate volume, recording source, or other audio mixer +functions. +.Pp +.Pa /dev/audioctl +accepts the same +.Xr ioctl 2 +operations as +.Pa /dev/sound , +but no other operations. +It can be opened at any time and can be used to manipulate the +audio device while it is in use. +.Sh SAMPLING DEVICES +When +.Pa /dev/audio +is opened, it automatically sets the track to manipulate +monaural 8-bit mu-law 8000Hz. +When +.Pa /dev/sound +is opened, it maintains the audio format and pause/unpause +state of the most recently opened track. +In all other respects +.Pa /dev/audio +and +.Pa /dev/sound +are identical. +.Pp +On a full-duplex device, reads and writes may operate concurrently +without interference. +.Pp +On a half-duplex device, if there are any recording descriptors already, +opening with write mode will fail. +Similarly, if there are any playback descriptors already, +opening with read mode will fail. +If both playback and recording are requested on a half-duplex device, +it will be treated as playback mode. +.Pp +On either type of device, opening with write mode will start in playback mode, +opening with read mode will start in recording mode. +.Pp +If the playback mode is paused then silence is +played instead of the provided samples, and if recording is paused then +the process blocks in +.Xr read 2 +until recording is unpaused. +.Pp +If a writing process does not call +.Xr write 2 +frequently enough to provide samples at the pace the hardware +consumes them silence is inserted. +If a reading process does not call +.Xr read 2 +frequently enough, it will simply miss samples. +.Pp +The audio driver supports track multiplexing. +All sampling devices can be opened at any time without interference. +For playback, all tracks opened simultaneously are mixed, +even if their specified format is different. +For recording, recorded data is distributed to all opened tracks, +even if their specified format is different. +To achieve this, the audio driver has a small efficient encoding converter, +a channel mixer, and a frequency converter. +The frequency conversion adapts the simplest way +(interpolation method for upward, and simple thinning method for downward) +due to restrictions in kernel resources and processing time. +It will work well in most cases but don't expect excessive quality. +.Pp +The audio device is normally accessed with +.Xr read 2 +or +.Xr write 2 +calls, but it can also be mapped into user memory with +.Xr mmap 2 . +Once the device has been mapped it can no longer be accessed +by read or write; all access is by reading and writing to +the mapped memory. +The mmap'ped buffer appears as a block of memory of size +.Va buffersize +(as available via +.Dv AUDIO_GETINFO +or +.Dv AUDIO_GETBUFINFO ) . +The audio driver will continuously move data from this buffer +from/to the mixing buffer, wrapping around at the end of the buffer. +To find out where the hardware is currently accessing data in the buffer the +.Dv AUDIO_GETIOFFS +and +.Dv AUDIO_GETOOFFS +calls can be used. +Note that +.Xr mmap 2 +no longer maps hardware buffers directly. +Now it is achieved by emulation, so don't expect significant improvements +over normal +.Xr write 2 . +For historical reasons, only encodings that are not set +.Dv AUDIO_ENCODINGFLAG_EMULATED +are able to +.Xr mmap 2 . +.Pp +The audio device, like most devices, can be used in +.Xr select 2 , +can be set in non-blocking mode and can be set (with a +.Dv FIOASYNC +ioctl) to send a +.Dv SIGIO +when I/O is possible. +The mixer device can be set to generate a +.Dv SIGIO +whenever a mixer value is changed. +.Pp +The following +.Xr ioctl 2 +commands are supported on the sample devices: +.Bl -tag -width indent +.It Dv AUDIO_FLUSH +This command stops all playback and recording, clears all queued +buffers, resets error counters on this track, +and restarts recording and playback as +appropriate for the current sampling mode. +.It Dv AUDIO_PERROR (int) +.It Dv AUDIO_RERROR (int) +This command fetches the count of dropped output (input) +bytes into its integer argument. +There is no information regarding when in the sample stream +they were dropped. +.It Dv AUDIO_WSEEK (u_long) +This command fetches the count of bytes that are queued ahead of the +first sample in the most recent sample block written into its integer argument. +.It Dv AUDIO_DRAIN +This command suspends the calling process until all queued playback +samples have been played. +.It Dv AUDIO_GETDEV (audio_device_t) +This command fetches the current hardware device information into the +.Vt audio_device_t +argument. +.Bd -literal +typedef struct audio_device { + char name[MAX_AUDIO_DEV_LEN]; + char version[MAX_AUDIO_DEV_LEN]; + char config[MAX_AUDIO_DEV_LEN]; +} audio_device_t; +.Ed +.It Dv AUDIO_GETENC (audio_encoding_t) +This command is used iteratively to fetch sample encoding names and +format IDs into the input/output audio_encoding_t argument. +The encoding returned by the command is the user-accessible encoding, +not the hardware-supported encoding. +.Bd -literal +typedef struct audio_encoding { + int index; /* input: nth encoding */ + char name[MAX_AUDIO_DEV_LEN]; /* name of encoding */ + int encoding; /* value for encoding parameter */ + int precision; /* value for precision parameter */ + int flags; +#define AUDIO_ENCODINGFLAG_EMULATED 1 /* software emulation mode */ +} audio_encoding_t; +.Ed +.Pp +To query +all the supported encodings, start with an index field of 0 and +continue with successive encodings (1, 2, ...) until the command returns +an error. +.It Dv AUDIO_GETFD (int) +This command is obsolete. +.It Dv AUDIO_SETFD (int) +This command is obsolete. +.It Dv AUDIO_GETPROPS (int) +This command gets a bit set of hardware properties. +If the hardware +has a certain property the corresponding bit is set, otherwise it is not. +The properties can have the following values: +.Pp +.Bl -tag -width AUDIO_PROP_INDEPENDENT -compact +.It Dv AUDIO_PROP_FULLDUPLEX +the device admits full duplex operation. +.It Dv AUDIO_PROP_MMAP +the device can be used with +.Xr mmap 2 . +.It Dv AUDIO_PROP_INDEPENDENT +the device can set the playing and recording encoding parameters +independently. +.It Dv AUDIO_PROP_PLAYBACK +the device is capable of audio playback. +.It Dv AUDIO_PROP_CAPTURE +the device is capable of audio capture. +.El +.It Dv AUDIO_GETIOFFS (audio_offset_t) +.It Dv AUDIO_GETOOFFS (audio_offset_t) +This command fetches the current offset in the input(output) buffer where +the track mixer will be putting(getting) data. +It mostly useful when the device buffer is available in user space via the +.Xr mmap 2 +call. +The information is returned in the +.Vt audio_offset_t +structure. +.Bd -literal +typedef struct audio_offset { + u_int samples; /* Total number of bytes transferred */ + u_int deltablks; /* Blocks transferred since last checked */ + u_int offset; /* Physical transfer offset in buffer */ +} audio_offset_t; +.Ed +.It Dv AUDIO_GETINFO (audio_info_t) +.It Dv AUDIO_GETBUFINFO (audio_info_t) +.It Dv AUDIO_SETINFO (audio_info_t) +Get or set audio information as encoded in the audio_info structure. +For historical reasons, the audio_info structure has three different +layer's parameters: track, track mixer, and hardware rich mixer. +.Bd -literal +typedef struct audio_info { + struct audio_prinfo play; /* info for play (output) side */ + struct audio_prinfo record; /* info for record (input) side */ + u_int monitor_gain; /* input to output mix [HWmixer] */ + /* BSD extensions */ + u_int blocksize; /* read/write block size [track] */ + u_int hiwat; /* output high water mark [track] */ + u_int lowat; /* output low water mark [track] */ + u_int _ispare1; + u_int mode; /* current operation mode [track] */ +#define AUMODE_PLAY 0x01 +#define AUMODE_RECORD 0x02 +#define AUMODE_PLAY_ALL 0x04 /* Not used anymore */ +} audio_info_t; +.Ed +.Pp +When setting the current state with +.Dv AUDIO_SETINFO , +the audio_info structure should first be initialized with +.Li AUDIO_INITINFO(&info) +and then the particular values to be changed should be set. +This allows the audio driver to only set those things that you wish +to change and eliminates the need to query the device with +.Dv AUDIO_GETINFO +or +.Dv AUDIO_GETBUFINFO +first. +.Pp +The +.Va mode +field indicates current operation mode, either one of +.Dv AUMODE_PLAY +or +.Dv AUMODE_RECORD . +These two flags can not be changed once this descriptor is opened. +For playback mode, the obsolete +.Dv AUMODE_PLAY_ALL +flag can be set but has no effect. +.Pp +.Va hiwat +and +.Va lowat +are used to control write behavior. +Writes to the audio devices will queue up blocks until the high-water +mark is reached, at which point any more write calls will block +until the queue is drained to the low-water mark. +.Va hiwat +and +.Va lowat +set those high- and low-water marks (in audio blocks). +The default for +.Va hiwat +is the maximum value and for +.Va lowat +75% of +.Va hiwat . +.Pp +.Va blocksize +sets the current audio blocksize. +The generic audio driver layer and the hardware driver have the +opportunity to adjust this block size to get it within +implementation-required limits. +Normally the +.Va blocksize +is calculated to correspond to the value of the +.Em hw.audioX.blk_ms +sysctl and is recalculated when the encoding parameters change. +If the descriptor is opened for read only, +.Va blocksize +indicates the blocksize for the recording track. +Otherwise, +.Va blocksize +indicates the blocksize for the playback track. +.Bd -literal +struct audio_prinfo { + u_int sample_rate; /* sample rate in samples/s [track] */ + u_int channels; /* number of channels, usually 1 or 2 [track] */ + u_int precision; /* number of bits/sample [track] */ + u_int encoding; /* data encoding (AUDIO_ENCODING_* below) [track] */ + u_int gain; /* volume level [HWmixer] */ + u_int port; /* selected I/O port [HWmixer] */ + u_long seek; /* BSD extension [track] */ + u_int avail_ports; /* available I/O ports [HWmixer] */ + u_int buffer_size; /* total size audio buffer [track] */ + u_int _ispare[1]; + u_int samples; /* number of samples [track] */ + u_int eof; /* End Of File (zero-size writes) counter [track] */ + u_char pause; /* non-zero if paused, zero to resume [track] */ + u_char error; /* non-zero if underflow/overflow occurred [track] */ + u_char waiting; /* non-zero if another process hangs in open [track] */ + u_char balance; /* stereo channel balance [HWmixer] */ + u_char cspare[2]; + u_char open; /* non-zero if currently open [trackmixer] */ + u_char active; /* non-zero if I/O is currently active [trackmixer] */ +}; +.Ed +.Pp +Note: many hardware audio drivers require identical playback and +recording sample rates, sample encodings, and channel counts. +The playing information is always set last and will prevail on such hardware. +If the hardware can handle different settings the +.Dv AUDIO_PROP_INDEPENDENT +property is set. +.Pp +The encoding parameter can have the following values: +.Pp +.Bl -tag -width AUDIO_ENCODING_SLINEAR_BE -compact +.It Dv AUDIO_ENCODING_ULAW +mu-law encoding, 8 bits/sample +.It Dv AUDIO_ENCODING_ALAW +A-law encoding, 8 bits/sample +.It Dv AUDIO_ENCODING_SLINEAR +two's complement signed linear encoding with the platform byte order +.It Dv AUDIO_ENCODING_ULINEAR +unsigned linear encoding +with the platform byte order +.It Dv AUDIO_ENCODING_ADPCM +ADPCM encoding, 8 bits/sample +.It Dv AUDIO_ENCODING_SLINEAR_LE +two's complement signed linear encoding with little endian byte order +.It Dv AUDIO_ENCODING_SLINEAR_BE +two's complement signed linear encoding with big endian byte order +.It Dv AUDIO_ENCODING_ULINEAR_LE +unsigned linear encoding with little endian byte order +.It Dv AUDIO_ENCODING_ULINEAR_BE +unsigned linear encoding with big endian byte order +.It Dv AUDIO_ENCODING_AC3 +Dolby Digital AC3 +.El +.Pp +The +.Nm +driver accepts the following formats. +.Va encoding +and +.Va precision +are one of the values obtained by +.Dv AUDIO_GETENC , +regardless of formats supported by underlying driver. +.Va frequency +ranges from 1000Hz to 192000Hz, +regardless of frequency (ranges) supported by underlying driver. +.Va channels +depends your underlying driver. +If the underlying driver only supports monaural (1 channel) +or stereo (2 channels), you can specify 1 or 2 regardless of +number of channels supported by underlying driver. +If the underlying driver supports three or more channels, you can specify +the number of channels supported by the underlying driver or fewer. +.Pp +The +.Va gain , +.Va port +and +.Va balance +settings provide simple shortcuts to the richer mixer +interface described below and are not obtained by +.Dv AUDIO_GETBUFINFO . +The gain should be in the range +.Bq Dv AUDIO_MIN_GAIN , Dv AUDIO_MAX_GAIN +and the balance in the range +.Bq Dv AUDIO_LEFT_BALANCE , Dv AUDIO_RIGHT_BALANCE +with the normal setting at +.Dv AUDIO_MID_BALANCE . +.Pp +The input port should be a combination of: +.Pp +.Bl -tag -width AUDIO_MICROPHONE -compact +.It Dv AUDIO_MICROPHONE +to select microphone input. +.It Dv AUDIO_LINE_IN +to select line input. +.It Dv AUDIO_CD +to select CD input. +.El +.Pp +The output port should be a combination of: +.Pp +.Bl -tag -width AUDIO_HEADPHONE -compact +.It Dv AUDIO_SPEAKER +to select speaker output. +.It Dv AUDIO_HEADPHONE +to select headphone output. +.It Dv AUDIO_LINE_OUT +to select line output. +.El +.Pp +The available ports can be found in +.Va avail_ports +.Dv ( AUDIO_GETBUFINFO +only). +.Pp +.Va buffer_size +is the total size of the audio buffer. +The buffer size divided by the +.Va blocksize +gives the maximum value for +.Va hiwat . +Currently the +.Va buffer_size +can only be read and not set. +.Pp +The +.Va seek +and +.Va samples +fields are only used by +.Dv AUDIO_GETINFO +and +.Dv AUDIO_GETBUFINFO . +.Va seek +represents the count of +bytes pending; +.Va samples +represents the total number of bytes recorded or played, less those +that were dropped due to inadequate consumption/production rates. +.Pp +.Va pause +returns the current pause/unpause state for recording or playback. +For +.Dv AUDIO_SETINFO , +if the pause value is specified it will either pause +or unpause the particular direction. +.It Dv AUDIO_QUERYFORMAT (audio_format_query_t) +This command enumerates formats supported by the hardware. +Similarly to +.Dv AUDIO_GETENC , +to query all the supported formats, +start with an index field of 0 and continue with successive formats +(1, 2, ...) until the command returns an error. +.Bd -literal +typedef struct audio_format_query { + u_int index; + struct audio_format fmt; +} audio_format_query_t; +.Ed +.It Dv AUDIO_GETFORMAT (audio_info_t) +This command fetches the current hardware format. +Only the following members in audio_info_t are used. +Members which are not listed here or belong in invalid direction are +filled by \-1. +.Bl -bullet +.It +mode +.It +play.encoding +.It +play.precision +.It +play.channels +.It +play.sample_rate +.It +record.encoding +.It +record.precision +.It +record.channels +.It +record.sample_rate +.El +.Pp +.Va mode +indicates which direction is valid. +.It Dv AUDIO_SETFORMAT (audio_info_t) +This command sets the hardware format. +It will fail if there are any opened descriptors. +So obviously, it must be issued on +.Pa /dev/audioctl . +Similarly to +.Dv AUDIO_GETFORMAT , +only above members in audio_info_t are used. +Members which is not listed or belong in invalid direction are ignored. +The parameters can be chosen from the choices obtained by +.Dv AUDIO_QUERYFORMAT . +.It Dv AUDIO_GETCHAN (int) +This command is obsolete. +.It Dv AUDIO_SETCHAN (int) +This command is obsolete. +.El +.Sh MIXER DEVICE +The mixer device, +.Pa /dev/mixer , +may be manipulated with +.Xr ioctl 2 +but does not support +.Xr read 2 +or +.Xr write 2 . +It supports the following +.Xr ioctl 2 +commands: +.Bl -tag -width indent +.It Dv AUDIO_GETDEV (audio_device_t) +This command is the same as described above for the sampling devices. +.It Dv AUDIO_MIXER_READ (mixer_ctrl_t) +.It Dv AUDIO_MIXER_WRITE (mixer_ctrl_t) +These commands read the current mixer state or set new mixer state for +the specified device +.Va dev . +.Va type +identifies which type of value is supplied in the +.Vt mixer_ctrl_t +argument. +.Bd -literal +#define AUDIO_MIXER_CLASS 0 +#define AUDIO_MIXER_ENUM 1 +#define AUDIO_MIXER_SET 2 +#define AUDIO_MIXER_VALUE 3 +typedef struct mixer_ctrl { + int dev; /* input: nth device */ + int type; + union { + int ord; /* enum */ + int mask; /* set */ + mixer_level_t value; /* value */ + } un; +} mixer_ctrl_t; + +#define AUDIO_MIN_GAIN 0 +#define AUDIO_MAX_GAIN 255 +typedef struct mixer_level { + int num_channels; + u_char level[8]; /* [num_channels] */ +} mixer_level_t; +#define AUDIO_MIXER_LEVEL_MONO 0 +#define AUDIO_MIXER_LEVEL_LEFT 0 +#define AUDIO_MIXER_LEVEL_RIGHT 1 +.Ed +.Pp +For a mixer value, the +.Va value +field specifies both the number of channels and the values for each +channel. +If the channel count does not match the current channel count, the +attempt to change the setting may fail (depending on the hardware +device driver implementation). +Audio levels may be adjusted in increments of the +.Dv delta +value returned by +.Dv AUDIO_MIXER_DEVINFO . +This field is optional for hardware drivers to specify - devices with a +delta of 0 may allow arbitrary adjustment of levels. +.Pp +For an enumeration value, the +.Va ord +field should be set to one of the possible values as returned by a prior +.Dv AUDIO_MIXER_DEVINFO +command. +.Pp +The type +.Dv AUDIO_MIXER_CLASS +is only used for classifying particular mixer device +types and is not used for +.Dv AUDIO_MIXER_READ +or +.Dv AUDIO_MIXER_WRITE . +.It Dv AUDIO_MIXER_DEVINFO (mixer_devinfo_t) +This command is used iteratively to fetch audio mixer device information +into the input/output +.Vt mixer_devinfo_t +argument. +To query all the supported devices, start with an index field of +0 and continue with successive devices (1, 2, ...) until the +command returns an error. +.Bd -literal +typedef struct mixer_devinfo { + int index; /* input: nth mixer device */ + audio_mixer_name_t label; + int type; + int mixer_class; + int next, prev; +#define AUDIO_MIXER_LAST -1 + union { + struct audio_mixer_enum { + int num_mem; + struct { + audio_mixer_name_t label; + int ord; + } member[32]; + } e; + struct audio_mixer_set { + int num_mem; + struct { + audio_mixer_name_t label; + int mask; + } member[32]; + } s; + struct audio_mixer_value { + audio_mixer_name_t units; + int num_channels; + int delta; + } v; + } un; +} mixer_devinfo_t; +.Ed +.Pp +The +.Va label +field identifies the name of this particular mixer control. +The +.Va index +field may be used as the +.Va dev +field in +.Dv AUDIO_MIXER_READ +and +.Dv AUDIO_MIXER_WRITE +commands. +The +.Va type +field identifies the type of this mixer control. +Enumeration types are typically used for on/off style controls (e.g., a +mute control) or for input/output device selection (e.g., select +recording input source from CD, line in, or microphone). +Set types are similar to enumeration types but any combination +of the mask bits can be used. +.Pp +The +.Va mixer_class +field identifies what class of control this is. +The +.Pq arbitrary +value set by the hardware driver may be determined by examining the +.Va mixer_class +field of the class itself, a mixer of type +.Dv AUDIO_MIXER_CLASS . +For example, a mixer controlling the input gain on the line in circuit +would have a +.Va mixer_class +that matches an input class device with the name +.Dq inputs +.Dv ( AudioCinputs ) , +and would have a +.Va label +of +.Dq line +.Dv ( AudioNline ) . +Mixer controls which control audio circuitry for a particular audio +source (e.g., line-in, CD in, DAC output) are collected under the input class, +while those which control all audio sources (e.g., master volume, +equalization controls) are under the output class. +Hardware devices capable of recording typically also have a record class, +for controls that only affect recording, and also a monitor class. +.Pp +The +.Va next +and +.Va prev +may be used by the hardware device driver to provide hints for the next +and previous devices in a related set (for example, the line in level +control would have the line in mute as its +.Dq next +value). +If there is no relevant next or previous value, +.Dv AUDIO_MIXER_LAST +is specified. +.Pp +For +.Dv AUDIO_MIXER_ENUM +mixer control types, +the enumeration values and their corresponding names are filled in. +For example, a mute control would return appropriate values paired with +.Dv AudioNon +and +.Dv AudioNoff . +For +.Dv AUDIO_MIXER_VALUE +and +.Dv AUDIO_MIXER_SET +mixer control types, the channel count is +returned; the units name specifies what the level controls (typical +values are +.Dv AudioNvolume , +.Dv AudioNtreble , +.Dv AudioNbass ) . +.\" For AUDIO_MIXER_SET mixer control types, what is what? +.El +.Pp +By convention, all the mixer devices can be distinguished from other +mixer controls because they use a name from one of the +.Dv AudioC* +string values. +.Sh FILES +.Bl -tag -width /dev/audioctl -compact +.It Pa /dev/audio +.It Pa /dev/audioctl +.It Pa /dev/sound +.It Pa /dev/mixer +.El +.Sh SEE ALSO +.Xr audiocfg 1 , +.Xr audioctl 1 , +.Xr audioplay 1 , +.Xr audiorecord 1 , +.Xr mixerctl 1 , +.Xr ioctl 2 , +.Xr ossaudio 3 , +.Xr acorn32/vidcaudio 4 , +.\" .Xr amiga/aucc 4 , +.\" .Xr amiga/melody 4 , +.Xr arcofi 4 , +.Xr aria 4 , +.Xr auacer 4 , +.Xr audiocs 4 , +.Xr auich 4 , +.Xr auixp 4 , +.\" .Xr ausoc 4 , +.Xr autri 4 , +.Xr auvia 4 , +.Xr bba 4 , +.Xr btsco 4 , +.Xr clcs 4 , +.Xr clct 4 , +.Xr cmpci 4 , +.Xr dreamcast/aica 4 , +.Xr eap 4 , +.Xr emuxki 4 , +.Xr esa 4 , +.Xr esm 4 , +.Xr eso 4 , +.Xr ess 4 , +.\" .Xr evbarm/aaci 4 , +.\" .Xr evbarm/digfilt 4 , +.\" .Xr evbarm/pxaacu 4 , +.\" .Xr evbarm/udassio 4 , +.Xr fms 4 , +.Xr gcscaudio 4 , +.Xr gus 4 , +.Xr guspnp 4 , +.Xr hdafg 4 , +.Xr hdaudio 4 , +.Xr hppa/harmony 4 , +.Xr macppc/awacs 4 , +.Xr macppc/snapper 4 , +.Xr midi 4 , +.Xr neo 4 , +.Xr pad 4 , +.Xr pas 4 , +.\" .Xr paud 4 , +.Xr radio 4 , +.\" .Xr repluse 4 , +.Xr sb 4 , +.Xr sgimips/haltwo 4 , +.Xr sgimips/mavb 4 , +.Xr sparc/audioamd 4 , +.Xr sparc/dbri 4 , +.Xr sv 4 , +.\" .Xr toccata 4 , +.Xr uaudio 4 , +.\" .Xr vaudio 4 , +.\" .Xr vcaudio 4 , +.\" .Xr vraiu 4 , +.\" .Xr vsaudio 4 , +.Xr wss 4 , +.Xr x68k/vs 4 , +.Xr yds 4 , +.Xr ym 4 +.\" .Xr zaudio 4 +.Sh HISTORY +Support for virtual channels and mixing first appeared in +.Nx 8.0 . +.Sh BUGS +If the device is used in +.Xr mmap 2 +it is currently always mapped for writing (playing) due to VM system weirdness. diff --git a/static/netbsd/man4/audiocs.4 b/static/netbsd/man4/audiocs.4 new file mode 100644 index 00000000..f3d0277b --- /dev/null +++ b/static/netbsd/man4/audiocs.4 @@ -0,0 +1,51 @@ +.\" $NetBSD: audiocs.4,v 1.5 2005/06/22 04:30:08 kent Exp $ +.\" +.\" Copyright (c) 2002 Valeriy E. Ushakov +.\" 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. Neither the name of the author nor the names of any +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 FOUNDATION 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. +.\" +.Dd June 22, 2005 +.Dt AUDIOCS 4 +.Os +.Sh NAME +.Nm audiocs +.Nd Crystal Semiconductor CS4231 audio device driver +.Sh SYNOPSIS +.Cd "audiocs0 at sbus0 slot ? offset ?" +.Cd "audiocs0 at ebus?" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the CS4231 audio devices on the EBus and +SBus buses in sparc and sparc64 machines. +.Sh SEE ALSO +.Xr audio 4 , +.Xr ebus 4 , +.Xr sbus 4 +.Sh BUGS +Mixer +.Dq outputs +class +.Dv ( AudioCoutputs ) +is not yet supported. diff --git a/static/netbsd/man4/aue.4 b/static/netbsd/man4/aue.4 new file mode 100644 index 00000000..a6ac0597 --- /dev/null +++ b/static/netbsd/man4/aue.4 @@ -0,0 +1,171 @@ +.\" $NetBSD: aue.4,v 1.23 2019/08/30 09:24:19 wiz Exp $ +.\" +.\" Copyright (c) 1997, 1998, 1999 +.\" Bill Paul . 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 Bill Paul. +.\" 4. Neither the name of the author nor the names of any co-contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY Bill Paul 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 Bill Paul OR THE VOICES IN HIS HEAD +.\" 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. +.\" +.\" FreeBSD: src/share/man/man4/aue.4,v 1.2 2000/01/07 22:18:47 wpaul Exp +.\" +.Dd August 24, 2019 +.Dt AUE 4 +.Os +.Sh NAME +.Nm aue +.Nd ADMtek AN986 and AN8511 Pegasus USB Ethernet driver +.Sh SYNOPSIS +.Cd "aue* at uhub?" +.Cd "ukphy* at mii?" +.Sh HARDWARE +The +.Nm +driver supports the following adapters: +.Pp +.Bl -tag -width Dv -offset indent -compact +.It Tn @Home USB 10/100 +.It Tn Abocom DSB650TX +.It Tn Billionton Systems USB100 +.It Tn Compaq HNE-200 +.It Tn Corega FEther USB-TX +.It Tn Corega FEther USB-TXS +.It Tn D-Link DSB-650 +.It Tn D-Link DSB-650TX +.It Tn D-Link DSB-650TX-PNA +.It Tn I/O DATA USB ET/TX +.It Tn I/O DATA USB ET/TXS +.It Tn I/O DATA ETX-US2 +.It Tn Hawking UF100 +.It Tn Kingston KNU101TX +.It Tn LinkSys USB100TX +.It Tn LinkSys USB100H1 +.It Tn LinkSys USB10TA +.It Tn Melco Inc. LU-ATX +.It Tn Microsoft MN110 +.It Tn SOHOware NUB100 +.It Tn SMC 2202USB +.It Tn SMC 2206USB/ETH +.El +.Sh DESCRIPTION +The +.Nm +driver provides support for USB +.Tn Ethernet +adapters based on the ADMtek AN986 Pegasus and AN8511 Pegasus II chipsets. +.Pp +The Pegasus contains a 10/100 +.Tn Ethernet +MAC with MII interface and is designed to work with both +.Tn Ethernet +and HomePNA transceivers. +Although designed to interface with 100Mbps peripherals, the existing +USB standard specifies a maximum transfer speed of 12Mbps. +Users should therefore not expect to actually +achieve 100Mbps speeds with these devices. +.Pp +The Pegasus supports a 64-bit multicast hash table, single perfect +filter entry for the station address and promiscuous mode. +Packets are +received and transmitted over separate USB bulk transfer endpoints. +.Pp +The +.Nm +driver supports the following media types: +.Bl -tag -width xxxxxxxxxxxxxxxxxxxx +.It autoselect +Enable automatic selection of the media type and options. +The user can manually override the automatically selected mode by +adding media options to the +.Pa /etc/rc.conf +file. +.It 10baseT/UTP +Set 10Mbps operation. +The +.Ar mediaopt +option can also be used to enable +.Ar full-duplex +operation. +Not specifying +.Ar full duplex +implies +.Ar half-duplex +mode. +.It 100baseTX +Set 100Mbps (fast +.Tn Ethernet ) +operation. +The +.Ar mediaopt +option can also be used to enable +.Ar full-duplex +operation. +Not specifying +.Ar full duplex +implies +.Ar half-duplex +mode. +.El +.Pp +The +.Nm +driver supports the following media options: +.Bl -tag -width xxxxxxxxxxxxxxxxxxxx +.It full-duplex +Force full duplex operation. +The interface will operate in half duplex mode +if this media option is not specified. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh DIAGNOSTICS +See +.Xr usbnet 4 +for diagnostics. +.Sh SEE ALSO +.Xr arp 4 , +.Xr netintro 4 , +.Xr usb 4 , +.Xr usbnet 4 , +.Xr ifconfig 8 +.Rs +.%T ADMtek AN986 data sheet +.%U http://www.admtek.com.tw +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 4.0 , +and in +.Nx 1.5 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Bill Paul +.Aq wpaul@ee.columbia.edu . diff --git a/static/netbsd/man4/auich.4 b/static/netbsd/man4/auich.4 new file mode 100644 index 00000000..fd4040bd --- /dev/null +++ b/static/netbsd/man4/auich.4 @@ -0,0 +1,80 @@ +.\" $NetBSD: auich.4,v 1.25 2016/10/16 05:26:20 wiz Exp $ +.\" +.\" Copyright (c) 2000 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Jason R. Thorpe. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd October 13, 2016 +.Dt AUICH 4 +.Os +.Sh NAME +.Nm auich +.Nd Intel I/O Controller Hub integrated AC'97 audio device driver +.Sh SYNOPSIS +.Cd "auich* at pci? dev ? function ?" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +device driver supports the integrated AC'97 audio controller +of the Intel I/O Controller Hub. +Supported chipsets include the i82801AA (ICH), i82801AB (ICH0), +i82801BA (ICH2), i82440MX, i82801CA (ICH3), i82801DB (ICH4), i82801EB (ICH5), +i82801FB (ICH6), i82801GB/GR (ICH7), and Intel 6300ESB. +The driver also supports SiS 7012, nForce MCP, nForce2 MCP-T, +nForce3 MCP-T, nForce3 250 MCP-T, nForce4, and AMD 8111. +.Pp +The driver provides the following +.Xr sysctl 8 +read/write variable (when hardware support is available): +.Bl -tag -width Ds +.It Va hw.auich0.ac97rate +Link rate of the device in Hz. +The driver automatically measures and +calculates the correct rate so you usually don't need to change +this. +There is, however, a chance that the driver miscalculates the +rate especially on an emulated hardware, resulting in an incorrect +playback pitch. +When this happens you need to manually set this +variable to the correct value. +Try +.Li 48000 +if you don't know the correct value as it is the default link rate. +.Sh SEE ALSO +.Xr ac97 4 , +.Xr audio 4 , +.Xr pci 4 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.6 . +.Sh BUGS +The +.Sq microphone +input DMA channel is not currently supported. diff --git a/static/netbsd/man4/auixp.4 b/static/netbsd/man4/auixp.4 new file mode 100644 index 00000000..bd23dcd3 --- /dev/null +++ b/static/netbsd/man4/auixp.4 @@ -0,0 +1,64 @@ +.\" $NetBSD: auixp.4,v 1.5 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2004, 2005 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Reinoud Zandijk. +.\" +.\" Manual page template from auich.4 by Jason Thorpe +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 22, 2005 +.Dt AUIXP 4 +.Os +.Sh NAME +.Nm auixp +.Nd ATI IXP series integrated AC'97 audio device driver +.Sh SYNOPSIS +.Cd "auixp* at pci? dev ? function ?" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +device driver supports the integrated AC'97 audio controller +of the ATP IXP series I/O controller hub. +Supported models include all the chips that have IXP-200 base +functionality for codec communication and DAC/ADC DMA support. +.Sh SEE ALSO +.Xr ac97 4 , +.Xr audio 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 2.1 . +.Sh BUGS +The +.Sq SPDIF +support is still rudimentary and not supported other than through the codec. +.Sq Quadrophonic +and +.Sq Dolby 5.1 +audio are supported but untested. diff --git a/static/netbsd/man4/autri.4 b/static/netbsd/man4/autri.4 new file mode 100644 index 00000000..9c02ad52 --- /dev/null +++ b/static/netbsd/man4/autri.4 @@ -0,0 +1,50 @@ +.\" $NetBSD: autri.4,v 1.3 2005/06/22 04:19:09 kent Exp $ +.\" +.\" Copyright (c) 2001 SOMEYA Yoshihiko and KUROSAWA Takahiro. +.\" 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. +.\" +.\" 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. +.\" +.Dd June 22, 2005 +.Dt AUTRI 4 +.Os +.Sh NAME +.Nm autri +.Nd Trident 4DWAVE-DX/NX, SiS 7018, ALi M5451 audio device driver +.Sh SYNOPSIS +.Cd "autri* at pci? dev ? function ?" +.Cd "audio* at audiobus?" +.Cd "midi* at autri?" +.Sh DESCRIPTION +The +.Nm +device driver supports the AC'97 audio controller found in +Trident 4DWAVE-DX/NX, SiS 7018 and ALi M5451. +.Sh SEE ALSO +.Xr ac97 4 , +.Xr audio 4 , +.Xr midi 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.6 . diff --git a/static/netbsd/man4/auvia.4 b/static/netbsd/man4/auvia.4 new file mode 100644 index 00000000..2b7a27e2 --- /dev/null +++ b/static/netbsd/man4/auvia.4 @@ -0,0 +1,53 @@ +.\" $NetBSD: auvia.4,v 1.8 2009/10/22 23:10:22 tsarna Exp $ +.\" +.\" Copyright (c) 2000 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Tyler C. Sarna +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 22, 2005 +.Dt AUVIA 4 +.Os +.Sh NAME +.Nm auvia +.Nd VIA VT82C686A/VT8233/VT8235/VT8237 integrated AC'97 audio device driver +.Sh SYNOPSIS +.Cd "auvia* at pci? dev ? function ?" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +device driver supports the integrated AC'97 audio controller +of the VIA Technologies VT82C686A/VT8233/VT8235/VT8237 Southbridge +chip found on some motherboards. +.Sh SEE ALSO +.Xr ac97 4 , +.Xr audio 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +driver was originally written by Tyler C. Sarna for +.Nx 1.5 . diff --git a/static/netbsd/man4/auvitek.4 b/static/netbsd/man4/auvitek.4 new file mode 100644 index 00000000..71af862c --- /dev/null +++ b/static/netbsd/man4/auvitek.4 @@ -0,0 +1,102 @@ +.\" $NetBSD: auvitek.4,v 1.6 2011/08/30 07:23:05 jruoho Exp $ +.\" +.\" Copyright (c) 2010, 2011 Jared D. McNeill +.\" 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. Neither the name of the author nor the names of any +.\" contributors may be used to endorse or promote products derived +.\" from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 FOUNDATION 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. +.\" +.Dd August 30, 2011 +.Dt AUVITEK 4 +.Os +.Sh NAME +.Nm auvitek +.Nd Auvitek AU0828 video capture device driver +.Sh SYNOPSIS +.Cd "auvitek* at uhub?" +.Cd "dtv* at dtvbus?" +.Cd "video* at videobus?" +.Cd "uaudio* at auvitek?" +.Cd "audio* at uaudio?" +.Sh DESCRIPTION +The +.Nm +driver provides support for +.Tn USB +video capture devices based on the Auvitek AU0828 bridge. +This hybrid analog/digital device requires a hi-speed USB host controller +(such as +.Xr ehci 4 ) +to function properly. +.Pp +For +.Nm +devices with analog audio capture interfaces, the +.Xr uaudio 4 +device driver provides access to the audio stream. +Application software can find a +.Xr video 4 +device's +.Xr audio 4 +device by comparing the +.Dv VIDIOC_QUERYCAP +.Va bus_info +field with the audio device's +.Dv AUDIO_GETDEV +.Va config +field. +.Pp +The following cards are supported by the +.Nm +driver: +.Pp +.Bl -column -offset indent \ +"Hauppauge WinTV-HVR-950Q " \ +" " \ +" " +.It Sy "Device" Ta Sy "Decoder" Ta Sy "Tuner" +.It "Hauppauge WinTV-HVR-850" Ta Xr au8522 4 Ta Xr xc5k 4 +.It "Hauppauge WinTV-HVR-950Q" Ta Xr au8522 4 Ta Xr xc5k 4 +.El +.Pp +Cards with an XC5000 tuner require the firmware provided by the +.Pa pkgsrc/sysutils/xc5k-firmware +package to function properly. +.Sh SEE ALSO +.Xr audio 4 , +.Xr dtv 4 , +.Xr dtviic 4 , +.Xr ehci 4 , +.Xr uaudio 4 , +.Xr video 4 +.Pp +.Pa pkgsrc/sysutils/xc5k-firmware +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 6.0 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Jared D. McNeill +.Aq jmcneill@NetBSD.org . diff --git a/static/netbsd/man4/awi.4 b/static/netbsd/man4/awi.4 new file mode 100644 index 00000000..faf4f674 --- /dev/null +++ b/static/netbsd/man4/awi.4 @@ -0,0 +1,186 @@ +.\" $NetBSD: awi.4,v 1.28 2010/01/15 19:24:49 joerg Exp $ +.\" +.\" Copyright (c) 1999,2000,2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Bill Sommerfeld +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.Dd January 2, 2006 +.Dt AWI 4 +.Os +.Sh NAME +.Nm awi +.Nd +AMD PCnetMobile IEEE 802.11 PCMCIA wireless network driver +.Sh SYNOPSIS +.Cd "awi* at pcmcia? function ?" +.Sh DESCRIPTION +The +.Nm +driver supports various IEEE 802.11 wireless cards +that run AMD PCnetMobile firmware based on the AMD 79c930 controller +with the Intersil (formerly Harris) PRISM radio chipset. +It provides access to 32kb of memory shared between the controller +and the host. +All host/device interaction is accomplished via this shared memory, which +can be accessed either via PCMCIA or I/O memory spaces. +The +.Nm +driver encapsulates all IP and ARP traffic in 802.11 frames. +.Pp +The driver works both in infrastructure mode and in ad-hoc (independent +BSS) mode. +.Pp +In infrastructure mode, it communicates with an Access Point, +which serves as a link-layer bridge between an Ethernet segment and +the wireless network. +An access point also provides roaming capability, +which allows a wireless node to move between access points. +.Pp +In ad-hoc mode, the device communicates peer to peer. +Although it is more efficient to communicate between wireless nodes, +the coverage is limited spatially due to the lack of roaming capability. +.Pp +In addition to these two modes in the IEEE 802.11 specification, the +.Nm +driver also supports a variant of ad-hoc mode outside of the spec for +DS radio cards. +This makes it possible to communicate with the WaveLAN ad-hoc mode of +.Xr wi 4 +driver. +The NWID has no effect in this mode. +.Pp +Another mode added to the +.Nm +driver can be used with old Melco access points with 2Mbps cards. +This mode actually uses the IEEE 802.11 ad-hoc mode with encapsulation of +raw Ethernet packets (including headers) in 802.11 frames. +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 +and +.Xr ifmedia 4 . +.Sh HARDWARE +Cards supported by the +.Nm +driver include: +.Pp +.Bl -tag -width BayStack_650x -offset indent -compact +.It BayStack 650 +1Mbps Frequency Hopping PCCARD adapter +.It BayStack 660 +2Mbps Direct Sequence PCCARD adapter +.It Icom SL-200 +2Mbps Direct Sequence PCCARD adapter +.It Melco WLI-PCM +2Mbps Direct Sequence PCCARD adapter +.It NEL SSMagic +2Mbps Direct Sequence PCCARD adapter +.It Netwave AirSurfer Plus +1Mbps Frequency Hopping PCCARD adapter +.It Netwave AirSurfer Pro +2Mbps Direct Sequence PCCARD adapter +.It Nokia C020 WLAN +2Mbps Direct Sequence PCCARD adapter +.It Farallon SkyLINE +2Mbps Direct Sequence PCCARD adapter +.It Zoom Air Model 4000 +.El +.Pp +The original Xircom Netwave AirSurfer is supported by the +.Xr cnw 4 +driver, and the PRISM-II cards are supported by the +.Xr wi 4 +driver. +.Sh MEDIA SELECTION +In addition to default +.Em Auto +media type, +the DS cards support +.Em DS1 +and +.Em DS2 +media types, while the FH cards support the +.Em FH1 +media type. +For each media type, the +.Em adhoc +mediaopt can be used to indicate to the driver to operate in ad-hoc mode. +The +.Em flag0 +mediaopt +should be used only with old access points, which operate in IBSS mode. +For DS radio cards, the +.Em adhoc,flag0 +mediaopt can be used for +.Xr wi 4 +compatible WaveLAN ad-hoc mode. +.Sh DIAGNOSTICS +.Bl -diag +.It "awi0: no suitable CIS info found" +The device cannot be mapped due to a resource conflict. +Or, the device failed to initialize its firmware. +.It "awi0: failed to complete selftest (%s)" +The device failed to complete its self test. +In some circumstances, resetting device after power on fails. +Re-inserting the card or setting the interface up and then down again +(using +.Xr ifconfig 8 ) +may also be helpful. +.It "awi0: transmit timeout" +The device failed to generate an interrupt to acknowledge a +transmitted packet. +.It "awi0: failed to lock interrupt" +The system was unable to obtain the lock to access shared memory. +.It "awi0: command %d failed %x" +The device failed to complete the request from the system. +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr cnw 4 , +.Xr ifmedia 4 , +.Xr netintro 4 , +.Xr pcmcia 4 , +.Xr wi 4 , +.Xr ifconfig 8 , +.Xr wiconfig 8 +.Rs +.%T Am79C930 PCnet Mobile Single-Chip Wireless LAN Media Access Controller +.%U http://www.amd.com +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Nx 1.5 . +.Sh AUTHORS +The initial version of the +.Nm +driver was written by +.An Bill Sommerfeld +.Aq sommerfeld@NetBSD.org . +It was then completely rewritten to support cards with the DS phy and +ad-hoc mode by +.An Atsushi Onoe +.Aq onoe@NetBSD.org . diff --git a/static/netbsd/man4/axe.4 b/static/netbsd/man4/axe.4 new file mode 100644 index 00000000..4ff417a8 --- /dev/null +++ b/static/netbsd/man4/axe.4 @@ -0,0 +1,205 @@ +.\" $NetBSD: axe.4,v 1.17 2019/08/30 09:22:17 wiz Exp $ +.\" +.\" Copyright (c) 2003-2004 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Lennart Augustsson. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.\" Copyright (c) 1997, 1998, 1999, 2000-2003 +.\" Bill Paul . 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 Bill Paul. +.\" 4. Neither the name of the author nor the names of any co-contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY Bill Paul 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 Bill Paul OR THE VOICES IN HIS HEAD +.\" 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. +.\" +.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/axe.4,v 1.3 2003/05/29 21:28:35 ru Exp $ +.\" $OpenBSD: axe.4,v 1.37 2009/11/08 20:25:29 jasper Exp $ +.\" +.Dd August 24, 2019 +.Dt AXE 4 +.Os +.Sh NAME +.Nm axe +.Nd ASIX Electronics AX88172/AX88178/AX88772 10/100/Gigabit USB Ethernet device +.Sh SYNOPSIS +.Cd "axe* at uhub?" +.Cd "ukphy* at mii?" +.Sh HARDWARE +The +.Nm +driver supports the following adapters: +.Pp +.Bl -tag -width Dv -offset indent -compact +.It Apple USB Ethernet Adapter A1277 +.It ATEN UC-210T +.It BAFO BF-320 +.It Billionton Systems USB2AR +.It Buffalo(MELCO) LUA-U2-GT +.It Buffalo(MELCO) LUA-U2-KTX +.It Buffalo(MELCO) LUA3-U2-ATX +.It Corega FEther USB2-TX +.It D-Link DUB-E100 +.It Good Way GWUSB2E +.It Hawking UF200 +.It Intellinet USB 2.0 to Ethernet (rev A) +.It IO-Data ETG-US2 +.It JVC MP-PRX1 +.It Konig CMP-NWUSB20 +.It Level One USB-0200 +.It Linksys USB200M +.It Linksys USB1000 +.It Logitec LAN-GTJ/U2 +.It Logitec LAN-TXU2C +.It Logitec LAN-TXU2H3A +.It Netgear FA120 +.It Nintendo Wii USB Lan Ethernet Adapter RVL-015 +.It OQO model 01+ Ethernet +.It Planex UE-200TX-G +.It Sitecom LN-029 +.It SMC 2209USB/ETH +.It SnapPort USB 2.0 LAN Adapter +.It ST Lab USB 2.0 Fast Ethernet +.It Surecom EP-1427X-2 +.It System TALKS SGC-X2UL +.It TRENDnet TU2-ET100 +.It Z-TEK ZK-R01-2 +.El +.Sh DESCRIPTION +The +.Nm +driver provides support for USB +.Tn Ethernet +adapters based on the ASIX Electronics AX88172, AX88178, AX88772, AX88772A, +AX88772B USB 2.0 chipsets. +.Pp +The chip contains a 10/100 +.Tn Ethernet +MAC with MII interface and is designed to work with both +.Tn Ethernet +and HomePNA transceivers. +The AX88172 and AX88772 contain 10/100 Ethernet MACs with MII interfaces. +The AX88178 contains a 10/100/1000 Gigabit +.Tn Ethernet +MAC with a GMII/MII interface. +The chip also supports USB 2.0, thereby accommodating 100 Mb/s data rates. +.Pp +The +.Nm +driver supports the following media types: +.Bl -tag -width xxxxxxxxxxxxxxxxxxxx +.It autoselect +Enable automatic selection of the media type and options. +.It 10baseT/UTP +Set 10Mbps operation. +The +.Ar mediaopt +option can also be used to enable +.Ar full-duplex +operation. +Not specifying +.Ar full duplex +implies +.Ar half-duplex +mode. +.It 100baseTX +Set 100Mbps (fast +.Tn Ethernet ) +operation. +The +.Ar mediaopt +option can also be used to enable +.Ar full-duplex +operation. +Not specifying +.Ar full duplex +implies +.Ar half-duplex +mode. +.It 1000baseT +Set 1000Mbps (Gigabit +.Tn Ethernet ) +operation (AX88178 only). +.El +.Pp +The +.Nm +driver supports the following media options: +.Bl -tag -width xxxxxxxxxxxxxxxxxxxx +.It full-duplex +Force full duplex operation. +The interface will operate in half duplex mode +if this media option is not specified. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh DIAGNOSTICS +See +.Xr usbnet 4 +for diagnostics. +.Sh SEE ALSO +.Xr arp 4 , +.Xr ifmedia 4 , +.Xr netintro 4 , +.Xr usb 4 , +.Xr usbnet 4 , +.Xr ifconfig 8 +.Rs +.%T ASIX AX88172 data sheet +.%U http://www.asix.com.tw +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx +and was ported to +.Nx 3.0 . +It replaces the +.Nx +uax driver. diff --git a/static/netbsd/man4/axen.4 b/static/netbsd/man4/axen.4 new file mode 100644 index 00000000..960c0647 --- /dev/null +++ b/static/netbsd/man4/axen.4 @@ -0,0 +1,95 @@ +.\" $NetBSD: axen.4,v 1.9 2019/08/30 09:22:17 wiz Exp $ +.\" $OpenBSD: axen.4,v 1.2 2013/10/07 07:18:36 jmc Exp $ +.\" +.\" Copyright (c) 2013 Yojiro UO +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd August 24, 2019 +.Dt AXEN 4 +.Os +.Sh NAME +.Nm axen +.Nd ASIX Electronics AX88178a/AX88179 10/100/Gigabit USB Ethernet device +.Sh SYNOPSIS +.Cd "axen* at uhub? port ?" +.Cd "rgephy* at mii?" +.Sh DESCRIPTION +The +.Nm +driver provides support for USB Ethernet adapters based on the ASIX +Electronics AX88178a USB 2.0 and AX88179 USB 3.0 chipsets +including the following: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It Buffalo LUA4-U3-AGT +.It D-Link DUB-1312 +.It Kurotoshiko GbE-USB3.0 +.It Kurotoshiko GbE-USB3.0S2 +.It Logitec LAN-GTJU3 +.It Logitec LAN-GTJU3H3 +.It Shanghai Donya DN-84327 +.El +.Pp +The +.Nm +driver supports the following media types: +.Bl -tag -width "autoselect" +.It autoselect +Enable autoselection of the media type and options (this is the default). +The user can manually override the autoselected mode by adding media +options to the appropriate +.Xr ifconfig.if 5 +file. +.It 10baseT +Set 10Mbps operation. +.It 100baseTX +Set 100Mbps (Fast Ethernet) operation. +.It 1000baseT +Set 1000Mbps (Gigabit Ethernet) operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh DIAGNOSTICS +See +.Xr usbnet 4 +for diagnostics. +.Sh SEE ALSO +.Xr arp 4 , +.Xr mii 4 , +.Xr netintro 4 , +.Xr rgephy 4 , +.Xr usb 4 , +.Xr usbnet 4 , +.Xr ifconfig.if 5 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 5.4 +and in +.Nx 7.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Yojiro UO Aq Mt yuo@nui.org +for +.Ox +and ported to +.Nx +by +.An NONAKA Kimihiro Aq Mt nonaka@NetBSD.org . diff --git a/static/netbsd/man4/az.4 b/static/netbsd/man4/az.4 new file mode 100644 index 00000000..687f78c6 --- /dev/null +++ b/static/netbsd/man4/az.4 @@ -0,0 +1,76 @@ +.\" $NetBSD: az.4,v 1.7 2018/08/31 19:36:28 sevan Exp $ +.\" $RuOBSD: az.4,v 1.3 2001/10/26 05:38:43 form Exp $ +.\" $OpenBSD: az.4,v 1.1 2001/12/05 10:58:54 mickey Exp $ +.\" +.\" Copyright (c) 2001 Vladimir Popov +.\" 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. +.\" +.\" 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. +.\" +.Dd August 31, 2018 +.Dt AZ 4 +.Os +.Sh NAME +.Nm az +.Nd Aztech/PackardBell radio card device driver +.Sh SYNOPSIS +.Cd "az0 at isa? port 0x350" +.Cd "az1 at isa? port 0x358" +.Cd "radio* at az?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Aztech/PackardBell radio cards. +.Pp +The Aztech/PackardBell cards are stereo FM tuners that allow tuning +in the 87.5-108.0 MHz range. +They are capable of reporting signal status (tuned/not tuned, stereo/mono +signal) and forcing audio output to mono. +.Pp +The Aztech cards use only one I/O port. +The I/O port is set by the driver to the value specified in the configuration +file. +The I/O port must be one of +0x350 and 0x358. +.Sh SEE ALSO +.Xr isa 4 , +.Xr radio 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Ox 3.0 +and +.Nx 1.6 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An "Vladimir Popov" +and +.An "Maxim Tsyplakov" . +The man page was written by +.An "Vladimir Popov" . +.Sh BUGS +It is impossible to determine to which frequency the card is tuned. +Thus, the driver will report an internally stored value even if it is not +correct (changed by some program that uses direct port access). diff --git a/static/netbsd/man4/battery_pmu.4 b/static/netbsd/man4/battery_pmu.4 new file mode 100644 index 00000000..44badf16 --- /dev/null +++ b/static/netbsd/man4/battery_pmu.4 @@ -0,0 +1,53 @@ +.\" $NetBSD: battery_pmu.4,v 1.5 2009/05/18 14:41:41 wiz Exp $ +.\" +.\" Copyright (c) 2007 +.\" Michael Lorenz. 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.Dd May 18, 2009 +.Dt BATTERY_PMU 4 +.Os +.Sh NAME +.Nm battery_pmu +.Nd support for batteries and sensors in PCI-based Apple Powerbooks +.Sh SYNOPSIS +.Cd "battery* at pmu?" +.Sh DESCRIPTION +The +.Nm +driver provides support for batteries and hardware sensors found +in first generation PCI-based PowerBooks (i.e. Apple Powerbook +2400, 3400 and 3500 (also known as Original PowerBook G3). +Currently it only exports a few sensors via the +.Xr envsys 4 +interface, including battery charge, voltage, CPU and battery +temperature and AC power availability. +.Sh SEE ALSO +.Xr envsys 4 , +.Xr pmu 4 , +.Xr envstat 8 +.Sh BUGS +There is no APM emulation right now and the battery current sensor +may return misleading or wrong data. +This driver is considered preliminary and may be replaced at some +point. diff --git a/static/netbsd/man4/bba.4 b/static/netbsd/man4/bba.4 new file mode 100644 index 00000000..753888f8 --- /dev/null +++ b/static/netbsd/man4/bba.4 @@ -0,0 +1,55 @@ +.\" $NetBSD: bba.4,v 1.7 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2000 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 22, 2005 +.Dt BBA 4 +.Os +.Sh NAME +.Nm bba +.Nd IOASIC Baseboard Audio device driver +.Sh SYNOPSIS +.Cd "bba0 at ioasic? offset ?" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the IOASIC baseboard audio found on +DEC 3000/300, 3000/500 +.Ns ( Nx Ns /alpha ) +and DEC Personal DECstation +.Ns ( Nx Ns /pmax ) +systems. The baseboard +audio driver is based on the AMD 79c30 ISDN and audio interface. The +interface is only capable of playing and recording 8kHz mu-law audio. +.Sh SEE ALSO +.Xr audio 4 , +.Xr ioasic 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.5 . +The name for the driver was adopted from the same driver in ULTRIX. diff --git a/static/netbsd/man4/bce.4 b/static/netbsd/man4/bce.4 new file mode 100644 index 00000000..634d8253 --- /dev/null +++ b/static/netbsd/man4/bce.4 @@ -0,0 +1,61 @@ +.\" $NetBSD: bce.4,v 1.6 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2003 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Thomas Klausner. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 29, 2006 +.Dt BCE 4 +.Os +.Sh NAME +.Nm bce +.Nd Broadcom BCM4401 Ethernet device driver +.Sh SYNOPSIS +.Cd "bce* at pci? dev ? function ?" +.Sh DESCRIPTION +The +.Nm +provides support for the Broadcom BCM4401 10/100 Ethernet card. +Other cards from the 440x series may also be supported. +.Sh SEE ALSO +.Xr bge 4 , +.Xr mii 4 , +.Xr ukphy 4 +.Sh HISTORY +The +.Nm +driver appeared in +.Nx 1.6.2 . +.Sh AUTHORS +.An Cliff Wright +.Aq cliff@snipe444.org +.Sh BUGS +There is no VLAN support. +.Pp +There is no flow control support. +.Pp +Multicast is not using the packet filter and is in +the accept all multicast mode. diff --git a/static/netbsd/man4/bcsp.4 b/static/netbsd/man4/bcsp.4 new file mode 100644 index 00000000..5bce00d7 --- /dev/null +++ b/static/netbsd/man4/bcsp.4 @@ -0,0 +1,69 @@ +.\" $NetBSD: bcsp.4,v 1.7 2014/03/18 18:20:39 riastradh Exp $ +.\" +.\" Copyright (c) 2007 KIYOHARA Takashi +.\" 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. +.\" +.\" 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. +.\" +.Dd August 23, 2009 +.Dt BCSP 4 +.Os +.Sh NAME +.Nm bcsp +.Nd BlueCore Serial Protocol driver +.Sh SYNOPSIS +.Cd pseudo-device bcsp +.Sh DESCRIPTION +The +.Nm +driver provides a +.Xr tty 4 +line discipline to send and receive BlueCore Serial Protocol packets over +a serial line, as described in the +.Qq BlueCore Serial Protocol Pq BCSP +specification. +.Pp +Moreover, the +.Nm +supports BCSP Link Establishment Protocol, as described in the +.Qq BCSP Link Establishment Protocol +specification. +.Pp +The +.Xr btattach 8 +program is used to configure the tty line and create the +.Nm +driver instance. +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr btuart 4 , +.Xr btattach 8 +.Sh HISTORY +The +.Nm +device appeared in +.Nx 5.0 . +.Sh AUTHORS +.An KIYOHARA Takashi Aq Mt kiyohara@kk.iij4u.or.jp +.Sh BUGS +.Nm +does not support configuration for baud rate yet. diff --git a/static/netbsd/man4/be.4 b/static/netbsd/man4/be.4 new file mode 100644 index 00000000..7057ab11 --- /dev/null +++ b/static/netbsd/man4/be.4 @@ -0,0 +1,83 @@ +.\" $NetBSD: be.4,v 1.1 2004/03/31 07:20:48 mrg Exp $ +.\" +.\" Copyright (c) 1998 Jason L. Wright (jason@thought.net) +.\" 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. +.\" +.\" 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. +.\" +.\" from: OpenBSD: be.4,v 1.13 2003/06/02 18:51:34 jason Exp +.\" +.Dd March 31, 2004 +.Dt BE 4 +.Os +.Sh NAME +.Nm be +.Nd SPARC Fast Ethernet interface +.Sh SYNOPSIS +.Cd "qec* at sbus? slot ? offset ?" +.Cd "be* at qec?" +.Sh DESCRIPTION +The +.Nm +interface provides access to the 10Mb/s and 100Mb/s (half duplex only) +Ethernet networks. +The +.Nm +is found on the Sun 10/100 Mbit Ethernet boards +(Sun part number SUNW,501-2450). +.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. +.Pp +The +.Nm +is not capable of link autonegotiation, so a media type must be specified +with +.Xr ifconfig 8 . +The supported media types are: +.Bl -tag -width xxxxxxxxxx -offset indent +.It media 100baseTX +Use 100Mbps, half duplex +.It media 10baseT +Use 10Mbps, half duplex +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr ifmedia 4 , +.Xr inet 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr sbus 4 , +.Xr ifconfig 8 +.Sh HISTORY +Support for the +.Nm +first appeared in +.Nx 1.4 . diff --git a/static/netbsd/man4/bge.4 b/static/netbsd/man4/bge.4 new file mode 100644 index 00000000..9ffb4e04 --- /dev/null +++ b/static/netbsd/man4/bge.4 @@ -0,0 +1,254 @@ +.\" $NetBSD: bge.4,v 1.18 2024/06/06 21:26:12 andvar Exp $ +.\" +.\" Copyright (c) 2003 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Matthias Scheler . +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd October 15, 2019 +.Dt BGE 4 +.Os +.Sh NAME +.Nm bge +.Nd Broadcom BCM57xx/BCM590x 10/100/Gigabit Ethernet driver +.Sh SYNOPSIS +.Cd "bge* at pci? dev ? function ?" +.Pp +Configuration of PHYs may also be necessary. +See +.Xr mii 4 . +.Sh DESCRIPTION +The +.Nm +driver provides support for various NICs based on the Broadcom BCM570x, +571x, 572x, 575x, 576x, 578x, 5776x and 5778x Gigabit Ethernet controller +chips and the 590x and 5779x Fast Ethernet controller chips, +including the following: +.Pp +.Bl -bullet -compact +.It +3Com 3c996-T (10/100/1000baseT) +.It +3Com 3c996-SX (1000baseSX) +.It +3Com 3c996B-T (10/100/1000baseT) +.It +Allied-Telesis AT-2972LX10/LC +.It +Apple Thunderbolt to Gigabit Ethernet adapter A1433 (10/100/1000baseT) +.It +Dell PowerEdge 1750 integrated BCM5704C NIC (10/100/1000baseT) +.It +Dell PowerEdge 2550 integrated BCM5700 NIC (10/100/1000baseT) +.It +Dell PowerEdge 2650 integrated BCM5703 NIC (10/100/1000baseT) +.It +Fujitsu PRIMEPOWER 250/450 LAN (10/100/1000baseT) +.It +Fujitsu PW0G8GE1U (1000baseSX) +.It +Fujitsu PW0G8GE2U (10/100/1000baseT) +.It +Fujitsu PW008GE4 (1000baseSX) +.It +Fujitsu PW008GE5 (10/100/1000baseT) +.It +Fujitsu PW008QG1U (10/100/1000baseT) +.It +HP ProLiant NC320T PCI-E Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC320m PCI-E Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC331T PCI-E Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC332T PCI-E Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC370F PCI-X Gigabit NIC (1000baseSX) +.It +HP ProLiant NC370T PCI-X Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC1020 PCI Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC6770 PCI-X Gigabit NIC (1000baseSX) +.It +HP ProLiant NC7760 embedded PCI Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC7770 PCI-X Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC7771 PCI-X Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC7780 embedded PCI-X Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC7781 embedded PCI-X Gigabit NIC (10/100/1000baseT) +.It +HP ProLiant NC7782 embedded PCI-X Gigabit NIC (10/100/1000baseT) +.It +IBM ThinkPad T43/T43p integrated BCM5751M NIC (10/100/1000baseT) +.It +IBM xSeries 235 integrated BCM5703X NIC (10/100/1000baseT) +.It +IBM xSeries 305 integrated BCM5703X NIC (10/100/1000baseT) +.It +Netgear GA302T (10/100/1000baseT) +.It +SysKonnect SK-9D21 (10/100/1000baseT) +.It +SysKonnect SK-9D41 (1000baseSX) +.El +.Pp +The +.Nm +driver supports IPv4 IP, TCP, and UDP checksum offload for receive, +IP checksum offload for transmit, VLAN tag insertion and stripping, +as well as a 256-bit multicast hash filter. +The BCM5717, BCM5718, BCM5723, BCM5754, BCM5755, BCM5761, BCM5762, BCM5764, +BCM5784, BCM5785, BCM5787 and BCM577xx chips also support IPv6 receive TCP/UDP +checksum offload. +The +.Nm +driver supports this feature of the chip. +See +.Xr ifconfig 8 +for information on how to enable this feature. +.Pp +The BCM5700, BCM5701, BCM5702, BCM5703, BCM5704, BCM5714, BCM5717, BCM5719, +BCM5720, BCM5762, BCM5780, BCM57765 and BCM57766 also support jumbo frames, +which can be configured via the interface MTU setting. +Selecting an MTU larger than 1500 bytes with the +.Xr ifconfig 8 +utility configures the adapter to receive and transmit Jumbo frames. +.Pp +The level of interrupt mitigation for received packets can be adjusted +with the +.Li hw.bge.rx_lvl +.Xr sysctl 8 +control. +A value of 1 yields a +.Nm +interrupt for every two full-sized Ethernet frames. +Each increment of the value will, roughly, halve receive interrupt rate, +up to a maximum of 5, which interrupts about every 30 to 40 full-sized +TCP segments. +.Pp +The +.Nm +driver supports the following media types: +.Bl -tag -width 1000baseSX +.It Cm autoselect +Enable autoselection of the media type and options. +The user can manually override +the autoselected mode by adding media options to the appropriate +.Xr ifconfig.if 5 +file. +.It Cm 10baseT +Set 10Mbps operation. +The +.Xr ifconfig 8 +.Ic mediaopt +option can also be used to select either +.Cm full-duplex +or +.Cm half-duplex +modes. +.It Cm 100baseTX +Set 100Mbps (Fast Ethernet) operation. +The +.Xr ifconfig 8 +.Ic mediaopt +option can also be used to select either +.Cm full-duplex +or +.Cm half-duplex +modes. +.It Cm 1000baseT +Set 1000baseT operation over twisted pair. +Both +.Cm full-duplex +and +.Cm half-duplex +modes are supported. +.It Cm 1000baseSX +Set 1000Mbps (Gigabit Ethernet) operation. +Both +.Cm full-duplex +and +.Cm half-duplex +modes are supported. +.El +.Pp +The +.Nm +driver supports the following media options: +.Bl -tag -width full-duplex +.It Cm full-duplex +Force full duplex operation. +.It Cm half-duplex +Force half duplex operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh DIAGNOSTICS +.Bl -diag +.It "bge%d: can't find mem space" +A fatal initialization error has occurred. +.It "bge%d: couldn't map interrupt" +A fatal initialization error has occurred. +.It "bge%d: watchdog timeout -- resetting" +The device has stopped responding to the network, or there is a problem with +the network connection (cable). +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr brgphy 4 , +.Xr ifmedia 4 , +.Xr mii 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 1.6.1 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Bill Paul +.Aq wpaul@windriver.com +for +.Fx +and ported to +.Nx +by +.An Frank van der Linden +.Aq fvdl@wasabisystems.com , +.An Jason R. Thorpe +.Aq thorpej@wasabisystems.com +and +.An Jonathan Stone +.Aq jonathan@dsg.stanford.edu . diff --git a/static/netbsd/man4/bha.4 b/static/netbsd/man4/bha.4 new file mode 100644 index 00000000..cbbee27e --- /dev/null +++ b/static/netbsd/man4/bha.4 @@ -0,0 +1,75 @@ +.\" $NetBSD: bha.4,v 1.13 2002/03/06 14:43:03 wiz Exp $ +.\" +.\" Copyright (c) 1994 James A. Jegers +.\" 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. 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. +.\" +.Dd November 29, 1994 +.Dt BHA 4 +.Os +.Sh NAME +.Nm bha , +.Nm bt +.Nd Buslogic SCSI adapter driver +.Sh SYNOPSIS +.Cd "bha0 at isa? port 0x330 irq ? drq ?" +.Cd "bha* at eisa? slot ?" +.Cd "bha* at pci? dev ? function ?" +.Cd "scsibus* at bha?" +.Sh DESCRIPTION +The +.Nm bha +driver supports the following +.Tn Buslogic +.Tn SCSI +adapters: +.Pp +.Bl -tag -width indent -offset indent -compact +.It Tn Buslogic ISA BT-445 +.It Tn Buslogic EISA BT-74x +.It Tn Buslogic PCI BT-9[45][68] +.El +.Sh SEE ALSO +.Xr cd 4 , +.Xr ch 4 , +.Xr intro 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr st 4 +.Sh HISTORY +In +.Nx 1.2 +and earlier, this driver was named +.Nm bt +but was renamed to +.Nm bha +in later releases. +.Sh BUGS +The +.Tn Buslogic +BT-930 is not supported in this driver. +.Pp +The +.Tn Buslogic +BT-445S has a problem in early hardware and firmware revisions +which prevents proper operation on a system with more than 16MB of RAM. +Hardware revision D and firmware revision 3.37 should be considered minimum +requirements for using this board on systems configured in this manner. diff --git a/static/netbsd/man4/bio.4 b/static/netbsd/man4/bio.4 new file mode 100644 index 00000000..94b04563 --- /dev/null +++ b/static/netbsd/man4/bio.4 @@ -0,0 +1,235 @@ +.\" $NetBSD: bio.4,v 1.18 2019/05/09 07:12:38 cnst Exp $ +.\" $OpenBSD: bio.4,v 1.19 2006/09/20 22:22:37 jmc Exp $ +.\" +.\" Copyright (c) 2002 Niklas Hallqvist +.\" Copyright (c) 2006 Marco Peereboom +.\" 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. 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. +.\" +.Dd May 9, 2019 +.Dt BIO 4 +.Os +.Sh NAME +.Nm bio +.Nd Block IO ioctl tunnel pseudo-device +.Sh SYNOPSIS +.Cd "pseudo-device bio" +.Pp +.In dev/biovar.h +.Sh DESCRIPTION +The +.Nm +driver provides userland applications +.Xr ioctl 2 +access to devices otherwise not found as +.Pa /dev +nodes. +The +.Pa /dev/bio +device node operates by delegating ioctl +calls to a requested device driver. +Only drivers which have registered with the +.Nm +device can be accessed via this interface. +.Pp +The following device drivers register with +.Nm +for volume management: +.Pp +.Bl -tag -width ataraid(4)XX -offset indent -compact +.\" .It Xr ami 4 +.\" American Megatrends Inc. MegaRAID PATA/SATA/SCSI RAID controller +.It Xr arcmsr 4 +Areca Technology Corporation SATA RAID controller +.It Xr ataraid 4 +Software BIOS RAID +.It Xr cac 4 +Compaq RAID array controller +.It Xr ciss 4 +Compaq Smart ARRAY 5/6 SAS/SATA/SCSI RAID controller +.It Xr mfi 4 +LSI Logic & Dell MegaRAID SAS RAID controller +.It Xr mfii 4 +LSI Logic MegaRAID SAS Fusion RAID controller +.It Xr mpii 4 +LSI Logic Fusion-MPT Message Passing Interface II +.It Xr mpt 4 +LSI Fusion-MPT RAID controller +.El +.Pp +The following ioctl calls apply to the +.Nm bio +device: +.Bl -tag -width BIOCCAPABILITIES +.It Dv BIOCLOCATE +Locate a named device and give back a cookie to the application +for subsequent ioctl calls. +The cookie is used to tunnel further ioctls to the right device. +.It Dv BIOCINQ +Retrieve number of volumes and physical disks for a specific device. +.It Dv BIOCDISK +Retrieve detailed information for the specified physical disk. +Information returned can include status, size, channel, target, lun, +vendor name, serial number, and processor device (ses). +.\" or safte +.It Dv BIOCDISK_NOVOL +Is just the same as +.Dv BIOCDISK +but doesn't require the disks to be in volume sets, so this +applies to any physical disk connected to the controller. +.Pp +Note: this ioctl might not be supported on all hardware. +It is a +.Nx +extension of +.Nm . +It is supported by +.Xr arcmsr 4 , +.Xr ciss 4 , +and +.Xr mpt 4 . +It is also supported by +.Xr cac 4 , +but handled exactly the same as +.Dv BIOCDISK . +.It Dv BIOCVOL +Retrieve detailed information for the specified volume. +Information returned can include status, size, RAID level, number of disks, +device name association (sd?) and vendor name. +.It Dv BIOCALARM +Control the alarm beeper on the device. +Supported states are: disable alarm, enable alarm, silence alarm, status and +test alarm. +.Pp +Note: These options might not be supported on all hardware. +It is supported by +.Xr arcmsr 4 , +.Xr mfi 4 , +and +.Xr mfii 4 . +.It Dv BIOCBLINK +Blink an LED of the specified physical disk. +Supported blink states are: blink LED, unblink LED and blink alarm LED. +.Pp +Note: This option is only supported if the disk is governed by +.Xr ses 4 +.\" or +.\" .Xr safte 4 +and the hardware supports hardware blinking. +It is supported by +.Xr ciss 4 , +.Xr mfi 4 , +and +.Xr mfii 4 . +.It Dv BIOCSETSTATE +Alter the state of specified physical disk. +Supported states are: create/remove hot-spare, create/remove pass through +disk, start/stop consistency check in a volume, online disk and offline disk, +and a manual rebuild kick-off designation. +.Pp +Note: These options might not be supported on all hardware. +Some of these options are supported by +.Xr arcmsr 4 , +.Xr mfi 4 , +and +.Xr mfii 4 . +.Pp +Online, offline and hotspare designations are supported by +.Xr mfi 4 +and +.Xr mfii 4 , +plus a rebuild designation is supported by +.Xr mfii 4 ; +all four of these state options are the original states from +.Ox , +the other options, including hotspare unmarking, being +.Nx +extensions of +.Nm . +.Pp +Hotspare, pass through and consistency check options are supported by +.Xr arcmsr 4 . +.It Dv BIOCVOLOPS +For operations in volume sets. +It's able to create and remove a volume +set in a supported RAID controller. +.Pp +Note: this ioctl might not be supported on all hardware. +It is a +.Nx +extension of +.Nm , +and is supported by +.Xr arcmsr 4 . +.El +.Pp +The +.Xr bioctl 8 +utility can be used to perform the above controls from the userland. +Additionally, since +.Dv BIOCVOL +volume status is normally duplicated into +.Xr sysmon_envsys 9 +sensors of +.Dv ENVSYS_DRIVE +type, it is also available through +.Xr envsys 4 , +and can be monitored with +.Xr envstat 8 +and +.Xr powerd 8 . +.Sh FILES +.Bl -tag -width Ds -compact +.It Pa /dev/bio +ioctl tunnel device +.It Pa /etc/powerd/scripts/sensor_drive +powerd script for drive sensors +.El +.Sh SEE ALSO +.Xr ioctl 2 , +.Xr envsys 4 , +.Xr bioctl 8 , +.Xr envstat 8 , +.Xr powerd 8 , +.Xr sysmon_envsys 9 +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 3.2 +and +.Nx 4.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Niklas Hallqvist Aq Mt niklas@openbsd.org . +The API was written by +.An Marco Peereboom Aq Mt marco@openbsd.org +and was extended even more for +.Nx +by +.An Juan Romero Pardines Aq Mt xtraeme@netbsd.org . diff --git a/static/netbsd/man4/bktr.4 b/static/netbsd/man4/bktr.4 new file mode 100644 index 00000000..40eac3c4 --- /dev/null +++ b/static/netbsd/man4/bktr.4 @@ -0,0 +1,499 @@ +.\" $NetBSD: bktr.4,v 1.19 2018/08/31 19:36:28 sevan Exp $ +.\" +.\" Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005 Thomas Klausner +.\" 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. 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 NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd August 30, 2011 +.Dt BKTR 4 +.Os +.Sh NAME +.Nm bktr +.Nd Brooktree 848 compatible TV card driver +.Sh SYNOPSIS +.Cd "bktr* at pci? dev ? function ?" +.Cd radio* at bktr? +.Pp +.In dev/ic/bt8xx.h +.Pp +.Cd options BKTR_OVERRIDE_CARD=n +.Cd options BKTR_OVERRIDE_TUNER=n +.Cd options BKTR_OVERRIDE_DBX=n +.Cd options BKTR_OVERRIDE_MSP=n +.Cd options BKTR_SYSTEM_DEFAULT=n +.Cd options BKTR_USE_PLL +.Cd options BKTR_GPIO_ACCESS +.Cd options BKTR_NO_MSP_RESET +.\" The following options have no effect: +.\" .Cd options BKTR_430_FX_MODE +.\" .Cd options BKTR_SIS_VIA_MODE +.Sh DESCRIPTION +This driver supports video capture (frame grabber) and TV tuner cards +based on the +.Tn Brooktree +.Tn Bt848 , +.Tn Bt848A , +.Tn Bt849A , +.Tn Bt878 , +and +.Tn Bt879 +chips. +.Pp +Note that +.Nm +is not part of the +.Xr dtv 4 +framework. +.Pp +Supported cards include most cards by +.Tn AVerMedia , +.Tn Hauppauge , +.Tn Leadtek , +.Tn Miro , +.Tn Pinnacle , +.Tn Pixelview , +.Tn Terratec , +and some other companies, especially all cards based on the +.Tn Brooktree +.Tn Bt848 , +.Tn Bt848A , +.Tn Bt849A , +.Tn Bt878 , +or +.Tn Bt879 +chips. +A notable exception are the +.Tn ATI +.Tn All-in-Wonder +cards. +.Pp +The following kernel configuration options are available: +.Bl -ohang +.It Cd options BKTR_OVERRIDE_CARD=n +If the card is not recognized correctly by the auto-detection routine, +it can be overridden by setting this option to the appropriate +value. +The following values are allowed: +.Bl -tag -width 2n -compact +.It 1 +Pinnacle Systems (Miro) TV, +.It 2 +Hauppauge WinCast/TV, +.It 3 +STB TV/PCI, +.It 4 +Intel Smart Video III and Videologic Captivator PCI, +.It 5 +IMS TV Turbo, +.It 6 +AVerMedia TV/FM, +.It 7 +MMAC Osprey, +.It 8 +NEC PK-UG-X017, +.It 9 +I/O DATA GV-BCTV2/PCI, +.It 10 +Animation Technologies FlyVideo, +.It 11 +Zoltrix TV, +.It 12 +KISS TV/FM PCI, +.It 13 +Video Highway Xtreme, +.It 14 +Askey/Dynalink Magic TView, +.It 15 +Leadtek WinFast TV 2000/VC100, +.It 16 +TerraTec TerraTV+, +and +.It 17 +TerraTec TValue. +.El +.It Cd options BKTR_OVERRIDE_TUNER=n +If the TV tuner is not recognized correctly by the auto-detection +routine, it can be overridden by setting this option to the +appropriate value. +Known values are: +.Bl -tag -width 2n -compact +.It 1 +Temic NTSC, +.It 2 +Temic PAL, +.It 3 +Temic SECAM, +.It 4 +Philips NTSC, +.It 5 +Philips PAL, +.It 6 +Philips SECAM, +.It 7 +Temic PAL I, +.It 8 +Philips PAL I, +.It 9 +Philips FR1236 NTSC FM, +.It 10 +Philips FR1216 PAL FM, +.It 11 +Philips FR1236 SECAM FM, +.It 12 +ALPS TSCH5 NTSC FM, +and +.It 13 +ALPS TSBH1 NTSC. +.El +.It Cd options BKTR_OVERRIDE_DBX=n +To override detection of the BTSC (dbx) chip, set this to +.Em 1 +if you have one, or +.Em 0 +if not. +.It Cd options BKTR_OVERRIDE_MSP=n +To override detection of the MSP 34xx chip, set this to +.Em 1 +if you have one, or +.Em 0 +if not. +.It Cd options BKTR_SYSTEM_DEFAULT=n +If this option is set to +.Em BROOKTREE_PAL +default to PAL, else to NTSC. +.It Cd options BKTR_USE_PLL +Default to PLL instead of XTAL. +.It Cd options BKTR_GPIO_ACCESS +Use +.Fn ioctl Ns s +for direct GPIO access. +.It Cd options BKTR_NO_MSP_RESET +Skip the MSP reset. +This option is handy if you initialize the MSP audio in another +operating system first and then do a soft reboot. +.\" The following options have no effect: +.\" .It Cd options BKTR_430_FX_MODE +.\" .It Cd options BKTR_SIS_VIA_MODE +.El +.Sh VIDEO CAPTURE INTERFACE +The video capture interface to +.Nm +is accessed through the +.Pa /dev/bktrN +devices. +The following +.Xr ioctl 2 +commands are supported on the Brooktree848 video capture interface: +.Bl -tag -width Ds +.It Dv METEORSFMT Fa "unsigned long *" +This command sets the video format, also sometimes referred to as the +video norm. +The supported formats are: +.Pp +.Bl -tag -compact -width 28n +.It Dv METEOR_FMT_NTSC +NTSC +.It Dv METEOR_FMT_PAL +PAL +.It Dv METEOR_FMT_SECAM +SECAM +.It Dv METEOR_FMT_AUTOMODE +hardware default +.El +.It Dv METEORGFMT Fa "unsigned long *" +This command retrieves the current video format to the +.Vt unsigned long * +argument. +.It Dv METEORSETGEO Fa "struct meteor_geomet *" +This command sets the video properties that affect the bit size of +a frame through the +.Vt meteor_geomet * +argument. +.Bd -literal +struct meteor_geomet { + u_short rows; /* height in pixels*/ + u_short columns; /* width in pixels */ + u_short frames; + u_long oformat; +} +.Ed +.Pp +The +.Va frames +field is the number of frames to buffer. +Currently only 1 frame is supported for most operations. +.Pp +The +.Va oformat +field is a bit-field describing the output pixel format +type and which video fields to capture. +The following are supported pixel format types: + .Pp +.Bl -tag -compact -width 28n +.It Dv METEOR_GEO_RGB16 +16-bit RGB +.It Dv METEOR_GEO_RGB24 +24-bit RGB in 32 bits +.It Dv METEOR_GEO_YUV_PACKED +16-bit 4:2:2 YUV +.It Dv METEOR_GEO_YUV_PLANAR +16-bit 4:2:2 YUV +.It Dv METEOR_GEO_YUV_UNSIGNED +unsigned UV +.It Dv METEOR_GEO_YUV_422 +.It Dv METEOR_GEO_YUV_12 +.It Dv METEOR_GEO_YUV_9 +.El +.Pp +The following are supported field capture modes: +.Pp +.Bl -tag -compact -width 28n +.It Dv METEOR_GEO_ODD_ONLY +only odd fields +.It Dv METEOR_GEO_EVEN_ONLY +only even fields +.El +.Pp +By default, frames will consist of both the odd and even fields. +.It Dv METEORGSUPPIXFMT Fa "struct meteor_pixfmt *" +This command is used interactively to fetch descriptions of supported +output pixel formats into the +.Vt meteor_pixfmt * +argument. +.Bd -literal +struct meteor_pixfmt { + u_int index; + METEOR_PIXTYPE type; + u_int Bpp; /* bytes per pixel */ + u_long masks[3]; /* YUV bit masks */ + unsigned swap_bytes :1; + unsigned swap_shorts:1; +}; +.Ed +.Pp +To query all the supported formats, start with an index field of 0 and +continue with successive encodings (1, 2, ...) until the command returns +an error. +.It Dv METEORSACTPIXFMT Fa "int *" +This command sets the active pixel format. +The +.Vt int * +argument is the index of the pixel format as returned by +.Dv METEORGSUPPIXFMT . +.It Dv METEORGACTPIXFMT Fa "int *" +This command fetches the active pixel format index into the +.Vt int * +argument. +.It Dv METEORSINPUT Fa "unsigned long *" +This command sets the input port of the Brooktree848 device. +The following are supported input ports: +.Pp +.Bl -tag -compact -width 28n +.It Dv METEOR_INPUT_DEV0 +composite (RCA) +.It Dv METEOR_INPUT_DEV1 +tuner +.It Dv METEOR_INPUT_DEV2 +composite S-video +.It Dv METEOR_INPUT_DEV3 +mystery device +.It Dv METEOR_INPUT_DEV_RGB +rgb meteor +.It Dv METEOR_INPUT_DEV_SVIDEO +S-Video +.El +.Pp +Not all devices built with Brooktree848 chips support the +full list of input ports. +.It Dv METEORGINPUT Fa "unsigned long *" +This command retrieves the current input port to the +.Vt unsigned long * +argument. +.It Dv METEORSFPS Fa "unsigned short *" +This command sets the number of frames to grab each second. +Valid frame rates are integers from 0 to 30. +.It Dv METEORGFPS Fa "unsigned short *" +This command fetches the number of frames to grab each second into the +.Vt unsigned short * +argument. +.It Dv METEORCAPTUR Fa "int *" +This command controls capturing of video data. +The following are valid arguments: +.Pp +.Bl -tag -compact -width 28n +.It Dv METEOR_CAP_SINGLE +capture one frame +.It Dv METEOR_CAP_CONTINOUS +continuously capture +.It Dv METEOR_CAP_STOP_CONT +stop continuous capture +.El +.It Dv METEORSSIGNAL Fa "unsigned int *" +This command controls the signal emission properties of +.Nm . +If the +.Vt unsigned int * +argument is a valid signal, then that signal will be emitted +when either a frame or field capture has completed. +To select between frame or field signalling, the following arguments +are used: +.Pp +.Bl -tag -compact -width 28n +.It Dv METEOR_SIG_FRAME +signal every frame +.It Dv METEOR_SIG_FIELD +signal every field +.El +.Pp +By default, signals will be generated for every frame. +Generation of signals is terminated with the +.Dv METEOR_SIG_MODE_MASK +argument. +.El +.Sh TUNER INTERFACE +Most cards supported by this driver feature a hardware television tuner +on the I2C bus. +The tuner interface to +.Nm +is accessed through the +.Pa /dev/tunerN +devices. +The following +.Xr ioctl 2 +commands are supported on the tuner interface: +.Bl -tag -width Ds +.It Dv TVTUNER_SETTYPE Fa "unsigned int *" +This command sets the tuner's TV channel set, also sometimes called the TV +channel band. +This setting is used to calculate the proper tuning frequencies. +The desired channel set must be selected before attempting to set the tuner +channel or frequency. +The following is a list of valid channel sets: +.Pp +.Bl -tag -compact -width 28n +.It Dv CHNLSET_NABCST +North America broadcast +.It Dv CHNLSET_CABLEIRC +North America IRC cable +.It Dv CHNLSET_CABLEHRC +North America HRC cable +.It Dv CHNLSET_WEUROPE +Western Europe +.It Dv CHNLSET_JPNBCST +Japan broadcast +.It Dv CHNLSET_JPNCABLE +Japan cable +.It Dv CHNLSET_XUSSR +Russia +.It Dv CHNLSET_AUSTRALIA +Australia +.It Dv CHNLSET_FRANCE +France +.El +.It Dv TVTUNER_GETTYPE Fa "unsigned int *" +This command fetches the tuner's current channel set to the +.Vt unsigned int * +argument. +.It Dv TVTUNER_SETCHNL Fa "unsigned int *" +This command sets the tuner's frequency to a specified channel in the +current channel set. +.It Dv TVTUNER_GETCHNL Fa "unsigned int *" +This command fetches the last selected channel. +Note that it is not necessarily the current channel. +In particular, changing the tuner's frequency by a command other than +.Dv TVTUNER_SETCHNL +will not update this setting, and it defaults to 0 on driver +initialization. +.It Dv TVTUNER_SETFREQ Fa "unsigned int *" +This command sets the tuner's frequency to 1/16th the value of the +.Vt unsigned int * +argument, in MHz. +Note that the current channelset is used to determine frequency +offsets when this command is executed. +.It Dv TVTUNER_GETFREQ Fa "unsigned int *" +This command fetches the tuner's current frequency to the +.Vt unsigned int * +argument. +Note that this value is 16 times the actual tuner frequency, in MHz. +.It Dv BT848_SAUDIO Fa "int *" +This command controls the audio input port and mute state. +The following is a list of valid arguments: +.Pp +.Bl -tag -compact -width 18n +.It Dv AUDIO_TUNER +tuner audio port +.It Dv AUDIO_EXTERN +external audio port +.It Dv AUDIO_INTERN +internal audio port +.It Dv AUDIO_MUTE +mute audio +.It Dv AUDIO_UNMUTE +unmute audio +.El +.It Dv BT848_GAUDIO Fa "int *" +This command fetches the audio input and mute state bits to the +.Vt int * +argument. +.El +.Sh FILES +.Bl -tag -width /dev/tuner* -compact +.It Pa /dev/bktr* +.Nm +driver interface device +.It Pa /dev/tuner* +.Nm +tuner interface device +.It Pa /dev/vbi* +teletext interface device +.El +.Sh SEE ALSO +.Xr options 4 , +.Xr pci 4 , +.Xr radio 4 , +.Pa pkgsrc/audio/xmradio , +.Pa pkgsrc/multimedia/ffmpeg , +.Pa pkgsrc/multimedia/fxtv +.Sh HISTORY +The +.Nm +driver appeared in +.Fx 2.2 +and +.Nx 1.5 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was originally written by +.An "Amancio Hasty" +for +.Fx +and is now maintained by +.An "Roger Hardiman" . +.Nx +porting was done by +.An "Bernd Ernesti" , +.An "Berndt Josef Wulf" , +.An "Matthias Scheler" , +and +.An "Thomas Klausner" . diff --git a/static/netbsd/man4/bluetooth.4 b/static/netbsd/man4/bluetooth.4 new file mode 100644 index 00000000..70886d42 --- /dev/null +++ b/static/netbsd/man4/bluetooth.4 @@ -0,0 +1,428 @@ +.\" $NetBSD: bluetooth.4,v 1.22 2018/02/11 14:15:14 wiz Exp $ +.\" +.\" Copyright (c) 2006 Itronix Inc. +.\" All rights reserved. +.\" +.\" Written by Iain Hibbert for Itronix Inc. +.\" +.\" 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. The name of Itronix Inc. may not be used to endorse +.\" or promote products derived from this software without specific +.\" prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``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 ITRONIX INC. 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. +.\" +.\" +.Dd November 20, 2010 +.Dt BLUETOOTH 4 +.Os +.Sh NAME +.Nm bluetooth +.Nd Bluetooth Protocol Family +.Sh SYNOPSIS +.In netbt/bluetooth.h +.In netbt/hci.h +.In netbt/l2cap.h +.In netbt/rfcomm.h +.Sh DESCRIPTION +The Bluetooth Protocol Family +.Sh ADDRESSING +Bluetooth Protocol Family sockets all use a +.Ar sockaddr_bt +structure which contains a Bluetooth Device Address (BDADDR). +This consists of a six byte string in least significant byte +first order. +.Bd -literal -offset indent +struct sockaddr_bt { + uint8_t bt_len; + sa_family_t bt_family; + bdaddr_t bt_bdaddr; + uint16_t bt_psm; + uint8_t bt_channel; +}; +.Ed +.Pp +The local address used by the socket can be set with +.Xr bind 2 . +.Sh PROTOCOLS +Protocols included are: +.Bl -tag -width XX +.It Cm BTPROTO_HCI +This gives raw access to the Host Controller Interface of local devices +using the HCI protocol as described in the Bluetooth Core Specification. +Any user may open an HCI socket but there are limitations on what +unprivileged users can send and receive. +The local address specified by +.Xr bind 2 +may be used to select the device that the socket will receive packets from. +If +.Dv BDADDR_ANY +is specified then the socket will receive packets from all +devices on the system. +.Xr connect 2 +may be used to create connections such that packets sent with +.Xr send 2 +will be delivered to the specified device, otherwise +.Xr sendto 2 +should be used. +.Pp +The +.Ar bt_psm +and +.Ar bt_channel +fields in the sockaddr_bt structure are ignored by HCI protocol code +and should be set to zero. +.Pp +HCI socket options: +.Bl -tag -width XX +.It Dv SO_HCI_EVT_FILTER Op Ar struct hci_filter +This filter controls which events will be received at the socket. +See +.In netbt/hci.h +for available events. +By default, Command_Complete and Command_Status +events only are enabled. +.It Dv SO_HCI_PKT_FILTER Op Ar struct hci_filter +This filter controls the type of packets that will be received at the +socket. +By default, Event packets only are enabled. +.It Dv SO_HCI_DIRECTION Op Ar int +When set, this enables control messages on packets received at the socket +indicating the direction of travel of the packet. +.El +.Pp +HCI +.Xr sysctl 8 +controls: +.Bl -tag -width XXX +.It Dv net.bluetooth.hci.sendspace +Default send buffer size for HCI sockets. +.It Dv net.bluetooth.hci.recvspace +Default receive buffer size for HCI sockets +.It Dv net.bluetooth.hci.acl_expiry +If set, this is the time in seconds after which unused ACL data connections +will be expired. +If zero, connections will not be closed. +.It Dv net.bluetooth.hci.memo_expiry +Time, in seconds, that the system will keep records of Bluetooth devices +in the vicinity after an Inquiry Response packet has been received. +This information is used for routing purposes. +.It Dv net.bluetooth.hci.eventq_max +The maximum number of packets on the low level Event queue. +.It Dv net.bluetooth.hci.aclrxq_max +The maximum number of packets on the low level ACL queue. +.It Dv net.bluetooth.hci.scorxq_max +The maximum number of packets on the low level SCO queue. +.El +.It Cm BTPROTO_L2CAP +L2CAP sockets give sequential packet access over channels to other Bluetooth +devices and make use of the +.Ar bt_psm +field in the +.Ar sockaddr_bt +structure to select the Protocol/Service Multiplexer to specify when making +connections. +If the special value of +.Dv L2CAP_PSM_ANY +is bound when the +.Xr listen 2 +call is made, the next available PSM from the dynamic range above 0x1001 +will be selected and may be discovered using the +.Xr getsockname 2 +call. +.Pp +L2CAP socket options: +.Bl -tag -width XXX +.It Dv SO_L2CAP_IMTU Op Ar uint16_t +Incoming MTU +.It Dv SO_L2CAP_OMTU Op Ar uint16_t +Outgoing MTU (read-only) +.It Dv SO_L2CAP_LM Op Ar int +Link Mode. +The following bits may be set: +.Pp +.Bl -tag -compact -width ".Dv L2CAP_LM_ENCRYPT" +.It Dv L2CAP_LM_AUTH +Request authentication +.Pq pairing . +.It Dv L2CAP_LM_ENCRYPT +Request encryption +.Pq includes auth . +.It Dv L2CAP_LM_SECURE +Request secured link +.Pq encryption, plus change link key . +.El +.Pp +Link mode settings will be applied to the baseband link during L2CAP +connection establishment. +If the L2CAP connection is already established, +.Dv EINPROGRESS +may be returned, and it is not possible to guarantee that data already queued +.Pq from either end +will not be delivered. +If the mode change fails, the L2CAP connection will be aborted. +.El +.Pp +L2CAP +.Xr sysctl 8 +controls: +.Bl -tag -width XXX +.It Dv net.bluetooth.l2cap.sendspace +Default send buffer size for L2CAP sockets. +.It Dv net.bluetooth.l2cap.recvspace +Default receive buffer size for L2CAP sockets. +.It Dv net.bluetooth.l2cap.rtx +Response Timeout eXpiry for L2CAP signals. +.It Dv net.bluetooth.l2cap.ertx +Extended Response Timeout eXpiry for L2CAP signals. +.El +.It Cm BTPROTO_RFCOMM +RFCOMM sockets provide streamed data over Bluetooth connection and make use of the +.Ar bt_psm , +and +.Ar bt_channel +fields in the +.Ar sockaddr_bt +structure. +The channel number must be between 1 and 30 inclusive except that if the +special value +.Dv RFCOMM_CHANNEL_ANY +is bound, when the +.Xr listen 2 +call is made, the first unused channel for the relevant bdaddr will be +allocated and may be discovered using the +.Xr getsockname 2 +call. +If no PSM is specified, a default value of +.Dv L2CAP_PSM_RFCOMM +(0x0003) will be used. +.Pp +RFCOMM socket options: +.Bl -tag -width XXX +.It Dv SO_RFCOMM_MTU Op Ar uint16_t +Maximum Frame Size to use for this link. +.It Dv SO_RFCOMM_LM Op Ar int +Link Mode. +The following bits may be set at any time: +.Pp +.Bl -tag -compact -width ".Dv RFCOMM_LM_ENCRYPT" +.It Dv RFCOMM_LM_AUTH +Request authentication +.Pq pairing . +.It Dv RFCOMM_LM_ENCRYPT +Request encryption +.Pq includes auth . +.It Dv RFCOMM_LM_SECURE +Request secured link +.Pq encryption, plus change link key . +.El +.Pp +Link mode settings will be applied to the baseband link during RFCOMM +connection establishment. +If the RFCOMM connection is already established, +.Dv EINPROGRESS +may be returned, and it is not possible to guarantee that data already queued +.Pq from either end +will not be delivered. +If the mode change fails, the RFCOMM connection will be aborted. +.El +.Pp +RFCOMM +.Xr sysctl 8 +controls: +.Bl -tag -width XXX +.It Dv net.bluetooth.rfcomm.sendspace +Default send buffer size for RFCOMM sockets. +.It Dv net.bluetooth.rfcomm.recvspace +Default receive buffer size for RFCOMM sockets. +.It Dv net.bluetooth.rfcomm.default_mtu +Maximum Frame Size (N1) +.It Dv net.bluetooth.ack_timeout +Acknowledgement Timer (T1) +.It Dv net.bluetooth.mcc_timeout +Response Timer for Multiplexer Control Channel (T2) +.El +.It Cm BTPROTO_SCO +SCO sockets provide sequential packet access to time sensitive data +channels over Bluetooth connections, typically used for audio data. +.Pp +SCO socket options: +.Bl -tag -width XXX +.It Dv SO_SCO_MTU Op Ar uint16_t +Maximum packet size for use on this link. +This is read-only and will be set by the protocol code when a connection is made. +Currently, due to limitations in the +.Xr ubt 4 +driver, the SCO protocol code will only accept packets with +exactly this size. +.It Dv SO_SCO_HANDLE Op Ar uint16_t +Connection handle for this link. +This is read-only and provided for informational purposes only. +.El +.Pp +SCO +.Xr sysctl 8 +controls: +.Bl -tag -width XXX +.It Dv net.bluetooth.sco.sendspace +Default send buffer size for SCO sockets. +.It Dv net.bluetooth.sco.recvspace +Default receive buffer size for SCO sockets. +.El +.El +.Sh INFORMATION +The following +.Xr ioctl 2 +calls may be used to manipulate Bluetooth devices. +The +.Xr ioctl 2 +must be made on +.Cm BTPROTO_HCI +sockets. +All of the requests take a +.Ar btreq +structure defined as follows as their parameter and unless otherwise +specified, use the +.Ar btr_name +field to identify the device. +.Bd -literal +struct btreq { + char btr_name[HCI_DEVNAME_SIZE]; /* device name */ + + union { + struct { + bdaddr_t btri_bdaddr; /* device bdaddr */ + uint16_t btri_flags; /* flags */ + uint16_t btri_num_cmd; /* # of free cmd buffers */ + uint16_t btri_num_acl; /* # of free ACL buffers */ + uint16_t btri_num_sco; /* # of free SCO buffers */ + uint16_t btri_acl_mtu; /* ACL mtu */ + uint16_t btri_sco_mtu; /* SCO mtu */ + uint16_t btri_link_policy; /* Link Policy */ + uint16_t btri_packet_type; /* Packet Type */ + uint16_t btri_max_acl; /* max ACL buffers */ + uint16_t btri_max_sco; /* max SCO buffers */ + } btri; + struct { + uint8_t btrf_page0[HCI_FEATURES_SIZE]; /* basic */ + uint8_t btrf_page1[HCI_FEATURES_SIZE]; /* extended page 1 */ + uint8_t btrf_page2[HCI_FEATURES_SIZE]; /* extended page 2 */ + } btrf; + struct bt_stats btrs; /* unit stats */ + } btru; +}; + +#define btr_flags btru.btri.btri_flags +#define btr_bdaddr btru.btri.btri_bdaddr +#define btr_num_cmd btru.btri.btri_num_cmd +#define btr_num_acl btru.btri.btri_num_acl +#define btr_num_sco btru.btri.btri_num_sco +#define btr_acl_mtu btru.btri.btri_acl_mtu +#define btr_sco_mtu btru.btri.btri_sco_mtu +#define btr_link_policy btru.btri.btri_link_policy +#define btr_packet_type btru.btri.btri_packet_type +#define btr_max_acl btru.btri.btri_max_acl +#define btr_max_sco btru.btri.btri_max_sco +#define btr_features0 btru.btrf.btrf_page0 +#define btr_features1 btru.btrf.btrf_page1 +#define btr_features2 btru.btrf.btrf_page2 +#define btr_stats btru.btrs + +/* btr_flags */ +#define BTF_UP (1<<0) /* unit is up */ +#define BTF_RUNNING (1<<1) /* unit is running */ +#define BTF_XMIT_CMD (1<<2) /* transmitting CMD packets */ +#define BTF_XMIT_ACL (1<<3) /* transmitting ACL packets */ +#define BTF_XMIT_SCO (1<<4) /* transmitting SCO packets */ +#define BTF_INIT_BDADDR (1<<5) /* waiting for bdaddr */ +#define BTF_INIT_BUFFER_SIZE (1<<6) /* waiting for buffer size */ +#define BTF_INIT_FEATURES (1<<7) /* waiting for features */ +#define BTF_NOOP_ON_RESET (1<<8) /* wait for No-op on reset */ +#define BTF_INIT_COMMANDS (1<<9) /* waiting for supported commands */ +#define BTF_MASTER (1<<10) /* request Master role */ + +struct bt_stats { + uint32_t err_tx; + uint32_t err_rx; + uint32_t cmd_tx; + uint32_t evt_rx; + uint32_t acl_tx; + uint32_t acl_rx; + uint32_t sco_tx; + uint32_t sco_rx; + uint32_t byte_tx; + uint32_t byte_rx; +}; + +.Ed +.Bl -tag -width SIOCGBTPOLICY +.It Dv SIOCGBTINFO +Get Bluetooth device Info. +Given the device name, fill in the +btreq structure including the address field for use with socket addressing +as above. +.It Dv SIOCGBTINFOA +Get Bluetooth device Info from Address. +Given the device address, fill in the +btreq structure including the name field. +.It Dv SIOCNBTINFO +Next Bluetooth device Info. +If name field is empty, the first device will be returned. +Otherwise, the next device will be returned until no more devices are found +when the call will fail, with error +.Er ENXIO . +Thus, you can cycle through all devices in the system. +.It Dv SIOCSBTFLAGS +Set Bluetooth device Flags. +Not all flags are settable. +.It Dv SIOCGBTFEAT +Get Bluetooth device Features. +This returns the cached basic (page 0) and extended (page 1 & 2) features. +.It Dv SIOCSBTPOLICY +Set Bluetooth device Link Policy. +Link Policy bits are defined in +.In netbt/hci.h , +though you can only set bits that the device supports. +.It Dv SIOCSBTPTYPE +Set Bluetooth device Packet Types. +You can only set packet types that the device supports. +.It Dv SIOCGBTSTATS +Read device statistics. +.It Dv SIOCZBTSTATS +Read device statistics, and zero them. +.El +.Pp +Only the super-user may change device configurations. +.Sh SEE ALSO +.Xr bind 2 , +.Xr getsockname 2 , +.Xr bluetooth 3 , +.Xr bcsp 4 , +.Xr bt3c 4 , +.Xr btbc 4 , +.Xr btuart 4 , +.Xr options 4 , +.Xr ubt 4 +.Sh HISTORY +The Bluetooth Protocol Stack was written for +.Nx 4.0 +by +.An Iain Hibbert +under the sponsorship of Itronix, Inc. diff --git a/static/netbsd/man4/bmtphy.4 b/static/netbsd/man4/bmtphy.4 new file mode 100644 index 00000000..e940df90 --- /dev/null +++ b/static/netbsd/man4/bmtphy.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: bmtphy.4,v 1.4 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 1998, 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, +.\" NASA Ames Research Center. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd January 17, 2005 +.Dt BMTPHY 4 +.Os +.Sh NAME +.Nm bmtphy +.Nd Driver for Broadcom BCM5201 and BCM5202 +.Dq Mini-Theta +Ethernet PHYs and their derivatives +.Sh SYNOPSIS +.Cd "bmtphy* at mii? phy ?" +.Sh DESCRIPTION +The +.Nm +driver supports the Broadcom BCM5201 and BCM5202 10/100 Ethernet PHYs +and their derivatives such as BCM5214, BCM5221, BCM5222, and BCM4401. +It also supports the internal PHY on the 3Com 3c905C 10/100 Ethernet +interface, and the internal PHY on some 3Com 3c905B 10/100 Ethernet +interfaces. +.Sh SEE ALSO +.Xr ex 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr ifconfig 8 diff --git a/static/netbsd/man4/bmx280thp.4 b/static/netbsd/man4/bmx280thp.4 new file mode 100644 index 00000000..5e2ce67f --- /dev/null +++ b/static/netbsd/man4/bmx280thp.4 @@ -0,0 +1,110 @@ +.\" $NetBSD: bmx280thp.4,v 1.5 2022/12/03 01:04:42 brad Exp $ +.\" +.\" Copyright (c) 2022 Brad Spencer +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd November 19, 2022 +.Dt BMX280THP 4 +.Os +.Sh NAME +.Nm bmx280thp +.Nd Driver for Bosch BMP280/BME280 sensor chip via I2C bus +.Sh SYNOPSIS +.Cd "bmx280thp* at iic? addr 0x76" +.Cd "bmx280thp* at iic? addr 0x77" + +.Cd "bmx280thp* at spi? slave 0" +.Cd "bmx280thp* at spi? slave 1" +.Sh DESCRIPTION +The +.Nm +driver provides measurements from the BMP280 and BME280 temperature, +humidity and barometric pressure sensors via the +.Xr envsys 4 +framework. +The +.Nm +.Ar addr +argument selects the address at the +.Xr iic 4 +bus and the +.Nm +.Ar slave +argument selects which chip select will be used on the +.Xr spi 4 +bus. +The precision of the measurement which is related to the over +sampling performed on the measurement can be changed through +.Xr sysctl 8 +nodes. +.Sh SYSCTL VARIABLES +The following +.Xr sysctl 3 +variables are provided: +.Bl -tag -width indent +.It Li hw.bmx280thp0.osrs_t +.It Li hw.bmx280thp0.osrs_p +.It Li hw.bmx280thp0.osrs_h +These control oversampling of temperature, pressure and humidity. +The valid values are 1, 2, 4, 8, and 16 times oversample. +Humidity is only available if the chip is a BME280. +.It Li hw.bmx280thp0.irr_samples +IRR is a filter that can be used to reduce the noise in the +measurement. +The value values are 1 (or off), 2, 5, 11 and 22 samples +to reach >= 75% of the step response. +.It Li hw.bmx280thp0.waitfactor.t +.It Li hw.bmx280thp0.waitfactor.p +.It Li hw.bmx280thp0.waitfactor.h +These control the wait multiplication factor for a measurement cycle. +This factor is different for temperature, pressure and humidity and +is based upon the values of osrs_t, osrs_p and osrs_h. +If the chip does not return the correct measurements for a given +over sampling then the wait factors can be adjusted to allow more +time for the measurement to complete successfully. +.It Li hw.bmx280thp0.debug +.It Li hw.bmx280thp0.dump_calibration +If the driver is compiled with +.Dv BMX280_DEBUG , +these nodes will appear and can be used to set the debugging level and +provide the calibration constants, upon refresh, that are stored in the +chip. +Since the constants are fixed, this is a boolean node and will +reset back to false once one dump has been performed. +.It Li hw.bmx280thp0.readattempts +A status register tells the driver if the chip is busy with a measurement. +This status register must be polled and readattempts is the number of times +that this poll will be performed. +The default is 25 which should be more than enough for most purposes. +.El +.Sh SEE ALSO +.Xr envsys 4 , +.Xr iic 4 , +.Xr spi 4 , +.Xr envstat 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 10.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Brad Spencer Aq Mt brad@anduin.eldar.org . +.Sh BUGS +The driver does not support the continuous read mode that the BMP280 +and BME280 has. diff --git a/static/netbsd/man4/bnx.4 b/static/netbsd/man4/bnx.4 new file mode 100644 index 00000000..c29b93cd --- /dev/null +++ b/static/netbsd/man4/bnx.4 @@ -0,0 +1,195 @@ +.\" $NetBSD: bnx.4,v 1.4 2019/03/27 04:40:02 msaitoh Exp $ +.\" $OpenBSD: bnx.4,v 1.13 2006/12/15 16:12:52 reyk Exp $ +.\" +.\" Copyright (c) 2006 Broadcom Corporation +.\" David Christensen . 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. Neither the name of Broadcom Corporation nor the name of its contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written consent. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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) +.\" +.\" $FreeBSD: /repoman/r/ncvs/src/share/man/man4/bce.4,v 1.2 2006/04/10 20:12:17 brueffer Exp $ +.\" +.Dd March 27, 2019 +.Dt BNX 4 +.Os +.Sh NAME +.Nm bnx +.Nd Broadcom NetXtreme II 10/100/1000 Ethernet device +.Sh SYNOPSIS +.Cd "bnx* at pci?" +.Cd "brgphy* at mii?" +.Sh DESCRIPTION +The +.Nm +driver supports Broadcom's NetXtreme II product family, such as the +BCM5706 PCI-X and BCM5708-BCM5709-BCM5716 PCIe Ethernet controllers, +which includes the following: +.Pp +.Bl -bullet -compact +.It +Dell PowerEdge 1950 integrated BCM5708 NIC (10/100/1000baseT) +.It +Dell PowerEdge 2950 integrated BCM5708 NIC (10/100/1000baseT) +.It +Dell PowerEdge M710 integrated BCM5709S NIC (1000baseSX) +.It +Dell PowerEdge R710 integrated BCM5709 NIC +.It +HP NC370F PCI-X Multifunction Gigabit server adapter (1000baseSX) +.It +HP NC370T PCI-X Multifunction Gigabit server adapter (10/100/1000baseT) +.It +HP NC370i Multifunction Gigabit Server Adapter +.It +HP NC371i Multifunction Gigabit Server Adapter +.It +HP NC373F PCIe Multifunction Gigabit server adapter (1000baseSX) +.It +HP NC373T PCIe Multifunction Gigabit server adapter (10/100/1000baseT) +.It +HP NC373i PCIe Multifunction Gigabit embedded server adapter (10/100/1000baseT) +.It +HP NC373m Multifunction Gigabit Server Adapter +.It +HP NC374m PCIe Multifunction Gigabit embedded server adapter (10/100/1000baseT) +.It +HP NC380T PCIe Dual Port Multifunction Gigabit server adapter (10/100/1000baseT) +.It +HP NC382T PCIe Dual Port server adapter (10/100/1000baseT) +.It +HP NC382i DP Multifunction Gigabit Server Adapter +.It +HP NC382m DP 1GbE Multifunction BL-c Adapter +.It +IBM xSeries 3550 integrated BCM5708 NIC (10/100/1000baseT) +.It +IBM xSeries 3650 integrated BCM5708 NIC (10/100/1000baseT) +.El +.Pp +The NetXtreme II product family is composed of various Converged NIC (or CNIC) +Ethernet controllers which support a TCP Offload Engine (TOE), +Remote DMA (RDMA), and iSCSI acceleration, +in addition to standard L2 Ethernet traffic, +all on the same controller. +The following features are supported in the +.Nm +driver under +.Nx : +.Bd -literal -offset indent +IPv4 receive IP/TCP/UDP checksum offload +Jumbo frames (up to 9022 bytes) +VLAN tag insertion +Interrupt coalescing +10/100/1000Mbps operation in full-duplex mode +10/100Mbps operation in half-duplex mode +.Ed +.Pp +The +.Nm +driver supports the following media types: +.Bl -tag -width ".Cm 10baseT/UTP" +.It Cm autoselect +Enable autoselection of the media type and options. +The user can manually override +the autoselected mode via +.Xr ifconfig 8 . +.It Cm 10baseT/UTP +Set 10Mbps operation. +The +.Xr ifconfig 8 +.Ic mediaopt +option can also be used to select either +.Cm full-duplex +or +.Cm half-duplex +modes. +.It Cm 100baseTX +Set 100Mbps (Fast Ethernet) operation. +The +.Xr ifconfig 8 +.Ic mediaopt +option can also be used to select either +.Cm full-duplex +or +.Cm half-duplex +modes. +.It Cm 1000baseTX +Set 1000baseTX operation over twisted pair. +Only +.Cm full-duplex +mode is supported. +.It Cm 1000baseSX +Set 1000Mbps (Gigabit Ethernet) operation. +Both +.Cm full-duplex +and +.Cm half-duplex +modes are supported. +.It Cm 2500baseSX +Set 2500Mbps operation. +Only +.Cm full-duplex +mode is supported. +.El +.Pp +The +.Nm +driver supports the following media options: +.Bl -tag -width ".Cm full-duplex" +.It Cm full-duplex +Force full duplex operation. +.It Cm half-duplex +Force half duplex operation. +.El +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh SEE ALSO +.Xr arp 4 , +.Xr brgphy 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr netintro 4 , +.Xr pci 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +driver was written by +.An David Christensen Aq Mt davidch@broadcom.com +in +.Fx , +where it is called +.Nm bce . +And it's ported to +.Ox +by +.An Brad Smith Aq Mt brad@openbsd.org . +It's ported to +.Nx +by Quentin Garnier. +The +.Nm +device driver first appeared in +.Nx 4.0 . diff --git a/static/netbsd/man4/boca.4 b/static/netbsd/man4/boca.4 new file mode 100644 index 00000000..5d0bc5fa --- /dev/null +++ b/static/netbsd/man4/boca.4 @@ -0,0 +1,130 @@ +.\" $NetBSD: boca.4,v 1.5 2003/08/07 10:31:01 agc Exp $ +.\" +.\" Copyright (c) 1990, 1991 The Regents of the University of California. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to Berkeley by +.\" the Systems Programming Group of the University of Utah Computer +.\" Science Department. +.\" 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. 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: @(#)dca.4 5.2 (Berkeley) 3/27/91 +.\" from: Id: com.4,v 1.1 1993/08/06 11:19:07 cgd Exp +.\" +.Dd January 3, 1995 +.Dt BOCA 4 +.Os +.Sh NAME +.Nm boca +.Nd +multiplexing serial communications interface +.Sh SYNOPSIS +For 4-port BB1004 boards: +.Pp +.Cd "boca0 at isa? port 0x100 irq 5" +.Cd "com2 at boca? slave ?" +.Cd "com3 at boca? slave ?" +.Cd "com4 at boca? slave ?" +.Cd "com5 at boca? slave ?" +.Pp +For 8-port BB1008 boards: +.Pp +.Cd "boca0 at isa? port 0x100 irq 5" +.Cd "com2 at boca? slave ?" +.Cd "com3 at boca? slave ?" +.Cd "com4 at boca? slave ?" +.Cd "com5 at boca? slave ?" +.Cd "com6 at boca? slave ?" +.Cd "com7 at boca? slave ?" +.Cd "com8 at boca? slave ?" +.Cd "com9 at boca? slave ?" +.Pp +For 16-port BB2016 boards: +.Pp +.Cd "boca0 at isa? port 0x100 irq 5" +.Cd "com2 at boca? slave ?" +.Cd "com3 at boca? slave ?" +.Cd "com4 at boca? slave ?" +.Cd "com5 at boca? slave ?" +.Cd "com6 at boca? slave ?" +.Cd "com7 at boca? slave ?" +.Cd "com8 at boca? slave ?" +.Cd "com9 at boca? slave ?" +.Cd "boca1 at isa? port 0x140 irq 5" +.Cd "com10 at boca? slave ?" +.Cd "com11 at boca? slave ?" +.Cd "com12 at boca? slave ?" +.Cd "com13 at boca? slave ?" +.Cd "com14 at boca? slave ?" +.Cd "com15 at boca? slave ?" +.Cd "com16 at boca? slave ?" +.Cd "com17 at boca? slave ?" +.Pp +(The BB2016 is functionally equivalent to two BB1008 boards, +and is configured as such.) +.Sh DESCRIPTION +The +.Nm boca +driver provides support for BOCA Research BB1004, BB1008 and BB2016 +boards that multiplex together up to four, eight or sixteen +.Tn EIA +.Tn RS-232C +.Pf ( Tn CCITT +.Tn V.28 ) +communications interfaces. +.Pp +Each +.Nm +device is the master device for up to eight +.Nm com +devices. The kernel configuration specifies these +.Nm com +devices as slave devices of the +.Nm +device, as shown in the synopsis. The slave ID given for each +.Nm com +device determines which bit in the interrupt multiplexing register is +tested to find interrupts for that device. +The +.Tn port +specification for the +.Nm +device is used to compute the base addresses for the +.Nm com +subdevices and the port for the interrupt multiplexing register. +.Sh FILES +.Bl -tag -width Pa +.It Pa /dev/tty?? +.El +.Sh SEE ALSO +.Xr com 4 +.Sh HISTORY +The +.Nm +driver was written by Charles Hannum, based on the +.Nm ast +driver and source code from David Muir Sharnoff. David wishes to +acknowledge the assistance of Jason Venner in determining how to use +the BOCA boards. diff --git a/static/netbsd/man4/bochsfb.4 b/static/netbsd/man4/bochsfb.4 new file mode 100644 index 00000000..bc8e6bd8 --- /dev/null +++ b/static/netbsd/man4/bochsfb.4 @@ -0,0 +1,80 @@ +.\" $NetBSD: bochsfb.4,v 1.2 2026/02/06 02:08:15 uwe Exp $ +.\" +.\" Copyright (c) 2025 +.\" The NetBSD Foundation, Inc. All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Jiaxun Yang. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd March 2, 2025 +.Dt BOCHSFB 4 +.Os +.Sh NAME +.Nm bochsfb +.Nd Bochs Display Interface framebuffer +.Sh SYNOPSIS +.Cd "bochsfb* at pci?" +.Cd "wsdisplay* at bochsfb?" +.Ss Options +.Cd options BOCHSFB_DEFAULT_WIDTH= Ns Ar integer +.Cd options BOCHSFB_DEFAULT_HEIGHT= Ns Ar integer +.Sh DESCRIPTION +The +.Nm +driver provides support for graphics devices implementing the Bochs VBE +DISPI interface, including the Bochs reference VGA implementation, and the +QEMU StdVGA device. +It programs the linear framebuffer through the DISPI registers and makes it +available through +.Xr wsdisplay 4 +as a console or +.Xr wsfb 4 +compatible framebuffer. +.Pp +When a memory-mapped DISPI bar with an EDID block is present, +.Nm +uses the preferred mode reported by the display. +Devices without EDID support +.Pq such as virtio-vga +fall back to a 1024x768 +32-bit mode. +If no MMIO bar is available, the driver accesses the DISPI registers via the +legacy VGA I/O ports. +.Sh SEE ALSO +.Xr intro 4 , +.Xr pci 4 , +.Xr vga 4 , +.Xr wscons 4 , +.Xr wsdisplay 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 12.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Jiaxun Yang Aq Mt jiaxun.yang@flygoat.com . diff --git a/static/netbsd/man4/bpf.4 b/static/netbsd/man4/bpf.4 new file mode 100644 index 00000000..3a629849 --- /dev/null +++ b/static/netbsd/man4/bpf.4 @@ -0,0 +1,890 @@ +.\" -*- nroff -*- +.\" +.\" $NetBSD: bpf.4,v 1.73 2023/02/11 18:03:25 uwe Exp $ +.\" +.\" Copyright (c) 1990, 1991, 1992, 1993, 1994 +.\" The 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: (1) source code distributions +.\" retain the above copyright notice and this paragraph in its entirety, (2) +.\" distributions including binary code include the above copyright notice and +.\" this paragraph in its entirety in the documentation or other materials +.\" provided with the distribution, and (3) all advertising materials mentioning +.\" features or use of this software display the following acknowledgement: +.\" ``This product includes software developed by the University of California, +.\" Lawrence Berkeley Laboratory and its contributors.'' 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 ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED +.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +.\" +.\" This document is derived in part from the enet man page (enet.4) +.\" distributed with 4.3BSD Unix. +.\" +.Dd November 30, 2022 +.Dt BPF 4 +.Os +.Sh NAME +.Nm bpf +.Nd Berkeley Packet Filter raw network interface +.Sh SYNOPSIS +.Cd "pseudo-device bpfilter" +.Sh DESCRIPTION +The Berkeley Packet Filter +provides a raw interface to data link layers in a protocol +independent fashion. +All packets on the network, even those destined for other hosts, +are accessible through this mechanism. +.Pp +The packet filter appears as a character special device, +.Pa /dev/bpf . +After opening the device, the file descriptor must be bound to a +specific network interface with the +.Dv BIOCSETIF +ioctl. +A given interface can be shared by multiple listeners, and the filter +underlying each descriptor will see an identical packet stream. +.Pp +Associated with each open instance of a +.Nm +file is a user-settable packet filter. +Whenever a packet is received by an interface, +all file descriptors listening on that interface apply their filter. +Each descriptor that accepts the packet receives its own copy. +.Pp +Reads from these files return the next group of packets +that have matched the filter. +To improve performance, the buffer passed to read must be +the same size as the buffers used internally by +.Nm . +This size is returned by the +.Dv BIOCGBLEN +ioctl (see below), and can be set with +.Dv BIOCSBLEN . +Note that an individual packet larger than this size is necessarily +truncated. +.Pp +Since packet data is in network byte order, applications should use the +.Xr byteorder 3 +macros to extract multi-byte values. +.Pp +A packet can be sent out on the network by writing to a +.Nm +file descriptor. +The writes are unbuffered, meaning only one packet can be processed per write. +Currently, only writes to Ethernet-based (including Wi-Fi), SLIP and loopback +links are supported. +.Sh IOCTLS +The +.Xr ioctl 2 +command codes below are defined in +.In net/bpf.h . +All commands require these includes: +.Bd -literal -offset indent +#include +#include +#include +#include +.Ed +.Pp +Additionally, +.Dv BIOCGETIF +and +.Dv BIOCSETIF +require +.Pa . +.Pp +The (third) argument to the +.Xr ioctl 2 +should be a pointer to the type indicated. +.Bl -tag -width Dv +.It Dv BIOCGBLEN Pq Vt u_int +Returns the required buffer length for reads on +.Nm +files. +.It Dv BIOCSBLEN Pq Vt u_int +Sets the buffer length for reads on +.Nm +files. +The buffer must be set before the file is attached to an interface with +.Dv BIOCSETIF . +If the requested buffer size cannot be accommodated, the closest +allowable size will be set and returned in the argument. +A read call will result in +.Er EINVAL +if it is passed a buffer that is not this size. +.It Dv BIOCGDLT Pq Vt u_int +Returns the type of the data link layer underlying the attached interface. +.Er EINVAL +is returned if no interface has been specified. +The device types, prefixed with +.Ql DLT_ , +are defined in +.In net/bpf.h . +.It Dv BIOCGDLTLIST Pq Vt struct bpf_dltlist +Returns an array of the available types of the data link layer +underlying the attached interface: +.Bd -literal -offset indent +struct bpf_dltlist { + u_int bfl_len; + u_int *bfl_list; +}; +.Ed +.Pp +The available types are returned in the array pointed to by the +.Fa bfl_list +field while their length in +.Vt u_int +is supplied to the +.Fa bfl_len +field. +.Er ENOMEM +is returned if there is not enough buffer space and +.Er EFAULT +is returned if a bad address is encountered. +The +.Fa bfl_len +field is modified on return to indicate the actual length in u_int +of the array returned. +If +.Fa bfl_list +is +.Dv NULL , +the +.Fa bfl_len +field is set to indicate the required length of an array in +.Vt u_int . +.It Dv BIOCSDLT Pq Vt u_int +Changes the type of the data link layer underlying the attached interface. +.Er EINVAL +is returned if no interface has been specified or the specified +type is not available for the interface. +.It Dv BIOCPROMISC +Forces the interface into promiscuous mode. +All packets, not just those destined for the local host, are processed. +Since more than one file can be listening on a given interface, +a listener that opened its interface non-promiscuously may receive +packets promiscuously. +This problem can be remedied with an appropriate filter. +.Pp +The interface remains in promiscuous mode until all files listening +promiscuously are closed. +.It Dv BIOCFLUSH +Flushes the buffer of incoming packets, +and resets the statistics that are returned by +.Dv BIOCGSTATS . +.It Dv BIOCGETIF Pq Vt struct ifreq +Returns the name of the hardware interface that the file is listening on. +The name is returned in the +.Fa ifr_name +field of +.Vt ifreq . +All other fields are undefined. +.It Dv BIOCSETIF Pq Vt struct ifreq +Sets the hardware interface associated with the file. +This command must be performed before any packets can be read. +The device is indicated by name using the +.Fa ifr_name +field of the +.Vt ifreq . +Additionally, performs the actions of +.Dv BIOCFLUSH . +.It Dv BIOCSRTIMEOUT , BIOCGRTIMEOUT Pq Vt struct timeval +Sets or gets the +.Dq Em read timeout +parameter. +The +.Vt timeval +specifies the length of time to wait before timing +out on a read request. +This parameter is initialized to zero by +.Xr open 2 , +indicating no timeout. +.It Dv BIOCGSTATS Pq Vt struct bpf_stat +Returns the following structure of packet statistics: +.Bd -literal -offset indent +struct bpf_stat { + uint64_t bs_recv; + uint64_t bs_drop; + uint64_t bs_capt; + uint64_t bs_padding[13]; +}; +.Ed +.Pp +The fields are: +.Bl -tag -width Fa -offset indent +.It Fa bs_recv +the number of packets received by the descriptor since opened or reset +.Pq including any buffered since the last read call ; +.It Fa bs_drop +the number of packets which were accepted by the filter but dropped by the +kernel because of buffer overflows +.Po +i.e., the application's reads aren't keeping up with the packet traffic +.Pc ; +and +.It Fa bs_capt +the number of packets accepted by the filter. +.El +.It Dv BIOCIMMEDIATE Pq Vt u_int +Enables or disables +.Dq Em immediate mode , +based on the truth value of the argument. +When immediate mode is enabled, reads return immediately upon packet +reception. +Otherwise, a read will block until either the kernel buffer +becomes full or a timeout occurs. +This is useful for programs like +.Xr rarpd 8 , +which must respond to messages in real time. +The default for a new file is off. +.It Dv BIOCLOCK Pq Dv NULL +Set the locked flag on the bpf descriptor. +This prevents the execution of ioctl commands which could change the +underlying operating parameters of the device. +.It Dv BIOCSETF Pq Vt struct bpf_program +Sets the filter program used by the kernel to discard uninteresting +packets. +An array of instructions and its length are passed in using the following structure: +.Bd -literal -offset indent +struct bpf_program { + u_int bf_len; + struct bpf_insn *bf_insns; +}; +.Ed +.Pp +The filter program is pointed to by the +.Fa bf_insns +field while its length in units of +.Vt struct bpf_insn +is given by the +.Fa bf_len +field. +Also, the actions of +.Dv BIOCFLUSH +are performed. +.Pp +See section +.Sx FILTER MACHINE +for an explanation of the filter language. +.It Dv BIOCSETWF Pq Vt struct bpf_program +Sets the write filter program used by the kernel to control what type +of packets can be written to the interface. +See the +.Dv BIOCSETF +command for more information on the bpf filter program. +.It Dv BIOCVERSION Pq Vt struct bpf_version +Returns the major and minor version numbers of the filter language currently +recognized by the kernel. +Before installing a filter, applications must check +that the current version is compatible with the running kernel. +Version numbers are compatible if the major numbers match and the +application minor is less than or equal to the kernel minor. +The kernel version number is returned in the following structure: +.Bd -literal -offset indent +struct bpf_version { + u_short bv_major; + u_short bv_minor; +}; +.Ed +.Pp +The current version numbers are given by +.Dv BPF_MAJOR_VERSION +and +.Dv BPF_MINOR_VERSION +from +.In net/bpf.h . +An incompatible filter +may result in undefined behavior +.Po +most likely, an error returned by +.Xr ioctl 2 +or haphazard packet matching +.Pc . +.It Dv BIOCSRSIG , BIOCGRSIG Pq Vt u_int +Sets or gets the receive signal. +This signal will be sent to the process or process group specified by +.Dv FIOSETOWN . +It defaults to +.Dv SIGIO . +.It Dv BIOCGHDRCMPLT , BIOCSHDRCMPLT Pq Vt u_int +Sets or gets the status of the +.Dq header complete +flag. +Set to zero if the link level source address should be filled in +automatically by the interface output routine. +Set to one if the link level source address will be written, +as provided, to the wire. +This flag is initialized to zero by default. +.It Dv BIOCGSEESENT , BIOCSSEESENT Pq Vt u_int +These commands are obsolete but left for compatibility. +Use +.Dv BIOCSDIRECTION +and +.Dv BIOCGDIRECTION +instead. +Set or get the flag determining whether locally generated packets on the +interface should be returned by BPF. +Set to zero to see only incoming packets on the interface. +Set to one to see packets originating locally and remotely on the interface. +This flag is initialized to one by default. +.It Dv BIOCSDIRECTION , BIOCGDIRECTION Pq Vt u_int +Set or get the setting determining whether incoming, outgoing, or all packets +on the interface should be returned by BPF. +Set to +.Dv BPF_D_IN +to see only incoming packets on the interface. +Set to +.Dv BPF_D_INOUT +to see packets originating locally and remotely on the interface. +Set to +.Dv BPF_D_OUT +to see only outgoing packets on the interface. +This setting is initialized to +.Dv BPF_D_INOUT +by default. +.It Dv BIOCFEEDBACK , BIOCSFEEDBACK , BIOCGFEEDBACK Pq Vt u_int +Set (or get) +.Dq packet feedback mode . +This allows injected packets to be fed back as input to the interface when +output via the interface is successful. +The first name is meant for +.Fx +compatibility, the two others follow the Get/Set convention. +.\"When +.\".Dv BPF_D_INOUT +.\"direction is set, injected +Injected +outgoing packets are not returned by BPF to avoid +duplication. +This flag is initialized to zero by default. +.El +.Sh STANDARD IOCTLS +.Nm +supports several standard +.Xr ioctl 2 Ap s +which allow the user to do async and/or non-blocking I/O to an open +.Nm bpf +file descriptor. +.Bl -tag -width Dv +.It Dv FIONREAD Pq Vt int +Returns the number of bytes that are immediately available for reading. +.It Dv FIONBIO Pq Vt int +Set or clear non-blocking I/O. +If arg is non-zero, then doing a +.Xr read 2 +when no data is available will return \-1 and +.Va errno +will be set to +.Er EAGAIN . +If arg is zero, non-blocking I/O is disabled. +Note: setting this +overrides the timeout set by +.Dv BIOCSRTIMEOUT . +.It Dv FIOASYNC Pq Vt int +Enable or disable async I/O. +When enabled (arg is non-zero), the process or process group specified by +.Dv FIOSETOWN +will start receiving +.Dv SIGIO Ap s +when packets arrive. +Note that you must do an +.Dv FIOSETOWN +in order for this to take effect, as +the system will not default this for you. +The signal may be changed via +.Dv BIOCSRSIG . +.It Dv FIOSETOWN , FIOGETOWN Pq Vt int +Set or get the process or process group (if negative) that should receive +.Dv SIGIO +when packets are available. +The signal may be changed using +.Dv BIOCSRSIG +(see above). +.El +.Sh BPF HEADER +The following structure is prepended to each packet returned by +.Xr read 2 : +.Bd -literal -offset indent +struct bpf_hdr { + struct bpf_timeval bh_tstamp; + uint32_t bh_caplen; + uint32_t bh_datalen; + uint16_t bh_hdrlen; +}; +.Ed +.Pp +The fields, whose values are stored in host order, are: +.Bl -tag -width Fa -offset indent +.It Fa bh_tstamp +The time at which the packet was processed by the packet filter. +This structure differs from the standard +.Vt struct timeval +in that both members are of type +.Vt long . +.It Fa bh_caplen +The length of the captured portion of the packet. +This is the minimum of +the truncation amount specified by the filter and the length of the packet. +.It Fa bh_datalen +The length of the packet off the wire. +This value is independent of the truncation amount specified by the filter. +.It Fa bh_hdrlen +The length of the BPF header, which may not be equal to +.Li sizeof(struct bpf_hdr) . +.El +.Pp +The +.Fa bh_hdrlen +field exists to account for +padding between the header and the link level protocol. +The purpose here is to guarantee proper alignment of the packet +data structures, which is required on alignment sensitive +architectures and improves performance on many other architectures. +The packet filter ensures that the +.Vt bpf_hdr +and the +.Em network layer +header will be word aligned. +Suitable precautions must be taken when accessing the link layer +protocol fields on alignment restricted machines. +.Po +This isn't a problem on an Ethernet, since +the type field is a short falling on an even offset, +and the addresses are probably accessed in a bytewise fashion +.Pc . +.Pp +Additionally, individual packets are padded so that each starts +on a word boundary. +This requires that an application +has some knowledge of how to get from packet to packet. +The macro +.Dv BPF_WORDALIGN +is defined in +.In net/bpf.h +to facilitate this process. +It rounds up its argument +to the nearest word aligned value +.Po +where a word is +.Dv BPF_ALIGNMENT +bytes wide +.Pc . +.Pp +For example, if +.Va p +points to the start of a packet, this expression +will advance it to the next packet: +.Pp +.Dl p = (char *)p + BPF_WORDALIGN(p->bh_hdrlen + p->bh_caplen) +.Pp +For the alignment mechanisms to work properly, the +buffer passed to +.Xr read 2 +must itself be word aligned. +.Xr malloc 3 +will always return an aligned buffer. +.Sh FILTER MACHINE +A filter program is an array of instructions, with all branches +.Em forwardly directed , +terminated by a +.Em return +instruction. +Each instruction performs some action on the pseudo-machine state, +which consists of an accumulator, index register, scratch memory store, +and implicit program counter. +.Pp +The following structure defines the instruction format: +.Bd -literal -offset indent +struct bpf_insn { + uint16_t code; + u_char jt; + u_char jf; + uint32_t k; +}; +.Ed +.Pp +The +.Fa k +field is used in different ways by different instructions, +and the +.Fa jt +and +.Fa jf +fields are used as offsets +by the branch instructions. +The opcodes are encoded in a semi-hierarchical fashion. +There are eight classes of instructions: +.Dv BPF_LD , +.Dv BPF_LDX , +.Dv BPF_ST , +.Dv BPF_STX , +.Dv BPF_ALU , +.Dv BPF_JMP , +.Dv BPF_RET , +and +.Dv BPF_MISC . +Various other mode and +operator bits are +.Em or Ap d +into the class to give the actual instructions. +The classes and modes are defined in +.In net/bpf.h . +.Pp +Below are the semantics for each defined BPF instruction. +We use the convention that +.Ar A +is the accumulator, +.Ar X +is the index register, +.Ar P +packet data, and +.Ar M +scratch memory store. +.Sm off +.Ar P Li \&[ Ar i Li \&: Ar n\^ Li \&] +.Sm on +gives the data at byte offset +.Ar i +in the packet, +interpreted as a word +.Ar ( n No = 4 ) , +unsigned halfword +.Ar ( n No = 2 ) , +or unsigned byte +.Ar ( n No = 1 ) . +.Sm off +.Ar M\^ Li \&[ Ar i\^ Li \&] +.Sm on +gives the +.Ar i Ap th +word in the scratch memory store, which is only +addressed in word units. +The memory store is indexed from 0 to +.Dv BPF_MEMWORDS Ns Li \&-1 . +.Fa k , +.Fa jt , +and +.Fa jf +are the corresponding fields in the +instruction definition. +.Ar len +refers to the length of the packet. +.Bl -tag -width indent +.It Sy BPF_LD +These instructions copy a value into the accumulator. +The type of the source operand is specified by an +.Dq addressing mode +and can be a constant +.Sy ( BPF_IMM ) , +packet data at a fixed offset +.Sy ( BPF_ABS ) , +packet data at a variable offset +.Sy ( BPF_IND ) , +the packet length +.Sy ( BPF_LEN ) , +or a word in the scratch memory store +.Sy ( BPF_MEM ) . +For +.Sy BPF_IND +and +.Sy BPF_ABS , +the data size must be specified as a word +.Sy ( BPF_W ) , +halfword +.Sy ( BPF_H ) , +or byte +.Sy ( BPF_B ) . +Arithmetic overflow when calculating a variable offset terminates +the filter program and the packet is ignored. +The semantics of all the recognized +.Sy BPF_LD +instructions follow. +.\" to make all instruction tables align nicely, use common max width +.ds max-insn .Sy BPF_LDX + BPF_W + BPF_WWW +.\" +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_LD + BPF_W + BPF_ABS Ta A \[<-] P[k:4] +.It Sy BPF_LD + BPF_H + BPF_ABS Ta A \[<-] P[k:2] +.It Sy BPF_LD + BPF_B + BPF_ABS Ta A \[<-] P[k:1] +.It Sy BPF_LD + BPF_W + BPF_IND Ta A \[<-] P[X+k:4] +.It Sy BPF_LD + BPF_H + BPF_IND Ta A \[<-] P[X+k:2] +.It Sy BPF_LD + BPF_B + BPF_IND Ta A \[<-] P[X+k:1] +.It Sy BPF_LD + BPF_W + BPF_LEN Ta A \[<-] len +.It Sy BPF_LD + BPF_IMM Ta A \[<-] k +.It Sy BPF_LD + BPF_MEM Ta A \[<-] M[k] +.El +.It Sy BPF_LDX +These instructions load a value into the index register. +Note that the addressing modes are more restricted than those of +the accumulator loads, but they include +.Sy BPF_MSH , +a hack for efficiently loading the IP header length. +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_LDX + BPF_W + BPF_IMM Ta X \[<-] k +.It Sy BPF_LDX + BPF_W + BPF_MEM Ta X \[<-] M[k] +.It Sy BPF_LDX + BPF_W + BPF_LEN Ta X \[<-] len +.It Sy BPF_LDX + BPF_B + BPF_MSH Ta X \[<-] 4*(P[k:1]&0xf) +.El +.It Sy BPF_ST +This instruction stores the accumulator into the scratch memory. +We do not need an addressing mode since there is only one possibility +for the destination. +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_ST Ta M[k] \[<-] A +.El +.It Sy BPF_STX +This instruction stores the index register in the scratch memory store. +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_STX Ta M[k] \[<-] X +.El +.It Sy BPF_ALU +The alu instructions perform operations between the accumulator and +index register or constant, and store the result back in the accumulator. +For binary operations, a source mode is required +.Sy ( BPF_K +or +.Sy BPF_X ) . +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_ALU + BPF_ADD + BPF_K Ta A \[<-] A + k +.It Sy BPF_ALU + BPF_SUB + BPF_K Ta A \[<-] A \- k +.It Sy BPF_ALU + BPF_MUL + BPF_K Ta A \[<-] A * k +.It Sy BPF_ALU + BPF_DIV + BPF_K Ta A \[<-] A / k +.It Sy BPF_ALU + BPF_AND + BPF_K Ta A \[<-] A & k +.It Sy BPF_ALU + BPF_OR + BPF_K Ta A \[<-] A | k +.It Sy BPF_ALU + BPF_LSH + BPF_K Ta A \[<-] A \[<<] k +.It Sy BPF_ALU + BPF_RSH + BPF_K Ta A \[<-] A \[>>] k +.It Sy BPF_ALU + BPF_ADD + BPF_X Ta A \[<-] A + X +.It Sy BPF_ALU + BPF_SUB + BPF_X Ta A \[<-] A \- X +.It Sy BPF_ALU + BPF_MUL + BPF_X Ta A \[<-] A * X +.It Sy BPF_ALU + BPF_DIV + BPF_X Ta A \[<-] A / X +.It Sy BPF_ALU + BPF_AND + BPF_X Ta A \[<-] A & X +.It Sy BPF_ALU + BPF_OR + BPF_X Ta A \[<-] A | X +.It Sy BPF_ALU + BPF_LSH + BPF_X Ta A \[<-] A \[<<] X +.It Sy BPF_ALU + BPF_RSH + BPF_X Ta A \[<-] A \[>>] X +.It Sy BPF_ALU + BPF_NEG Ta A \[<-] \-A +.El +.It Sy BPF_JMP +The jump instructions alter flow of control. +Conditional jumps compare the accumulator against a constant +.Sy ( BPF_K ) +or the index register +.Sy ( BPF_X ) . +If the result is true (or non-zero), +the true branch is taken, otherwise the false branch is taken. +Jump offsets are encoded in 8 bits so the longest jump is 256 instructions. +However, the jump always +.Sy ( BPF_JA ) +opcode uses the 32 bit +.Fa k +field as the offset, allowing arbitrarily distant destinations. +All conditionals use unsigned comparison conventions. +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_JMP + BPF_JA Ta pc += k +.It Sy BPF_JMP + BPF_JGT + BPF_K Ta "pc += (A > k) ? jt : jf" +.It Sy BPF_JMP + BPF_JGE + BPF_K Ta "pc += (A \*[Ge] k) ? jt : jf" +.It Sy BPF_JMP + BPF_JEQ + BPF_K Ta "pc += (A == k) ? jt : jf" +.It Sy BPF_JMP + BPF_JSET + BPF_K Ta "pc += (A & k) ? jt : jf" +.It Sy BPF_JMP + BPF_JGT + BPF_X Ta "pc += (A > X) ? jt : jf" +.It Sy BPF_JMP + BPF_JGE + BPF_X Ta "pc += (A \*[Ge] X) ? jt : jf" +.It Sy BPF_JMP + BPF_JEQ + BPF_X Ta "pc += (A == X) ? jt : jf" +.It Sy BPF_JMP + BPF_JSET + BPF_X Ta "pc += (A & X) ? jt : jf" +.El +.It Sy BPF_RET +The return instructions terminate the filter program and specify the amount +of packet to accept +.Pq i.e., they return the truncation amount . +A return value of zero indicates that the packet should be ignored. +The return value is either a constant +.Sy ( BPF_K ) +or the accumulator +.Sy ( BPF_A ) . +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_RET + BPF_A Ta accept A bytes +.It Sy BPF_RET + BPF_K Ta accept k bytes +.El +.It Sy BPF_MISC +The miscellaneous category was created for anything that doesn't +fit into the above classes, and for any new instructions that might need to +be added. +Currently, these are the register transfer instructions +that copy the index register to the accumulator or vice versa. +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_MISC + BPF_TAX Ta X \[<-] A +.It Sy BPF_MISC + BPF_TXA Ta A \[<-] X +.El +.Pp +Also, two instructions to call a +.Dq Em coprocessor +if initialized by the kernel component. +There is no coprocessor by default. +.Bl -column "\*[max-insn]" -offset indent +.It Sy BPF_MISC + BPF_COP Ta A \[<-] funcs[k](...) +.It Sy BPF_MISC + BPF_COPX Ta A \[<-] funcs[X](...) +.El +.Pp +If the coprocessor is not set or the function index is out of range, these +instructions will abort the program and return zero. +.El +.Pp +The BPF interface provides the following macros to facilitate +array initializers: +.Bd -unfilled -offset indent +.Fn BPF_STMT opcode operand +.Fn BPF_JUMP opcode operand true_offset false_offset +.Ed +.Sh SYSCTLS +The following sysctls are available when +.Nm +is enabled: +.Bl -tag -width ".Li net.bpf.maxbufsize" +.It Li net.bpf.maxbufsize +Sets the maximum buffer size available for +.Nm +peers. +.It Li net.bpf.stats +Shows +.Nm +statistics. +They can be retrieved with the +.Xr netstat 1 +utility. +.It Li net.bpf.peers +Shows the current +.Nm +peers. +This is only available to the super user and can also be retrieved with the +.Xr netstat 1 +utility. +.El +.Pp +On architectures with +.Xr bpfjit 4 +support, the additional sysctl is available: +.Bl -tag -width ".Li net.bpf.jit" +.It Li net.bpf.jit +Toggle +.Em just-in-time +compilation of new filter programs. +In order to enable just-in-time compilation, +the bpfjit kernel module must be loaded. +Changing a value of this sysctl doesn't affect +existing filter programs. +.El +.Sh FILES +.Pa /dev/bpf +.Sh EXAMPLES +The following filter is taken from the Reverse ARP Daemon. +It accepts only Reverse ARP requests. +.Bd -literal -offset indent +struct bpf_insn insns[] = { + BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 12), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ETHERTYPE_REVARP, 0, 3), + BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 20), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, REVARP_REQUEST, 0, 1), + BPF_STMT(BPF_RET+BPF_K, sizeof(struct ether_arp) + + sizeof(struct ether_header)), + BPF_STMT(BPF_RET+BPF_K, 0), +}; +.Ed +.Pp +This filter accepts only IP packets between host 128.3.112.15 and +128.3.112.35. +.Bd -literal -offset indent +struct bpf_insn insns[] = { + BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 12), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ETHERTYPE_IP, 0, 8), + BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 26), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0x8003700f, 0, 2), + BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 30), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0x80037023, 3, 4), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0x80037023, 0, 3), + BPF_STMT(BPF_LD+BPF_W+BPF_ABS, 30), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 0x8003700f, 0, 1), + BPF_STMT(BPF_RET+BPF_K, (u_int)-1), + BPF_STMT(BPF_RET+BPF_K, 0), +}; +.Ed +.Pp +Finally, this filter returns only TCP finger packets. +We must parse the IP header to reach the TCP header. +The +.Sy BPF_JSET +instruction checks that the IP fragment offset is 0 so we are sure +that we have a TCP header. +.Bd -literal -offset indent +struct bpf_insn insns[] = { + BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 12), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ETHERTYPE_IP, 0, 10), + BPF_STMT(BPF_LD+BPF_B+BPF_ABS, 23), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, IPPROTO_TCP, 0, 8), + BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 20), + BPF_JUMP(BPF_JMP+BPF_JSET+BPF_K, 0x1fff, 6, 0), + BPF_STMT(BPF_LDX+BPF_B+BPF_MSH, 14), + BPF_STMT(BPF_LD+BPF_H+BPF_IND, 14), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 79, 2, 0), + BPF_STMT(BPF_LD+BPF_H+BPF_IND, 16), + BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, 79, 0, 1), + BPF_STMT(BPF_RET+BPF_K, (u_int)-1), + BPF_STMT(BPF_RET+BPF_K, 0), +}; +.Ed +.Sh SEE ALSO +.Xr ioctl 2 , +.Xr read 2 , +.Xr select 2 , +.Xr signal 3 , +.Xr bpfjit 4 , +.Xr tcpdump 8 +.Rs +.%T "The BSD Packet Filter: A New Architecture for User-level Packet Capture" +.%A S. McCanne +.%A V. Jacobson +.%J Proceedings of the 1993 Winter USENIX +.%C Technical Conference, San Diego, CA +.Re +.Sh HISTORY +The Enet packet filter was created in 1980 by Mike Accetta and +Rick Rashid at Carnegie-Mellon University. +Jeffrey Mogul, at Stanford, ported the code to BSD and continued +its development from 1983 on. +Since then, it has evolved into the ULTRIX Packet Filter +at DEC, a STREAMS NIT module under SunOS 4.1, and BPF. +.Sh AUTHORS +.An -nosplit +.An Steven McCanne , +of Lawrence Berkeley Laboratory, implemented BPF in Summer 1990. +The design was in collaboration with +.An Van Jacobson , +also of Lawrence Berkeley Laboratory. +.Sh BUGS +The read buffer must be of a fixed size +.Po +returned by the +.Dv BIOCGBLEN +ioctl +.Pc . +.Pp +A file that does not request promiscuous mode may receive promiscuously +received packets as a side effect of another file requesting this +mode on the same hardware interface. +This could be fixed in the kernel with additional processing overhead. +However, we favor the model where +all files must assume that the interface is promiscuous, and if +so desired, must use a filter to reject foreign packets. +.\" .Pp +.\" Under SunOS, if a BPF application reads more than 2^31 bytes of +.\" data, read will fail in +.\" .Er EINVAL . +.\" You can either fix the bug in SunOS, +.\" or lseek to 0 when read fails for this reason. +.Pp +.Dq Em Immediate mode +and the +.Dq Em read timeout +are misguided features. +This functionality can be emulated with non-blocking mode and +.Xr select 2 . diff --git a/static/netbsd/man4/bpfjit.4 b/static/netbsd/man4/bpfjit.4 new file mode 100644 index 00000000..c73a14fb --- /dev/null +++ b/static/netbsd/man4/bpfjit.4 @@ -0,0 +1,116 @@ +.\" -*- nroff -*- +.\" +.\" $NetBSD: bpfjit.4,v 1.3 2024/09/07 20:33:53 rillig Exp $ +.\" +.\" Copyright (c) 2014 Alexander Nasonov. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 +.\" COPYRIGHT HOLDERS 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. +.\" +.Dd July 24, 2014 +.Dt BPFJIT 4 +.Os +.Sh NAME +.Nm bpfjit +.Nd Just-In-Time compiler for Berkeley Packet Filter +.Sh SYNOPSIS +.Cd "options BPFJIT" +.Cd "options SLJIT" +.Sh DESCRIPTION +The +.Nm +kernel interface adds +.Sy Just-In-Time +compilation of filter programs sent to a +.Xr bpf 4 +device. +Instead of being interpreted for every packet, +these filter programs are compiled into native code +and the code is being executed for every packet. +.Pp +The implementation of +.Nm +is based on the +.Sy Stack-Less Just-In-Time +library, or +.Nm sljit +for short. +The library supports multiple platforms including +.Bl -bullet -offset indent -compact +.It +AMD-x86 64 +.It +ARM 32 (ARM-v5, ARM-v7 and Thumb2 instruction sets) +.It +Intel-x86 32 +.It +MIPS 32 (III, R1) +.It +MIPS 64 (III, R1) +.It +PowerPC 32 +.It +PowerPC 64 +.It +SPARC 32 +.El +.Pp +.Nm +supports all architectures listed above. +.Pp +.Nm +is also available as a module in modular kernels. +.Sh SYSCTLS +The following sysctl is available when +.Nm +is enabled: +.Bl -tag -width "XnetXbpfXjitXX" +.It Li net.bpf.jit +Toggle +.Sy Just-In-Time +compilation of new filter programs. +Changing a value of this sysctl doesn't affect +existing filter programs. +.El +.Sh SEE ALSO +.Xr bpf 4 , +.Xr modload 8 +.Pp +.Lk https://zherczeg.github.io/sljit/ sljit library +.Sh HISTORY +The +.Nm +interface first appeared in +.Nx 7.0 . +.Sh AUTHORS +The +.Nm +code was written by +.An Alexander Nasonov Aq Mt alnsn@NetBSD.org . +.Pp +The +.Nm sljit +library was written by +.An Zoltan Herczeg Aq Mt hzmester@freemail.hu . diff --git a/static/netbsd/man4/brgphy.4 b/static/netbsd/man4/brgphy.4 new file mode 100644 index 00000000..40f526a6 --- /dev/null +++ b/static/netbsd/man4/brgphy.4 @@ -0,0 +1,49 @@ +.\" $NetBSD: brgphy.4,v 1.4 2026/03/21 02:18:25 gutteridge Exp $ +.\" +.\" Copyright (c) 1998, 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, +.\" NASA Ames Research Center. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd December 10, 2010 +.Dt BRGPHY 4 +.Os +.Sh NAME +.Nm brgphy +.Nd Driver for Broadcom BCM5400 and BCM5700 series Gigabit Ethernet PHYs +.Sh SYNOPSIS +.Cd "brgphy* at mii? phy ?" +.Sh DESCRIPTION +The +.Nm +driver supports the Broadcom BCM5400-family and BCM5700-family +Gigabit Ethernet PHYs. +These PHYs are found on a variety of Gigabit Ethernet interfaces. +.Sh SEE ALSO +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr ifconfig 8 diff --git a/static/netbsd/man4/bridge.4 b/static/netbsd/man4/bridge.4 new file mode 100644 index 00000000..cd1b1cf7 --- /dev/null +++ b/static/netbsd/man4/bridge.4 @@ -0,0 +1,142 @@ +.\" $NetBSD: bridge.4,v 1.14 2020/09/27 15:42:48 roy Exp $ +.\" +.\" Copyright 2001 Wasabi Systems, Inc. +.\" All rights reserved. +.\" +.\" Written by Jason R. Thorpe for Wasabi Systems, Inc. +.\" +.\" 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 for the NetBSD Project by +.\" Wasabi Systems, Inc. +.\" 4. The name of Wasabi Systems, Inc. may not be used to endorse +.\" or promote products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY WASABI SYSTEMS, INC. ``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 WASABI SYSTEMS, INC +.\" 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. +.\" +.Dd September 27, 2020 +.Dt BRIDGE 4 +.Os +.Sh NAME +.Nm bridge +.Nd network bridge device +.Sh SYNOPSIS +.Cd "pseudo-device bridge" +.Sh DESCRIPTION +The +.Nm +driver creates a logical link between two or more IEEE 802 networks +that use the same (or +.Dq similar enough ) +framing format. +For example, it is possible to bridge Ethernet and 802.11 networks together, +but it is not possible to bridge Ethernet and Token Ring together. +.Pp +To use +.Nm bridge , +the administrator must first create the interface and configure +the bridge parameters. +The bridge is created using the +.Xr ifconfig 8 +.Cm create +subcommand. +The learning and forwarding behavior and other parameters of a +bridge are configured by the +.Xr brconfig 8 +utility. +.Pp +A bridge can be used to provide several services, such as a simple +802.11-to-Ethernet bridge for wireless hosts, and traffic isolation. +.Pp +A bridge works like a switch, forwarding traffic from one interface +to another. +Multicast and broadcast packets are always forwarded to all +interfaces that are part of the bridge. +For unicast traffic, the bridge learns which MAC addresses are associated +with which interfaces and will forward the traffic selectively. +.Pp +The +.Nm +driver implements the IEEE 802.1D Spanning Tree protocol (STP). +Spanning Tree is used to detect and remove loops in a network topology. +.Pp +When filtering is enabled, bridged packets will pass through the filter +inbound on the originating interface and outbound on the appropriate +interfaces. +ARP and REVARP packets are forwarded without being filtered and others +that are not IP nor IPv6 packets are not forwarded when filtering is +enabled. +.Pp +Note that packets to and from the bridging host will be seen by the +filter on the interface with the appropriate address configured as well +as on the interface on which the packet arrives or departs. +.Pp +The +.Nm +driver will enable passing of VLAN tagged packets automatically if the underlying +interfaces support it. +This is to facilitate XEN network configurations with +.Xr xennet 4 . +.Pp +It is not possible to assign an IP address directly to the +.Nm +interface. +Instead, assign an IP address to a +.Xr vether 4 +interface which can be added to the bridge. +.Sh SEE ALSO +.Xr l2tp 4 , +.Xr options 4 , +.Xr xennet 4 , +.Xr vether 4 , +.Xr brconfig 8 , +.Xr ipf 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 1.6 . +.Sh AUTHORS +.An -nosplit +The +.Nm bridge +driver was originally written by +.An Jason L. Wright +.Aq jason@thought.net +as part of an undergraduate independent study at the University of +North Carolina at Greensboro. +.Pp +This version of the +.Nm +driver has been heavily modified from the original version by +.An Jason R. Thorpe +.Aq thorpej@wasabisystems.com . +.Sh BUGS +The +.Nm +driver currently supports only Ethernet and Ethernet-like (e.g. 802.11) +network devices, with exactly the same interface MTU size as the bridge device. +.Pp +The +.Nm +driver currently does not support snooping via +.Xr bpf 4 . diff --git a/static/netbsd/man4/bt3c.4 b/static/netbsd/man4/bt3c.4 new file mode 100644 index 00000000..2113f289 --- /dev/null +++ b/static/netbsd/man4/bt3c.4 @@ -0,0 +1,86 @@ +.\" $NetBSD: bt3c.4,v 1.5 2012/10/10 18:14:14 njoly Exp $ +.\" +.\" Copyright (c) 2006 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Iain Hibbert. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd January 14, 2006 +.Dt BT3C 4 +.Os +.Sh NAME +.Nm bt3c +.Nd 3Com Bluetooth PC Card driver +.Sh SYNOPSIS +.Cd "bt3c* at pcmcia? function ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the 3Com Bluetooth PC Card, model 3CRWB6096, to +the Bluetooth protocol stack. +.Sh FIRMWARE +This card needs firmware loaded before it will work. Due to copyright restrictions +we cannot distribute the firmware with NetBSD, but if you have the card then you +should have received a CD with the drivers on, or you may download the latest +version from the 3Com website. Create a directory named +.Nm +in the search path of the +.Xr firmload 9 +kernel subsystem. Now, extract the driver archive and find the firmware file +called +.Nm "BT3CPCC.bin" , +and place this file in the newly created directory. The firmware will be loaded +automatically as needed. +.Sh DIAGNOSTICS +.Bl -tag -width XXX -compact +.It "bt3c%d: Cannot open firmware" +This will be printed to the console if the device cannot open the firmware file +as described above. +.Pp +.It "bt3c%d: Antenna In" +.It "bt3c%d: Antenna Out" +If the kernel is compiled with the +.Dv DIAGNOSTIC +option, these messages will be produced on the console when the card antenna +position is changed. +.Pp +.It "bt3c%d: sleeping" +.It "bt3c%d: waking up" +These messages will be produced when the card is enabled or disabled due to +power change events. +.El +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr pcmcia 4 , +.Xr firmload 9 +.Sh HISTORY +This +.Nm +device driver was written by +.An "Iain Hibbert" +using +.Fx +and BlueZ drivers as a reference. It first appeared in +.Nx 4.0 . diff --git a/static/netbsd/man4/btbc.4 b/static/netbsd/man4/btbc.4 new file mode 100644 index 00000000..b2a64060 --- /dev/null +++ b/static/netbsd/man4/btbc.4 @@ -0,0 +1,51 @@ +.\" $NetBSD: btbc.4,v 1.6 2012/10/10 18:14:14 njoly Exp $ +.\" +.\" Copyright (c) 2007 KIYOHARA Takashi +.\" 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. +.\" +.\" 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. +.\" +.Dd August 19, 2007 +.Dt BTBC 4 +.Os +.Sh NAME +.Nm btbc +.Nd AnyCom BlueCard driver +.Sh SYNOPSIS +.Cd "btbc* at pcmcia? function ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the AnyCom BlueCard (LSE041, LSE039, LSE139) +to the Bluetooth protocol stack. +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr pcmcia 4 +.Sh HISTORY +This +.Nm +device driver was written by +.An "KIYOHARA Takashi" +using +Linux bluecard_cs driver as a reference. +It first appeared in +.Nx 4.0 . diff --git a/static/netbsd/man4/bthidev.4 b/static/netbsd/man4/bthidev.4 new file mode 100644 index 00000000..ec7a3c53 --- /dev/null +++ b/static/netbsd/man4/bthidev.4 @@ -0,0 +1,118 @@ +.\" $NetBSD: bthidev.4,v 1.9 2007/12/02 19:59:11 wiz Exp $ +.\" +.\" Copyright (c) 2006 Itronix Inc. +.\" All rights reserved. +.\" +.\" Written by Iain Hibbert for Itronix Inc. +.\" +.\" 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. The name of Itronix Inc. may not be used to endorse +.\" or promote products derived from this software without specific +.\" prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``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 ITRONIX INC. 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. +.\" +.Dd April 10, 2007 +.Dt BTHIDEV 4 +.Os +.Sh NAME +.Nm bthidev +.Nd Bluetooth Human Interface Device support +.Sh SYNOPSIS +.Cd "bthidev* at bthub?" +.Pp +.Cd "btkbd* at bthidev? reportid ?" +.Cd "btms* at bthidev? reportid ?" +.Sh DESCRIPTION +The +.Nm +driver handles all Bluetooth Human Interface Devices. +Each HID device can have several components, e.g., a keyboard and +a mouse. +These components use different report identifiers to +distinguish which component data is coming from. +The +.Nm +driver may have several children attached that handle particular +components and dispatches data to them based on the report id. +.Pp +Normally, Bluetooth HIDs will be attached using the +.Xr btdevctl 8 +program. +The following properties are used by the +.Nm +driver during autoconfiguration: +.Bl -tag -width interrupt_psmXX +.It local-bdaddr +Local device address. +.It remote-bdaddr +Remote device address. +.It service-name +The +.Nm +driver matches the +.Sq HID +service. +.It control-psm +This, if set, will indicate the PSM to use for the Control channel. +If not set, +.Dv L2CAP_PSM_HID_CNTL +will be used. +.It interrupt-psm +This, if set, will indicate the PSM to use for the Interrupt channel. +If not set, +.Dv L2CAP_PSM_HID_INTR +will be used. +.It descriptor +This required binary blob is the HID descriptor containing information about +reports the device will produce, and obtained via SDP. +.It reconnect +If this boolean value is set, and is true, then the +.Nm +driver will initiate reconnections to the remote device when no +connection is present. +.It link-mode +This optional string represents the link mode of the baseband link, and +may be one of +.Sq auth , +.Sq encrypt , +or +.Sq secure . +.El +.Pp +When the +.Nm +driver has configured its children, it will initiate a connection +to the remote device. +If this fails and the reconnect flag is not set, it will then wait for +the device to initiate the connection. +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr bthub 4 , +.Xr btkbd 4 , +.Xr btms 4 , +.Xr btdevctl 8 +.Sh HISTORY +The +.Nm +driver was written by +.An Iain Hibbert +under the sponsorship of Itronix, Inc. and first appeared in +.Nx 4.0 . diff --git a/static/netbsd/man4/bthub.4 b/static/netbsd/man4/bthub.4 new file mode 100644 index 00000000..33121746 --- /dev/null +++ b/static/netbsd/man4/bthub.4 @@ -0,0 +1,118 @@ +.\" $NetBSD: bthub.4,v 1.8 2010/10/17 11:45:36 plunky Exp $ +.\" +.\" Copyright (c) 2006 Itronix Inc. +.\" All rights reserved. +.\" +.\" Written by Iain Hibbert for Itronix Inc. +.\" +.\" 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. The name of Itronix Inc. may not be used to endorse +.\" or promote products derived from this software without specific +.\" prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``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 ITRONIX INC. 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. +.\" +.Dd October 17, 2010 +.Dt BTHUB 4 +.Os +.Sh NAME +.Nm bthub +.Nd Bluetooth Remote Device Hub +.Sh SYNOPSIS +.Cd "bthub* at bcsp?" +.Cd "bthub* at bt3c?" +.Cd "bthub* at btbc?" +.Cd "bthub* at btuart?" +.Cd "bthub* at sbt?" +.Cd "bthub* at ubt?" +.Pp +.Cd "bthidev* at bthub?" +.Cd "btmagic* at bthub?" +.Cd "btsco* at bthub?" +.Sh DESCRIPTION +The +.Nm +device is used to attach remote Bluetooth devices to the system, and +will attach to Bluetooth controllers as they are enabled. +.Sh CONFIGURATION +Normally, Bluetooth Remote Devices will be configured on the +.Nm +using the +.Xr btdevctl 8 +program, which passes a +.Xr proplib 3 +dictionary to the control file +.Pa /dev/bthub +with the +.Dv BTDEV_ATTACH +and +.Dv BTDEV_DETACH +.Xr ioctl 2 +commands. +.Pp +The following properties are used by +.Nm : +.Pp +.Bl -tag +.It local-bdaddr +Local +.Dv BD_ADDR . +This required property should be a six byte data blob. +.It remote-bdaddr +Remote +.Dv BD_ADDR . +This required property should be a six byte data blob. +.It service-name +Service name. +This required property should be a string indicating the +service to configure, and may be one of the following: +.Pp +.Bl -tag -compact +.It HF +Handsfree, see +.Xr btsco 4 . +.It HID +Human Interface Device, see +.Xr bthidev 4 . +.It HSET +Headset, see +.Xr btsco 4 . +.El +.El +.Pp +Properties used by the configured device are listed in the appropriate +device manual page. +.Sh FILES +.Bl -tag -compact +.It Pa /dev/bthub +.El +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr bthidev 4 , +.Xr btmagic 4 , +.Xr btsco 4 , +.Xr btdevctl 8 +.Sh HISTORY +The +.Nm +driver was written by +.An Iain Hibbert +under the sponsorship of Itronix, Inc. and first appeared in +.Nx 4.0 . diff --git a/static/netbsd/man4/btkbd.4 b/static/netbsd/man4/btkbd.4 new file mode 100644 index 00000000..53aa4f65 --- /dev/null +++ b/static/netbsd/man4/btkbd.4 @@ -0,0 +1,77 @@ +.\" $NetBSD: btkbd.4,v 1.5 2009/05/17 06:46:46 wiz Exp $ +.\" +.\" Copyright (c) 2006 Itronix Inc. +.\" All rights reserved. +.\" +.\" Written by Iain Hibbert for Itronix Inc. +.\" +.\" 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. The name of Itronix Inc. may not be used to endorse +.\" or promote products derived from this software without specific +.\" prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``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 ITRONIX INC. 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. +.\" +.\" +.Dd May 16, 2009 +.Dt BTKBD 4 +.Os +.Sh NAME +.Nm btkbd +.Nd Bluetooth keyboard support +.Sh SYNOPSIS +.Cd "btkbd* at bthidev? reportid ?" +.Cd "wskbd* at btkbd? console ?" +.Pp +.Cd "options BTKBD_REPEAT" +.Cd "options BTKBD_LAYOUT=XXX" +.Sh DESCRIPTION +The +.Nm +driver provides support for Bluetooth wireless keyboards. +.Pp +Bluetooth keyboards are configured using the +.Xr btdevctl 8 +program, and provide system access through the +.Xr wscons 4 +driver. +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr bthidev 4 , +.Xr wskbd 4 , +.Xr btdevctl 8 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 4.0 +and was written by +.An Iain Hibbert +under the sponsorship of Itronix, Inc. +.Sh BUGS +Due to the configuration and connection requirements, Bluetooth keyboards +cannot be used until +.Nx +is fully booted. +.Pp +Bluetooth keyboards cannot be the +.Nx +system console. diff --git a/static/netbsd/man4/btmagic.4 b/static/netbsd/man4/btmagic.4 new file mode 100644 index 00000000..fe747a67 --- /dev/null +++ b/static/netbsd/man4/btmagic.4 @@ -0,0 +1,146 @@ +.\" $NetBSD: btmagic.4,v 1.6 2015/07/03 22:18:02 wiz Exp $ +.\" +.\" Copyright (c) 2010 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Iain Hibbert. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd July 4, 2015 +.Dt BTMAGIC 4 +.Os +.Sh NAME +.Nm btmagic +.Nd Apple Magic Mouse and Apple Magic Trackpad +.Sh SYNOPSIS +.Cd "btmagic* at bthub?" +.Cd "wsmouse* at btmagic?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the +.Tn Bluetooth +.Dq Magic Mouse +and +.Dq Magic Trackpad +from +.Tn Apple, Inc . +As remote devices cannot be discovered by autoconfig, configuring +a mouse is normally carried out with the +.Xr btdevctl 8 +program. +.Pp +The Magic Mouse and Magic Trackpad use the standard +.Tn USB +Human Interface Device protocol to communicate, but do not provide a +proper HID Descriptor, and require specific initializations to enable +the proprietary touch reports. +.Pp +The Magic Mouse provides basic mouse functionality with two buttons, +and the +.Nm +driver additionally interprets the touch reports to emulate a middle +mouse button when more than one firm touch is detected during a click +event, plus horizontal and vertical scrolling for touch movements +greater than a certain distance. +The mouse has a base resolution of 1300dpi, which the driver scales +by default to a less sensitive 650dpi, but this is adjustable with +.Xr sysctl 8 +along with the pressure needed to discern a firm touch, the minimum +distance necessary to trigger scrolling and the additional downscale +factor applied to scroll movements. +.Pp +The Magic Trackpad provides multi touch functionality and one button. +The +.Nm +driver emulates 3 buttons by splitting the area at the bottom of the +device in 3 equal zones and detects finger presence in one of these zones +when the button is pressed. +In addition, a tap in any area of the trackpad is interpreted as a left click. +The timeout for tap detection defaults to 100ms +and is adjustable with +.Xr sysctl 8 . +.Pp +Pointer movement is reported for single-touch +movements over the device, and scroll is reported for multi-touch movements. +.Pp +The trackpad has a base resolution of 1300dpi, which the driver scales +by default to a less sensitive 650dpi, but this is adjustable with +.Xr sysctl 8 +along with the additional downscale factor applied to scroll movements. +.Pp +.Nm +interfaces to the system as usual through the +.Xr wsmouse 4 +driver, and the following properties are used during autoconfiguration: +.Bl -tag -width ".It remote-bdaddr" +.It vendor-id +Must be 0x05ac. +.It product-id +Must be 0x030d or 0x030e. +.It local-bdaddr +Local device address. +.It remote-bdaddr +Remote device address. +.It link-mode +This optional string represents the link mode of the baseband link, and +may be one of +.Sq auth , +.Sq encrypt , +or +.Sq secure . +.El +.Pp +When the +.Nm +driver has configured, it will attempt to open a connection to the mouse +and, if this fails or the connection is lost, will wait for the +mouse to initiate connections. +The Magic Mouse requires connections to be authenticated, and +should accept a PIN of +.Sq 0000 +during the pairing process. +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr bthub 4 , +.Xr wsmouse 4 , +.Xr btdevctl 8 , +.Xr sysctl 8 +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Iain Hibbert +with reference to the +.Tn Linux +driver written by +.An Michael Poole . +.An Manuel Bouyer +added Magic Trackpad support, with reference to the +.Tn Linux +driver written by +.An Michael Poole +and +.An Chase Douglas . diff --git a/static/netbsd/man4/btms.4 b/static/netbsd/man4/btms.4 new file mode 100644 index 00000000..4c216989 --- /dev/null +++ b/static/netbsd/man4/btms.4 @@ -0,0 +1,64 @@ +.\" $NetBSD: btms.4,v 1.3 2006/12/23 06:58:20 wiz Exp $ +.\" +.\" Copyright (c) 2006 Itronix Inc. +.\" All rights reserved. +.\" +.\" Written by Iain Hibbert for Itronix Inc. +.\" +.\" 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. The name of Itronix Inc. may not be used to endorse +.\" or promote products derived from this software without specific +.\" prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``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 ITRONIX INC. 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. +.\" +.Dd August 12, 2006 +.Dt BTMS 4 +.Os +.Sh NAME +.Nm btms +.Nd Bluetooth mouse support +.Sh SYNOPSIS +.Cd "btms* at bthidev? reportid ?" +.Cd "wsmouse* at btms?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Bluetooth wireless mice. +.Pp +Bluetooth mice must be configured with the +.Xr btdevctl 8 +program and provide system access through the +.Xr wscons 4 +driver. +.Sh SEE ALSO +.Xr bluetooth 4 , +.Xr bthidev 4 , +.Xr wsmouse 4 , +.Xr btdevctl 8 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 4.0 +and was written by +.An Iain Hibbert +under the sponsorship of Itronix, Inc. diff --git a/static/netbsd/man4/btsco.4 b/static/netbsd/man4/btsco.4 new file mode 100644 index 00000000..fdfd017d --- /dev/null +++ b/static/netbsd/man4/btsco.4 @@ -0,0 +1,142 @@ +.\" $NetBSD: btsco.4,v 1.13 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 2006 Itronix Inc. +.\" All rights reserved. +.\" +.\" Written by Iain Hibbert for Itronix Inc. +.\" +.\" 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. The name of Itronix Inc. may not be used to endorse +.\" or promote products derived from this software without specific +.\" prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY ITRONIX INC. ``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 ITRONIX INC. 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. +.\" +.Dd November 29, 2014 +.Dt BTSCO 4 +.Os +.Sh NAME +.Nm btsco +.Nd Bluetooth SCO Audio +.Sh SYNOPSIS +.Cd "btsco* at bthub?" +.Cd "audio* at audiobus?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Bluetooth SCO (Synchronous connection-oriented) +Audio devices through the +.Xr audio 4 +driver. +.Pp +The +.Nm +driver must be configured at run time with the +.Xr btdevctl 8 +program. +The following properties are used by the +.Nm +driver during autoconfiguration: +.Pp +.Bl -tag -width listenXX +.It local-bdaddr +Local device address. +.It remote-bdaddr +Remote device address. +.It service-name +The +.Nm +driver matches the +.Sq HF +and +.Sq HSET +services. +For the +.Sq HF +service, the +.Nm +device will, on +.Xr open 2 , +listen for incoming connections from the remote device. +Otherwise, +.Nm +will attempt to initiate a connection to the remote device. +.It rfcomm-channel +This integer value is not used directly, but will be stored and +passed via the +.Dv BTSCO_INFO +ioctl as below: +.El +.Pp +SCO connections require a baseband connection between the two devices before +they can be created. +The +.Nm +driver does not create this, but can provide information to facilitate +an application setting up a control channel prior to use, via the +.Dv BTSCO_INFO +.Xr ioctl 2 +call on the mixer device, which returns a +.Ar btsco_info +structure as follows: +.Bd -literal +#include + +struct btsco_info { + bdaddr_t laddr; /* controller bdaddr */ + bdaddr_t raddr; /* headset bdaddr */ + uint8_t channel; /* RFCOMM channel */ + int vgs; /* mixer index speaker */ + int vgm; /* mixer index mic */ +}; + +#define BTSCO_INFO _IOR('b', 16, struct btsco_info) +.Ed +.Pp +The +.Nm +driver can be configured to act in Connect or Listen mode. +In Connect mode, the +.Nm +driver will initiate a connection to the remote device on an +.Xr open 2 +call, whereas in Listen mode, +.Xr open 2 +will block until the remote device initiates the connection. +.Sh SEE ALSO +.Xr bthset 1 , +.Xr ioctl 2 , +.Xr audio 4 , +.Xr bluetooth 4 , +.Xr bthub 4 , +.Xr btdevctl 8 +.Sh HISTORY +The +.Nm +driver +was written for +.Nx 4.0 +by +.An Iain Hibbert +under the sponsorship of Itronix, Inc. +.Sh BUGS +.Nm +takes no notice of the HCI Voice Setting in the Bluetooth controller, and this +must be 0x0060 (the default) as alternate values are currently unsupported. diff --git a/static/netbsd/man4/btuart.4 b/static/netbsd/man4/btuart.4 new file mode 100644 index 00000000..d668a61d --- /dev/null +++ b/static/netbsd/man4/btuart.4 @@ -0,0 +1,64 @@ +.\" $NetBSD: btuart.4,v 1.11 2014/03/18 18:20:39 riastradh Exp $ +.\" +.\" Copyright (c) 2007 KIYOHARA Takashi +.\" 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. +.\" +.\" 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. +.\" +.Dd August 23, 2009 +.Dt BTUART 4 +.Os +.Sh NAME +.Nm btuart +.Nd Bluetooth HCI UART driver +.Sh SYNOPSIS +.Cd pseudo-device btuart +.Sh DESCRIPTION +The +.Nm +driver provides a +.Xr tty 4 +line discipline to send and receive Bluetooth packets over a serial +line, as described in the +.Qo +Bluetooth Host Controller Interface +.Bq Transport Layer +specification, Vol 4 part A. +.Qc +.Pp +The +.Xr btattach 8 +program is used to configure the tty line and create the +.Nm +driver instance. +.Sh SEE ALSO +.Xr bcsp 4 , +.Xr bluetooth 4 , +.Xr btattach 8 +.Sh HISTORY +The +.Nm +driver was written with reference to the BlueZ drivers +for Linux, and first appeared in +.Nx 5.0 . +.Sh AUTHORS +.An KIYOHARA Takashi Aq Mt kiyohara@kk.iij4u.or.jp diff --git a/static/netbsd/man4/bwfm.4 b/static/netbsd/man4/bwfm.4 new file mode 100644 index 00000000..8dd7eaff --- /dev/null +++ b/static/netbsd/man4/bwfm.4 @@ -0,0 +1,59 @@ +.\" $NetBSD: bwfm.4,v 1.4 2019/09/01 08:04:48 maya Exp $ +.\" +.\" Copyright (c) 2017 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd September 1, 2019 +.Dt BWFM 4 +.Os +.Sh NAME +.Nm bwfm +.Nd Broadcom and Cypress wireless network driver +.Sh SYNOPSIS +.Cd "bwfm* at uhub? port ?" +.Cd "bwfm* at pci? dev ? function ?" +.Cd "bwfm* at sdmmc?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Broadcom and Cypress FullMAC network adapters. +.Sh SEE ALSO +.Xr bwi 4 , +.\".Xr ifconfig 4 , +.Xr ifmedia 4 , +.Xr usb 4 , +.Xr ifconfig.if 5 , +.Xr wpa_supplicant 8 +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Patrick Wildt +.Aq Mt patrick@blueri.se +and ported to +.Nx +by +.An Jared D. McNeill +.Aq Mt jmcneill@NetBSD.org . diff --git a/static/netbsd/man4/bwi.4 b/static/netbsd/man4/bwi.4 new file mode 100644 index 00000000..faf8c58a --- /dev/null +++ b/static/netbsd/man4/bwi.4 @@ -0,0 +1,136 @@ +.\" $NetBSD: bwi.4,v 1.16 2025/08/24 09:58:05 hgutch Exp $ +.\" +.\" Copyright (c) 2007 The DragonFly Project. 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. Neither the name of The DragonFly Project 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 COPYRIGHT HOLDERS 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 +.\" COPYRIGHT HOLDERS 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. +.\" +.\" $DragonFly: src/share/man/man4/bwi.4,v 1.10 2008/07/26 16:25:40 swildner Exp $ +.\" +.Dd January 18, 2025 +.Dt BWI 4 +.Os +.Sh NAME +.Nm bwi +.Nd Broadcom BCM430x/4318 IEEE 802.11b/g wireless network driver +.Sh SYNOPSIS +.Cd "bwi* at pci? dev ? function ?" +.Cd "bwi* at cardbus? function ?" +.Cd "bwi* at sdmmc?" +.Sh DESCRIPTION +The +.Nm +driver provides support for Broadcom BCM430x/4318 wireless network adapters. +For more information on configuring this device, see +.Xr ifconfig 8 . +.Ss MIB Variables +The following per-interface variables are implemented in the +.Va hw.bwi Ns Em X +branch of the +.Xr sysctl 3 +MIB. +.Bl -tag -width ".Va txpwr_calib" +.It Va debug +Debug flags. +.It Va dwell_time +Channel dwell time during scan (msec). +.It Va fw_version +Firmware version. +.It Va led_idle +Number of ticks before LED enters idle state. +.It Va led_blink +Allow LED to blink. +.It Va txpwr_calib +Enable software TX power calibration. +.El +.Sh HARDWARE +The following cards are among those supported by the +.Nm +driver: +.Pp +.Bl -column -offset 6n -compact "Apple AirPort Extreme" "BCM4318" "Mini PCI" "b/g" +.It Em "Card Chip Bus Standard" +.It Apple AirPort Extreme b/g +.It Buffalo WLI-CB-G54 BCM4306 CardBus b/g +.It Buffalo WLI3-CB-G54L BCM4318 CardBus b/g +.It Buffalo WLI-PCI-G54S BCM4306 PCI b/g +.It Dell Wireless 1370 BCM4318 Mini PCI b/g +.It Dell Wireless 1470 BCM4318 Mini PCI b/g +.It Dell Truemobile 1400 BCM4309 Mini PCI b/g +.It Dell Latitude D505 BCM4306 PCI b/g +.It Nintendo Wii WLAN BCM4318 SDIO b/g +.El +.Sh FILES +The firmware for the adapter is not shipped with +.Nx +and must be obtained separately. +An archive with firmware files that are known to work can be found at: +.Bd -literal -offset indent +.Lk https://leaf.dragonflybsd.org/~sephe/bwi/v3.tbz +.Ed +.Pp +The firmware files conventionally reside in +.Pa /libdata/firmware/bwi +and will be loaded when the interface is brought up. +.Em Note : +the v3 subdirectory in the above firmware archive should exist +in the firmware folder. +The full list of paths checked for firmware can be found in the +.Va hw.firmware.path +.Xr sysctl 3 +node. +.Sh SEE ALSO +.Xr arp 4 , +.Xr cardbus 4 , +.Xr ifmedia 4 , +.Xr pci 4 , +.Xr ifconfig 8 , +.Xr sysctl 8 , +.Xr wiconfig 8 , +.Xr wpa_supplicant 8 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 6.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Sepherosa Ziehau +for Dragonfly BSD. +It was ported to +.Nx +by +.An Taylor R. Campbell Aq Mt riastradh@NetBSD.org . +.Pp +The hardware specification was reverse engineered by the people at +.Lk https://bcm-specs.sipsolutions.net/ . +Thanks go also to johill and mb on the #bcm-specs channel. +.Sh BUGS +BCM4306 and BCM4309 chips do not work properly on channel 1, 2, and 3. diff --git a/static/netbsd/man4/cac.4 b/static/netbsd/man4/cac.4 new file mode 100644 index 00000000..584c54f1 --- /dev/null +++ b/static/netbsd/man4/cac.4 @@ -0,0 +1,96 @@ +.\" $NetBSD: cac.4,v 1.14 2019/05/08 07:44:28 cnst Exp $ +.\" +.\" Copyright (c) 2000 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Andrew Doran. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd May 8, 2019 +.Dt CAC 4 +.Os +.Sh NAME +.Nm cac +.Nd +.Tn Compaq array controller driver +.Sh SYNOPSIS +.Cd "cac* at eisa? slot ?" +.Cd "cac* at pci? dev ? function ?" +.Sh DESCRIPTION +The +.Nm +driver provides basic message passing and DMA support for Compaq array +controllers. +Disk arrays are supported by the +.Nm ld +driver. +Monitoring of volume status is supported through the +.Xr bioctl 8 +and +.Xr envstat 8 +utilities, as well as the +.Xr powerd 8 +monitoring daemon. +.Sh HARDWARE +The +.Nm +driver provides support for the following controllers: +.Pp +.Bl -tag -width Dv -offset indent -compact +.It Tn Compaq Integrated Array +.It Tn Compaq IAES +.It Tn Compaq IDA +.It Tn Compaq IDA-2 +.It Tn Compaq RAID LC2 +.It Tn Compaq Smart Array 221 +.It Tn Compaq Smart Array 3100ES +.It Tn Compaq Smart Array 3200 +.It Tn Compaq Smart Array 4200 +.It Tn Compaq Smart Array 4250ES +.It Tn Compaq Smart Array 431 +.It Tn Compaq SMART +.It Tn Compaq SMART-2/E +.It Tn Compaq SMART-2/P +.It Tn Compaq SMART-2DH +.It Tn Compaq SMART-2SL +.El +.Sh SEE ALSO +.Xr bio 4 , +.Xr envsys 4 , +.Xr intro 4 , +.Xr ld 4 , +.Xr bioctl 8 , +.Xr envstat 8 , +.Xr powerd 8 +.Sh HISTORY +The +.Nm cac +driver first appeared in +.Nx 1.5 . +Support for volume monitoring through +.Xr bio 4 +and +.Xr envsys 4 +was added in +.Nx 5.0 . diff --git a/static/netbsd/man4/can.4 b/static/netbsd/man4/can.4 new file mode 100644 index 00000000..af00d4ad --- /dev/null +++ b/static/netbsd/man4/can.4 @@ -0,0 +1,106 @@ +.\" $NetBSD: can.4,v 1.3 2017/05/29 08:41:57 wiz Exp $ +.\" +.\" Copyright (c) 2017 Manuel Bouyer. +.\" 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. +.\" 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. +.\" +.Dd May 18, 2017 +.Dt CAN 4 +.Os +.Sh NAME +.Nm CAN +.Nd CAN Protocol +.Sh SYNOPSIS +.In sys/socket.h +.In netcan/can.h +.Ft int +.Fn socket AF_CAN SOCK_RAW CAN_RAW +.Sh DESCRIPTION +.Nm +is the network layer protocol used on top of CAN bus networks. +At this time only the +.Dv SOCK_RAW +socket type is supported. +This protocol layer is intended to be compatible with the Linux SocketCAN implementation. +.Ss ADDRESSING +A CAN frame consists of a 11 bits (standard frame format) or 29 bits +(extended frame format) identifier, followed by up to 8 data bytes. +The interpretation of the identifier is application-dependent, the CAN +standard itself doesn't define an addressing. +.Pp +The +.Nm +layer uses a 32bits identifier. +The 3 upper bits are used as control flags. +The extended frame format is selected by setting the +.Dv CAN_EFF_FLAG +control bit. +.Pp +The socket address is defined as +.Bd -literal +struct sockaddr_can { + u_int8_t can_len; + sa_family_t can_family; + int can_ifindex; + union { + /* transport protocol class address information */ + struct { canid_t rx_id, tx_id; } tp; + /* reserved for future CAN protocols address information */ + } can_addr; +}; +.Ed +For CAN raw sockets, the 32bits identifier is part of the message data. +The can_addr field of the sockaddr structure is not used. +.Ss MESSAGE +Raw CAN sockets use fixed-length messages defined as follow: +.Bd -literal +struct can_frame { + canid_t can_id; /* ID + EFF/RTR/ERR flags */ + uint8_t can_dlc; /* frame payload length in byte (0 .. CAN_MAX_DLEN) */ + uint8_t __pad; + uint8_t __res0; + uint8_t __res1; + uint8_t data[CAN_MAX_DLEN] __aligned(8); +}; +.Ed +The lower 11 bits (for standard frames) or 29 bits (for extended frames) are +used as the on-wire identifier. +The +.Dv CAN_EFF_FLAG +bit is set in can_id for extended frames. +The +.Dv CAN_RTR_FLAG +bit is set in can_id for remote transmission request frames. +.Sh SEE ALSO +.Xr socket 2 , +.Xr canloop 4 , +.Xr netintro 4 , +.Xr canconfig 8 , +.Pa /usr/include/netcan/can.h +.Pp +.Lk https://en.wikipedia.org/wiki/SocketCAN "SocketCAN - Wikipedia" +.Lk https://www.kernel.org/doc/Documentation/networking/can.txt "Readme file for the Controller Area Network Protocol Family" +.Sh HISTORY +The +.Nm +protocol appeared in +.Nx 8.0 . +.Sh BUGS +.Dv CANFD +and error frames are not implemented. diff --git a/static/netbsd/man4/canloop.4 b/static/netbsd/man4/canloop.4 new file mode 100644 index 00000000..06fe8f3d --- /dev/null +++ b/static/netbsd/man4/canloop.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: canloop.4,v 1.3 2017/05/29 08:42:33 wiz Exp $ +.\" +.\" Copyright (c) 2017 Manuel Bouyer. +.\" 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. +.\" 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. +.\" +.Dd May 18, 2017 +.Dt CANLOOP 4 +.Os +.Sh NAME +.Nm canloop +.Nd software loopback CAN network interface +.Sh SYNOPSIS +.Cd "pseudo-device canloop" +.Sh DESCRIPTION +The +.Nm canloop +pseudo interface is a loopback interface for the CAN layer. +It can be used as destination by a CAN application, when no CAN +hardware is available. +Other sockets bound to the same +.Nm canloop +interface (or not bound to any interface) will receive the frames. +.Pp +.Nm canloop +interfaces can be created by using the +.Xr ifconfig 8 +.Cm create +command. +.Sh SEE ALSO +.Xr can 4 , +.Xr intro 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device appeared in +.Nx 8.0 . diff --git a/static/netbsd/man4/cardbus.4 b/static/netbsd/man4/cardbus.4 new file mode 100644 index 00000000..6f349c8b --- /dev/null +++ b/static/netbsd/man4/cardbus.4 @@ -0,0 +1,199 @@ +.\" $NetBSD: cardbus.4,v 1.40 2021/03/11 16:43:01 nia Exp $ +.\" +.\" Copyright (c) 1999-2006 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Lennart Augustsson. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd December 31, 2014 +.Dt CARDBUS 4 +.Os +.Sh NAME +.Nm cardbus , +.Nm cardslot , +.Nm cbb +.Nd CardBus driver +.Sh SYNOPSIS +.Cd "cbb* at pci? dev? function ?" +.Cd "cardslot* at cbb?" +.Cd "cardbus* at cardslot?" +.Cd "pcmcia* at cardslot?" +.Cd "XX* at cardbus? function ?" +.Sh DESCRIPTION +.Nx +provides machine-independent bus support and +drivers for CardBus devices. +.Pp +The +.Cm cbb +device represents the CardBus controller. +Each controller has a number +of slots, represented by the +.Cm cardslot +devices. +A slot can have either a CardBus card or a +.Tn PCMCIA +card, which are attached with the +.Cm cardbus +or +.Cm pcmcia +devices, respectively. +.Sh SUPPORTED DEVICES +.Nx +includes the following machine-independent CardBus +drivers, sorted by function and driver name: +.Ss Network interfaces +.Bl -tag -width siisata(4) -offset indent -compact +.It Xr ath 4 +Atheros 5210/5211/5212 802.11 +.It Xr atw 4 +ADMtek ADM8211 (802.11) +.It Xr bwi 4 +Broadcom BCM430x/4318 (802.11) +.It Xr ex 4 +3Com 3c575TX and 3c575BTX +.It Xr fxp 4 +Intel i8255x +.It Xr ral 4 +Ralink Technology RT25x0 (802.11) +.It Xr re 4 +RealTek 8139C+/8169/8169S/8110S +.It Xr rtk 4 +Realtek 8129/8139 +.It Xr rtw 4 +Realtek 8180L (802.11) +.It Xr tlp 4 +DECchip 21143 +.El +.Ss Serial interfaces +.Bl -tag -width siisata(4) -offset indent -compact +.It Xr com 4 +Modems and serial cards +.El +.Ss SCSI controllers +.Bl -tag -width siisata(4) -offset indent -compact +.It Xr adv 4 +AdvanSys 1200[A,B], 9xx[U,UA] +.It Xr ahc 4 +Adaptec ADP-1480 +.It Xr njs 4 +Workbit NinjaSCSI-32 +.El +.Ss USB controllers +.Bl -tag -width siisata(4) -offset indent -compact +.It Xr ehci 4 +Enhanced Host Controller (2.0) +.It Xr ohci 4 +Open Host Controller +.It Xr uhci 4 +Universal Host Controller +.El +.Ss IEEE1394 controllers +.Bl -tag -width siisata(4) -offset indent -compact +.It Xr fwohci 4 +OHCI controller +.El +.Ss SD/MMC/SDIO controllers +.Bl -tag -width siisata(4) -offset indent -compact +.It Xr sdhc 4 +SD Host Controller +.El +.Ss Disk and tape controllers +.Bl -tag -width siisata(4) -offset indent -compact +.It Xr njata 4 +Workbit NinjaATA-32 +.It Xr siisata 4 +Silicon Image SATA-II controllers +.El +.Sh DIAGNOSTICS +.Nm cbb +devices may not be properly handled by the system BIOS on i386-family +systems. +If, on an i386-family system, the +.Nm cbb +driver reports +.Dl cbb0: NOT USED because of unconfigured interrupt +then enabling +.Bl -item -offset indent -compact +.It +.Cd options PCI_ADDR_FIXUP +.It +.Cd options PCI_BUS_FIXUP +.It +.Cd options PCI_INTR_FIXUP +.El +or (if ACPI is in use) +.Bl -item -offset indent -compact +.It +.Cd options PCI_INTR_FIXUP_DISABLED +.El +in the kernel configuration might be of use. +.Sh SEE ALSO +.Xr options 4 , +.Xr pci 4 , +.Xr pcmcia 4 , +.Xr cardbus 9 +.Sh HISTORY +The +.Nm +driver appeared in +.Nx 1.5 . +.Sh BUGS +.Ss Memory space conflicts +.Nx +maps memory on Cardbus (and therefore PCMCIA cards behind Cardbus) in +order to access the cards (including reading CIS tuples on PCMCIA +cards) and access the devices using the +.Tn RBUS +abstraction. +When the mapping does not work, PCMCIA cards are typically ignored on +insert, and Cardbus cards are recognized but nonfunctional. +On i386, the kernel has a heuristic to choose a memory address for +mapping, defaulting to 1 GB, but choosing 0.5 GB on machines with less +than 192 MB RAM and 2 GB on machines with more than 1 GB of RAM. +The intent is to use an address that is larger than available RAM, but +low enough to work; some systems seem to have trouble with +addresses requiring more than 20 address lines. +On i386, the following kernel configuration line disables the +heuristics and forces Cardbus +memory space to be mapped at 512M; this value makes Cardbus support +(including PCMCIA attachment under a cbb) work on some notebook +models, including the IBM Thinkpad 600E (2645-4AU) and the Compaq +ARMADA M700: +.Pp +.Cd options RBUS_MIN_START="0x20000000" +.Ss PCMCIA addressing choice +By default, on i386 and amd64, the kernel uses +.Dv RBUS_IO_BASE +as 0x4000 and +.Dv RBUS_IO_SIZE +as 0x2000. +On some machines, this fails, due to a requirement that these +addresses fit within 12 bits. +The following kernel options have been reported as helpful: +.Pp +.Cd options RBUS_IO_BASE="0xa00" +.Pp +.Cd options RBUS_IO_SIZE="0x00ff" diff --git a/static/netbsd/man4/carp.4 b/static/netbsd/man4/carp.4 new file mode 100644 index 00000000..50e72920 --- /dev/null +++ b/static/netbsd/man4/carp.4 @@ -0,0 +1,209 @@ +.\" $NetBSD: carp.4,v 1.8 2020/10/12 15:18:48 roy Exp $ +.\" $OpenBSD: carp.4,v 1.19 2005/08/09 09:52:12 jmc Exp $ +.\" +.\" Copyright (c) 2003, Ryan McBride. 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT 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 PROJECT 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. +.\" +.Dd October 12, 2020 +.Dt CARP 4 +.Os +.Sh NAME +.Nm carp +.Nd Common Address Redundancy Protocol +.Sh SYNOPSIS +.Cd pseudo-device carp +.Sh DESCRIPTION +The +.Nm +interface is a pseudo-device which implements and controls the +CARP protocol. +.Nm +allows multiple hosts on the same local network to share a set of IP addresses. +Its primary purpose is to ensure that these +addresses are always available, but in some configurations +.Nm +can also provide load balancing functionality. +.Pp +A +.Nm +interface can be created at runtime using the +.Ic ifconfig carp Ns Ar N Ic create +command. +.Pp +To use +.Nm , +the administrator needs to configure at minimum a common virtual host ID and +virtual host IP address on each machine which is to take part in the virtual +group. +Additional parameters can also be set on a per-interface basis: +.Cm advbase +and +.Cm advskew , +which are used to control how frequently the host sends advertisements when it +is the master for a virtual host, and +.Cm pass +which is used to authenticate carp advertisements. +Finally +.Cm carpdev +is used to specify which interface the +.Nm +device attaches to. +If unspecified, the kernel attempts to set carpdev by looking for +another interface with the same subnet. +These configurations can be done using +.Xr ifconfig 8 , +or through the +.Dv SIOCSVH +ioctl. +.Pp +Additionally, there are a number of global parameters which can be set using +.Xr sysctl 8 : +.Bl -tag -width xxxxxxxxxxxxxxxxxxxxxxxxxx +.It net.inet.carp.allow +Accept incoming +.Nm +packets. +Enabled by default. +.It net.inet.carp.preempt +Allow virtual hosts to preempt each other. +It is also used to failover +.Nm +interfaces as a group. +When the option is enabled and one of the +.Nm +enabled physical interfaces +goes down, advskew is changed to 240 on all +.Nm +interfaces. +See also the first example. +Disabled by default. +.It net.inet.carp.log +Log bad +.Nm +packets. +Disabled by default. +.It net.inet.carp.arpbalance +Balance local traffic using ARP. +Disabled by default. +.El +.Sh EXAMPLES +For firewalls and routers with multiple interfaces, it is desirable to +failover all of the +.Nm +interfaces together, when one of the physical interfaces goes down. +This is achieved by the preempt option. +Enable it on both host A and B: +.Pp +.Dl # sysctl -w net.inet.carp.preempt=1 +.Pp +Assume that host A is the preferred master and 192.168.1.x/24 is +configured on one physical interface and 192.168.2.y/24 on another. +This is the setup for host A: +.Bd -literal -offset indent +# ifconfig carp0 create +# ifconfig carp0 vhid 1 pass mekmitasdigoat 192.168.1.1 \e + netmask 255.255.255.0 +# ifconfig carp1 create +# ifconfig carp1 vhid 2 pass mekmitasdigoat 192.168.2.1 \e + netmask 255.255.255.0 +.Ed +.Pp +The setup for host B is identical, but it has a higher advskew: +.Bd -literal -offset indent +# ifconfig carp0 create +# ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat \e + 192.168.1.1 netmask 255.255.255.0 +# ifconfig carp1 create +# ifconfig carp1 vhid 2 advskew 100 pass mekmitasdigoat \e + 192.168.2.1 netmask 255.255.255.0 +.Ed +.Pp +Because of the preempt option, when one of the physical interfaces of +host A fails, advskew is adjusted to 240 on all its +.Nm +interfaces. +This will cause host B to preempt on both interfaces instead of +just the failed one. +.Pp +In order to set up an ARP balanced virtual host, it is necessary to configure +one virtual host for each physical host which would respond to ARP requests +and thus handle the traffic. +In the following example, two virtual hosts are configured on two hosts to +provide balancing and failover for the IP address 192.168.1.10. +.Pp +First the +.Nm +interfaces on Host A are configured. +The +.Cm advskew +of 100 on the second virtual host means that its advertisements will be sent +out slightly less frequently. +.Bd -literal -offset indent +# ifconfig carp0 create +# ifconfig carp0 vhid 1 pass mekmitasdigoat 192.168.1.10 \e + netmask 255.255.255.0 +# ifconfig carp1 create +# ifconfig carp1 vhid 2 advskew 100 pass mekmitasdigoat \e + 192.168.1.10 netmask 255.255.255.0 +.Ed +.Pp +The configuration for host B is identical, except the skew is on +virtual host 1 rather than virtual host 2. +.Bd -literal -offset indent +# ifconfig carp0 create +# ifconfig carp0 vhid 1 advskew 100 pass mekmitasdigoat \e + 192.168.1.10 netmask 255.255.255.0 +# ifconfig carp1 create +# ifconfig carp1 vhid 2 pass mekmitasdigoat 192.168.1.10 \e + netmask 255.255.255.0 +.Ed +.Pp +Finally, the ARP balancing feature must be enabled on both hosts: +.Pp +.Dl # sysctl -w net.inet.carp.arpbalance=1 +.Pp +When the hosts receive an ARP request for 192.168.1.10, the source IP address +of the request is used to compute which virtual host should answer the request. +The host which is master of the selected virtual host will reply to the +request, the other(s) will ignore it. +.Pp +This way, locally connected systems will receive different ARP replies and +subsequent IP traffic will be balanced among the hosts. +If one of the hosts fails, the other will take over the virtual MAC address, +and begin answering ARP requests on its behalf. +.Pp +Note: ARP balancing only works on the local network segment. +It cannot balance traffic that crosses a router, because the router +itself will always be balanced to the same virtual host. +.Sh SEE ALSO +.Xr netstat 1 , +.Xr sysctl 3 , +.Xr arp 4 , +.Xr arp 8 , +.Xr ifconfig 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +device first appeared in +.Ox 3.5 . diff --git a/static/netbsd/man4/cas.4 b/static/netbsd/man4/cas.4 new file mode 100644 index 00000000..d0cd141a --- /dev/null +++ b/static/netbsd/man4/cas.4 @@ -0,0 +1,109 @@ +.\" $NetBSD: cas.4,v 1.5 2024/09/07 20:33:53 rillig Exp $ +.\" +.\" Copyright (c) 2010 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd December 25, 2019 +.Dt CAS 4 +.Os +.Sh NAME +.Nm cas +.Nd Cassini/Cassini+ (GigaSwift) Ethernet device driver +.Sh SYNOPSIS +.Cd "cas* at pci? dev ? function ?" +.Pp +Configuration of PHYs may also be necessary. +See +.Xr mii 4 . +.Sh DESCRIPTION +The +.Nm +driver provides support for the Sun Cassini and Cassini+ (GigaSwift) and the +National Semiconductor Saturn Ethernet hardware found in Sun UltraSPARC machines +and Sun GigaSwift PCI cards. +.Pp +Cards supported by this driver include: +.Bl -bullet -compact +.It +Sun GigaSwift Ethernet 1.0 MMF (Cassini Kuheen) +(part no.\& 501-5524) +.It +Sun GigaSwift Ethernet 1.0 UTP (Cassini) +(part no.\& 501-5902) +.It +Sun GigaSwift Ethernet UTP (GCS) +(part no.\& 501-6719) +.It +Sun Quad GigaSwift Ethernet UTP (QGE) +(part no.\& 501-6522) +.It +Sun Quad GigaSwift Ethernet PCI-X (QGE-X) +(part no.\& 501-6738) +.El +.Sh SEE ALSO +.Xr brgphy 4 , +.Xr gentbi 4 , +.Xr gphyter 4 , +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr ifconfig 8 +.Rs +.%T "Cassini+ ASIC Specification" +.%A Sun Microsystems +.%U https://web.archive.org/web/20090701014334/http://www.sun.com/processors/manuals/cs_plus.pdf +.Re +.Sh HISTORY +The +.Nm +driver first appeared in +.Ox 4.1 . +.Nx +support was added in +.Nx 6.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written for +.Ox +by +.An Mark Kettenis +.Aq kettenis@openbsd.org , +based on the +.Xr gem 4 +driver, and ported to +.Nx +by +.An Julian Coleman +.Aq jdc@NetBSD.org . +.Sh BUGS +The +.Nm +driver does not support any of the advanced features of the Cassini chip. +.Pp +On the SX fibre variants of the hardware, the link may stay down if media +options apart from +.Dv autoselect +are chosen. diff --git a/static/netbsd/man4/ccd.4 b/static/netbsd/man4/ccd.4 new file mode 100644 index 00000000..89292b2c --- /dev/null +++ b/static/netbsd/man4/ccd.4 @@ -0,0 +1,161 @@ +.\" $NetBSD: ccd.4,v 1.32 2014/10/27 16:20:48 wiz Exp $ +.\" +.\" Copyright (c) 1996, 1997 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Jason R. Thorpe. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.\" Copyright (c) 1994 Jason Downs. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``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(S) 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. +.\" +.Dd November 30, 2013 +.Dt CCD 4 +.Os +.Sh NAME +.Nm ccd +.Nd Concatenated disk driver +.Sh SYNOPSIS +.Cd pseudo-device ccd +.Sh DESCRIPTION +The +.Nm +driver provides the capability of combining one or more disks/partitions +into one virtual disk. +.Pp +This document assumes that you're familiar with how to generate kernels, +how to properly configure disks and pseudo-devices in a kernel +configuration file, and how to partition disks. +.Pp +Note that the +.Sq raw +partitions of the disks +.Pa must not +be combined. +Each component partition should be offset at least one cylinder +from the beginning of the component disk. +This avoids potential conflicts between the component disk's +disklabel and the +.Nm Ns 's +disklabel. +The kernel will only allow component partitions of type +.Dv FS_CCD . +But for now, it allows partition of all types since some port +lacks support of an on-disk BSD disklabel. +The partition of +.Dv FS_UNUSED +may be rejected because device driver of component disk will refuse it. +.Pp +In order to compile in support for the +.Nm , +you must add a line similar +to the following to your kernel configuration file: +.Bd -unfilled -offset indent +pseudo-device ccd # concatenated disk devices +.Ed +.Pp +The +.Nm Ns s +are allocated dynamically as needed. +.Pp +A +.Nm +may be either serially concatenated or interleaved. +To serially concatenate the partitions, specify the interleave factor of 0. +.Pp +If a +.Nm +is interleaved correctly, a +.Dq striping +effect is achieved, which can increase performance. +.\" The optimum interleave factor is typically the size of a track, +.\" see +.\" .Dq sectors/track +.\" value in +.\" .Xr disklabel 8 +.\" output. +Since the interleave factor is expressed in units of +.Dv DEV_BSIZE , +one must account for sector sizes other than +.Dv DEV_BSIZE +in order to calculate the correct interleave. +The kernel will not allow an interleave factor less than the size +of the largest component sector divided by +.Dv DEV_BSIZE . +.Pp +Note that best performance is achieved if all component disks have the same +geometry and size. +Optimum striping cannot occur with different disk types. +.Pp +Also note that the total size of concatenated disk may vary depending on +the interleave factor even if the exact same components are concatenated. +And an old on-disk disklabel may be read after interleave factor change. +As a result, the disklabel may contain wrong partition geometry and +will cause an error when doing I/O near the end of concatenated disk. +.Pp +There is a run-time utility that is used for configuring +.Nm Ns s . +See +.Xr ccdconfig 8 +for more information. +.Sh WARNINGS +If just one (or more) of the disks in a non-mirrored +.Nm +fails, the entire file system will be lost. +.Sh FILES +.Bl -tag -width /dev/XXrXccdX -compact +.It Pa /dev/{,r}ccd* +.Nm +device special files. +.El +.Sh SEE ALSO +.Xr config 1 , +.Xr ccdconfig 8 , +.Xr fsck 8 , +.Xr MAKEDEV 8 , +.Xr mount 8 , +.Xr newfs 8 +.Sh HISTORY +The concatenated disk driver was originally written at the University of Utah. diff --git a/static/netbsd/man4/cd.4 b/static/netbsd/man4/cd.4 new file mode 100644 index 00000000..d19f6b2a --- /dev/null +++ b/static/netbsd/man4/cd.4 @@ -0,0 +1,409 @@ +.\" $NetBSD: cd.4,v 1.20 2012/06/23 20:29:06 wiz Exp $ +.\" +.\" Copyright (c) 1996 +.\" Julian Elischer . 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.Dd June 23, 2012 +.Dt CD 4 +.Os +.Sh NAME +.Nm cd +.Nd SCSI and ATAPI CD-ROM driver +.Sh SYNOPSIS +.Cd "cd* at scsibus? target ? lun ?" +.Cd "cd1 at scsibus0 target 4 lun 0" +.Cd "cd* at atapibus? drive ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm cd +driver provides support for a Small Computer Systems Interface +.Pq Tn SCSI +bus and Advanced Technology Attachment Packet Interface +.Pq Tn ATAPI +Compact Disc-Read Only Memory +.Pq Tn CD-ROM +drive. +In an attempt to look like a regular disk, the +.Nm +driver synthesizes a partition table, with one partition covering the entire +.Tn CD-ROM . +It is possible to modify this partition table using +.Xr disklabel 8 , +but it will only last until the +.Tn CD-ROM +is unmounted. +In general the interfaces are similar to those described by +.Xr wd 4 +and +.Xr sd 4 . +.Pp +As the +.Tn SCSI +adapter is probed during boot, the +.Tn SCSI +bus is scanned for devices. +Any devices found which answer as `Read-only' +type devices will be `attached' to the +.Nm +driver. +.Pp +For the use of flags with ATAPI devices, see +.Xr wd 4 . +.Pp +The system utility +.Xr disklabel 8 +may be used to read the synthesized +disk label +structure, which will contain correct figures for the size of the +.Tn CD-ROM +should that information be required. +.Sh KERNEL CONFIGURATION +Any number of +.Tn CD-ROM +devices may be attached to the system regardless of system +configuration as all resources are dynamically allocated. +.Sh IOCTLS +The following +.Xr ioctl 2 +calls which apply to +.Tn SCSI +.Tn CD-ROM +drives are defined +in the header files +.In sys/cdio.h +and +.In sys/disklabel.h . +.Pp +.Bl -tag -width CDIOCREADSUBCHANNEL +.It Dv DIOCGDINFO +.It Dv DIOCSDINFO +.Pq Li "struct disklabel" +Read or write the in-core copy of the disklabel for the +drive. +The disklabel is initialized with information +read from the +.Tn SCSI +inquiry commands, and should be the same as +the information printed at boot. +This structure is defined in +.Xr disklabel 5 . +.\".It Dv CDIOCCAPABILITY +.\".Pq Li "struct ioc_capability" +.\"Retrieve information from the drive on what features it supports. +.\"The information is returned in the following structure: +.\".Bd -literal -offset indent +.\"struct ioc_capability { +.\" u_long play_function; +.\"#define CDDOPLAYTRK 0x00000001 +.\" /* Can play tracks/index */ +.\"#define CDDOPLAYMSF 0x00000002 +.\" /* Can play msf to msf */ +.\"#define CDDOPLAYBLOCKS 0x00000004 +.\" /* Can play range of blocks */ +.\"#define CDDOPAUSE 0x00000100 +.\" /* Output can be paused */ +.\"#define CDDORESUME 0x00000200 +.\" /* Output can be resumed */ +.\"#define CDDORESET 0x00000400 +.\" /* Drive can be completely reset */ +.\"#define CDDOSTART 0x00000800 +.\" /* Audio can be started */ +.\"#define CDDOSTOP 0x00001000 +.\" /* Audio can be stopped */ +.\"#define CDDOPITCH 0x00002000 +.\" /* Audio pitch can be changed */ +.\" +.\" u_long routing_function; +.\"#define CDREADVOLUME 0x00000001 +.\" /* Volume settings can be read */ +.\"#define CDSETVOLUME 0x00000002 +.\" /* Volume settings can be set */ +.\"#define CDSETMONO 0x00000100 +.\" /* Output can be set to mono */ +.\"#define CDSETSTEREO 0x00000200 +.\" /* Output can be set to stereo (def) */ +.\"#define CDSETLEFT 0x00000400 +.\" /* Output can be set to left only */ +.\"#define CDSETRIGHT 0x00000800 +.\" /* Output can be set to right only */ +.\"#define CDSETMUTE 0x00001000 +.\" /* Output can be muted */ +.\"#define CDSETPATCH 0x00008000 +.\" /* Direct routing control allowed */ +.\" +.\" u_long special_function; +.\"#define CDDOEJECT 0x00000001 +.\" /* The tray can be opened */ +.\"#define CDDOCLOSE 0x00000002 +.\" /* The tray can be closed */ +.\"#define CDDOLOCK 0x00000004 +.\" /* The tray can be locked */ +.\"#define CDREADHEADER 0x00000100 +.\" /* Can read Table of Contents */ +.\"#define CDREADENTRIES 0x00000200 +.\" /* Can read TOC Entries */ +.\"#define CDREADSUBQ 0x00000200 +.\" /* Can read Subchannel info */ +.\"#define CDREADRW 0x00000400 +.\" /* Can read subcodes R-W */ +.\"#define CDHASDEBUG 0x00004000 +.\" /* The tray has dynamic debugging */ +.\"}; +.\".Ed +.It Dv CDIOCPLAYTRACKS +.Pq Li "struct ioc_play_track" +Start audio playback given a track address and length. +The structure is defined as follows: +.Bd -literal -offset indent +struct ioc_play_track +{ + u_char start_track; + u_char start_index; + u_char end_track; + u_char end_index; +}; +.Ed +.It Dv CDIOCPLAYBLOCKS +.Pq Li "struct ioc_play_blocks" +Start audio playback given a block address and length. +The structure is defined as follows: +.Bd -literal -offset indent +struct ioc_play_blocks +{ + int blk; + int len; +}; +.Ed +.It Dv CDIOCPLAYMSF +.Pq Li "struct ioc_play_msf" +Start audio playback given a `minutes-seconds-frames' address and length. +The structure is defined as follows: +.Bd -literal -offset indent +struct ioc_play_msf +{ + u_char start_m; + u_char start_s; + u_char start_f; + u_char end_m; + u_char end_s; + u_char end_f; +}; +.Ed +.It Dv CDIOCREADSUBCHANNEL +.Pq Li "struct ioc_read_subchannel" +Read information from the subchannel at the location specified by this +structure: +.Bd -literal -offset indent +struct ioc_read_subchannel { + u_char address_format; +#define CD_LBA_FORMAT 1 +#define CD_MSF_FORMAT 2 + u_char data_format; +#define CD_SUBQ_DATA 0 +#define CD_CURRENT_POSITION 1 +#define CD_MEDIA_CATALOG 2 +#define CD_TRACK_INFO 3 + u_char track; + int data_len; + struct cd_sub_channel_info *data; +}; +.Ed +.It Dv CDIOREADTOCHEADER +.Pq Li "struct ioc_toc_header" +Return summary information about the table of contents for the mounted +.Tn CD-ROM . +The information is returned into the following structure: +.Bd -literal -offset indent +struct ioc_toc_header { + u_short len; + u_char starting_track; + u_char ending_track; +}; +.Ed +.It Dv CDIOREADTOCENTRYS +.Pq Li "struct ioc_read_toc_entry" +Return information from the table of contents entries mentioned. +(Yes, this command name is misspelled). +The argument structure is defined as follows: +.Bd -literal -offset indent +struct ioc_read_toc_entry { + u_char address_format; + u_char starting_track; + u_short data_len; + struct cd_toc_entry *data; +}; +.Ed +The requested data is written into an area of size +.Li data_len +and pointed to by +.Li data . +.It Dv CDIOCSETPATCH +.Pq Li "struct ioc_patch" +Attach various audio channels to various output channels. +The argument structure is defined thusly: +.Bd -literal -offset indent +struct ioc_patch { + u_char patch[4]; + /* one for each channel */ +}; +.Ed +.It Dv CDIOCGETVOL +.It Dv CDIOCSETVOL +.Pq Li "struct ioc_vol" +Get (set) information about the volume settings of the output channels. +The argument structure is as follows: +.Bd -literal -offset indent +struct ioc_vol +{ + u_char vol[4]; + /* one for each channel */ +}; +.Ed +.It Dv CDIOCSETMONO +Patch all output channels to all source channels. +.It Dv CDIOCSETSTEREO +Patch left source channel to the left output channel and the right +source channel to the right output channel. +.It Dv CDIOCSETMUTE +Mute output without changing the volume settings. +.It Dv CDIOCSETLEFT +.It Dv CDIOCSETRIGHT +Attach both output channels to the left (right) source channel. +.It Dv CDIOCSETDEBUG +.It Dv CDIOCCLRDEBUG +Turn on (off) debugging for the appropriate device. +.It Dv CDIOCPAUSE +.It Dv CDIOCRESUME +Pause (resume) audio play, without resetting the location of the read-head. +.It Dv CDIOCRESET +Reset the drive. +.It Dv CDIOCSTART +.It Dv CDIOCSTOP +Tell the drive to spin-up (-down) the +.Tn CD-ROM . +.It Dv CDIOCALLOW +.It Dv CDIOCPREVENT +Tell the drive to allow (prevent) manual ejection of the +.Tn CD-ROM +disc. +Not all drives support this feature. +.It Dv CDIOCEJECT +Eject the +.Tn CD-ROM . +.It Dv CDIOCLOADUNLOAD +Cause the ATAPI changer to load or unload discs. +.It Dv CDIOCCLOSE +Tell the drive to close its door and load the media. +Not all drives support this feature. +.It Dv DIOCTUR +Test unit ready - to allow userland to silently check for presence of media. +.\" +.\".It Dv CDIOCPITCH +.\".Pq Li "struct ioc_pitch" +.\"For drives that support it, this command instructs the drive to play +.\"the audio at a faster or slower rate than normal. +.\"Values of +.\".Li speed +.\"between -32767 and -1 result in slower playback; a zero value +.\"indicates normal speed; and values from 1 to 32767 give faster playback. +.\"Drives with less than 16 bits of resolution will silently +.\"ignore less-significant bits. +.\"The structure is defined thusly: +.\".Bd -literal -offset indent +.\"struct ioc_pitch +.\"{ +.\" short speed; +.\"}; +.\".Ed +.El +.Pp +In addition the general +.Xr scsi 4 +ioctls may be used with the +.Nm +driver, if used against the `whole disk' partition (i.e. +.Pa /dev/rcd0d +for the bebox and i386 port, +.Pa /dev/rcd0c +for all other ports). +.Sh NOTES +When a +.Tn CD-ROM +is changed in a drive controlled by the +.Nm +driver, then the act of changing the media will invalidate the +disklabel and information held within the kernel. +To stop corruption, all accesses to the device will be discarded +until there are no more open file descriptors referencing the device. +During this period, all new open attempts will be rejected. +When no more open file descriptors reference the device, the first +next open will load a new set of parameters (including disklabel) +for the drive. +.Pp +The audio code in the +.Nm +driver only support +.Tn SCSI-2 +standard audio commands. +Because many +.Tn CD-ROM +manufacturers have not followed the standard, there are many +.Tn CD-ROM +drives for which audio will not work. +Some work is planned to support some of the more common `broken' +.Tn CD-ROM +drives; however, this is not yet under way. +.Sh FILES +.Bl -tag -width /dev/rcd[0-9][a-h] -compact +.It Pa /dev/cd[0-9][a-h] +block mode +.Tn CD-ROM +devices +.It Pa /dev/rcd[0-9][a-h] +raw mode +.Tn CD-ROM +devices +.El +.Sh DIAGNOSTICS +None. +.Sh SEE ALSO +.Xr intro 4 , +.Xr scsi 4 , +.Xr sd 4 , +.Xr wd 4 , +.Xr disklabel 5 , +.Xr disklabel 8 +.Sh HISTORY +The +.Nm +driver appeared in +.Tn 386BSD 0.1 . +.Sh BUGS +The names of the structures used for the third argument to +.Fn ioctl +were poorly chosen, and a number of spelling errors have survived in +the names of the +.Fn ioctl +commands. diff --git a/static/netbsd/man4/cdce.4 b/static/netbsd/man4/cdce.4 new file mode 100644 index 00000000..fafa9b5f --- /dev/null +++ b/static/netbsd/man4/cdce.4 @@ -0,0 +1,145 @@ +.\" $NetBSD: cdce.4,v 1.19 2023/11/05 17:52:09 mrg Exp $ +.\" +.\" Copyright (c) 2004 Daniel Hartmeier +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" +.\" - Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" - 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 +.\" COPYRIGHT HOLDERS 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. +.\" +.Dd November 5, 2023 +.Dt CDCE 4 +.Os +.Sh NAME +.Nm cdce +.Nd USB Communication Device Class Ethernet driver +.Sh SYNOPSIS +.Cd "cdce* at uhub? port ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for USB Host-to-Host (aka USB-to-USB) bridges +and USB-to-Ethernet adapters based on the USB Communication Device Class (CDC) +and Ethernet subclass, +including the following: +.Pp +.Bl -bullet -compact +.It +Acer Labs USB 2.0 Data Link +.It +Anker A7611 +.It +Club 3D Adapter LAN-Adapter (CAC-1420) +.It +DIEWU USB-DW8152 +.It +G.Mate YP3X00 +.It +Huawei E5573s-320s +.It +Motorola USBNET +.It +NetChip EthernetGadget +.It +Prolific PL-2501 +.It +Realtek RTL8152B, RTL8156, and RTL8156B Ethernet controllers +.It +Sharp Zaurus +.El +.Pp +The USB bridge appears as a regular network interface on both sides, +transporting Ethernet frames. +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Pp +USB 1.x bridges support speeds of up to 12Mbps, USB 2.0 speeds of +up to 480Mbps, and USB 3.0 speeds of up to 5Gbps. +.Pp +Packets are +received and transmitted over separate USB bulk transfer endpoints. +.Pp +The +.Nm +driver does not support different media types or options. +.Sh DIAGNOSTICS +.Bl -diag +.It "cdce%d: no union descriptor" +The driver couldn't fetch an interface descriptor from the USB +device. +For a manually added USB vendor/product, the CDCE_NO_UNION flag +can be tried to work around the missing descriptor. +.It "cdce%d: no data interface" +.It "cdce%d: could not read endpoint descriptor" +.It "cdce%d: unexpected endpoint" +.It "cdce%d: could not find data bulk in/out" +For a manually added USB vendor/product, these errors indicate +that the bridge is not compatible with the driver. +.El +.Pp +Also see +.Xr usbnet 4 +for diagnostics. +.Sh SEE ALSO +.Xr arp 4 , +.Xr intro 4 , +.Xr netintro 4 , +.Xr usb 4 , +.Xr usbnet 4 , +.Xr ifconfig.if 5 , +.Xr ifconfig 8 +.Rs +.%T "Universal Serial Bus Class Definitions for Communication Devices" +.%U http://www.usb.org/developers/devclass_docs/usbcdc11.pdf +.Re +.Rs +.%T "Data sheet Prolific PL-2501 Host-to-Host Bridge/Network Controller" +.%U http://tech.prolific.com.tw/visitor/fcabdl.asp?fid=20679530 +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 3.6 +and +.Nx 3.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Craig Boston Aq Mt craig@tobuj.gank.org +based on the +.Xr aue 4 +driver written by +.An Bill Paul Aq Mt wpaul@windriver.com +and ported to +.Ox +by +.An Daniel Hartmeier Aq Mt dhartmei@openbsd.org . +.Sh CAVEATS +Many USB devices notoriously fail to report their class and interfaces +correctly. +Undetected products might work flawlessly when their vendor and product IDs +are added to the driver manually. diff --git a/static/netbsd/man4/cec.4 b/static/netbsd/man4/cec.4 new file mode 100644 index 00000000..14a2dad2 --- /dev/null +++ b/static/netbsd/man4/cec.4 @@ -0,0 +1,70 @@ +.\" $NetBSD: cec.4,v 1.4 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2003 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Gregory McGarry. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd May 24, 2003 +.Dt CEC 4 +.Os +.Sh NAME +.Nm cec +.Nd IEEE488 GPIB controller boards +.Sh SYNOPSIS +.Cd "cec* at isa? port 0x2b8 irq 5 drq 1" +.Cd "gpib* at cec?" +.Sh DESCRIPTION +The +.Nm +driver supports GPIB (IEEE488) controller boards based on the NEC uPD7210 +GPIB controller chip. The following boards are supported: +.Pp +.Bl -dash -compact -offset indent +.It +Capital Equipment Corp. IEEE488 board +.It +Keithley GPIB boards +.El +.Pp +The following GPIB boards are similar and support should be +available reasonably easily: +.Pp +.Bl -dash -compact -offset indent +.It +HAMEG HO-80 IEEE488 board +.It +National Instruments PCII board +.It +Measurement Computing (Computer Boards) ISA GPIB boards +.El +.Sh SEE ALSO +.Xr gpib 4 , +.Xr isa 4 +.Sh HISTORY +The +.Nm +driver appeared in +.Nx 2.0 . diff --git a/static/netbsd/man4/cfb.4 b/static/netbsd/man4/cfb.4 new file mode 100644 index 00000000..2e278833 --- /dev/null +++ b/static/netbsd/man4/cfb.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: cfb.4,v 1.7 2017/08/27 20:42:55 wiz Exp $ +.\" +.\" Copyright (c) 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Gregory McGarry. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd August 22, 2017 +.Dt CFB 4 +.Os +.Sh NAME +.Nm cfb +.Nd +PMAG-B CX colour unaccelerated 2-D framebuffer +.Sh SYNOPSIS +.Cd "cfb* at tc? slot ? offset ?" +.Cd "wsdisplay* at cfb?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the PMAG-B CX colour framebuffer for the +TURBOchannel bus. +The PMAG-B is an 8 bpp colour framebuffer capable +of running at a resolution of 1024-by-864 at 60 Hz. +.Sh SEE ALSO +.Xr mfb 4 , +.Xr px 4 , +.Xr pxg 4 , +.Xr sfb 4 , +.Xr tc 4 , +.Xr tfb 4 , +.Xr wscons 4 diff --git a/static/netbsd/man4/cgd.4 b/static/netbsd/man4/cgd.4 new file mode 100644 index 00000000..31217d19 --- /dev/null +++ b/static/netbsd/man4/cgd.4 @@ -0,0 +1,324 @@ +.\" $NetBSD: cgd.4,v 1.25 2024/09/27 12:49:41 nia Exp $ +.\" +.\" Copyright (c) 2002, 2003 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Roland C. Dowdeswell. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd September 27, 2024 +.Dt CGD 4 +.Os +.Sh NAME +.Nm cgd +.Nd cryptographic disk driver +.Sh SYNOPSIS +.Cd pseudo-device cgd +.Sh DESCRIPTION +The +.Nm +driver, configured with the +.Xr cgdconfig 8 +tool, implements a logical disk device by encrypting or decrypting disk +sectors on their way to and from a physical backing disk or partition. +.Ss Security model +As long as you keep the key secret, +.Nm +keeps the content of the disk secret from a +.Em passive +adversary, such as a thief who steals your disk or a border patrol +agent who detains you and takes a snapshot of your laptop's disk while +you are crossing a border. +.Pp +.Nm +.Em does not +detect tampering by an +.Em active +adversary who can modify the content of the backing store, such as a +man-in-the-middle between you and an +.Tn iSCSI +target, or after the border patrol returns your laptop to you. +.Ss Ciphers +The following ciphers are supported: +.Bl -tag -width "abcd" +.It Li "adiantum" (key size: 256 bits) +The Adiantum tweakable wide-block cipher. +The Adiantum tweak for each disk sector is taken to be the +little-endian encoding of the disk sector number. +.Pp +Adiantum provides the best security by encrypting entire disk sectors +at a time (512 bytes), and generally provides the best performance on +machines without CPU support for accelerating +.Tn AES . +.It Li "aes-cbc" (key sizes: 128, 192, or 256 bits) +.Tn AES +in +.Tn CBC +mode. +The +.Tn CBC +initialization vector for each disk sector is chosen to be the +encryption under +.Tn AES +of the little-endian encoding of the disk sector number. +The default key length is 128 bits. +.Tn CBC +mode is expected to provide marginally better theoretical security than +.Tn XTS +mode. +.It Li "aes-xts" (key sizes: 256 or 512 bits) +.Tn AES +in +.Tn XTS +mode. +The +.Tn XTS +tweak for each disk sector is chosen to be the little-endian encoding +of the disk sector number. +.Tn AES-XTS +uses a 256-bit or 512-bit key, composed of a pair of +.Tn AES-128 +or +.Tn AES-256 +keys. +The default key length is 256, meaning +.Tn AES-128. +.Tn XTS +mode is expected to provide marginally better theoretical performance than +.Tn CBC +mode. +.El +.Ss Obsolete Ciphers +The following obsolete ciphers are supported for compatibility with +old disks. +.Pp +.Sy WARNING: +These obsolete ciphers are implemented without timing side channel +protection, so, for example, JavaScript code in a web browser that can +measure the timing of disk activity may be able to recover the secret +key. +These are also based on 64-bit block ciphers and are therefore unsafe +for disks much larger than a gigabyte. +You should not use these except where compatibility with old disks is +necessary. +.Bl -tag -width "abcd" +.It Li "3des-cbc" (key size: 192 bits) +.Tn 3DES +.Po +Triple +.Tn DES +with +.Tn EDE3 +.Pc +in +.Tn CBC +mode. +The +.Tn CBC +initialization vector for each disk sector is chosen to be the +encryption under +.Tn 3DES +of the little-endian encoding of the disk sector number. +.Pp +Note: Internally, the +.Sq parity bits +of the 192-bit key are ignored, so there are only 168 bits of key +material, and owing to generic attacks on 64-bit block ciphers and to +meet-in-the-middle attacks on compositions of ciphers as in +.Tn EDE3 +the security is much lower than one might expect even for a 168-bit +key. +.It Li "blowfish-cbc" (key sizes: 40, 48, 56, 64, ..., 432, 440, or 448 bits) +Blowfish in +.Tn CBC +mode. +The +.Tn CBC +initialization vector for each disk sector is chosen to be the +encryption under Blowfish of the little-endian encoding of the disk +sector number. +It is strongly encouraged that keys be at least 128 bits long. +There are no performance advantages of using shorter keys. +The default key length is 128 bits. +.El +.Ss IV Methods +A very early version of +.Nm +had a bug in the +.Tn CBC Ns -based +ciphers +.Li "aes-cbc" , +.Li "3des-cbc" , +and +.Li "blowfish-cbc" : +the +.Tn CBC +initialization vector was chosen to be the +.Em eight-fold +encryption under the block cipher of the little-endian encoding of the +disk sector number, which has no impact on security but reduces +performance. +For compatibility with such disks, the +.Sq IV method +must be set to +.Li encblkno8 . +Otherwise the +.Sq IV method +should always be +.Li encblkno1 . +The parameter is meaningless for +.Li adiantum +and +.Li aes-xts . +.Sh IOCTLS +A +.Nm +responds to all of the standard disk +.Xr ioctl 2 +calls defined in +.Xr sd 4 , +and also defines the following: +.Bl -tag -width CGDIOCSET +.It Dv CGDIOCSET +Configure the +.Nm . +This +.Xr ioctl 2 +sets up the encryption parameters and points the +.Nm +at the underlying disk. +.It Dv CGDIOCCLR +Unconfigure the +.Nm . +.It Dv CGDIOCGET +Get info about the +.Nm . +.El +.Pp +These +.Xr ioctl 2 Ns 's +and their associated data structures are defined in +.In dev/cgdvar.h +header. +.Sh WARNINGS +It goes without saying that if you forget the passphrase that you used +to configure a +.Nm , +then you have irrevocably lost all of the data on the disk. +Please ensure that you are using an appropriate backup strategy. +.Sh FILES +.Bl -tag -width indentxxxxxxxxxxx +.It /dev/{,r}cgd* +.Nm +device special files. +.El +.Sh SEE ALSO +.Xr config 1 , +.Xr ioctl 2 , +.Xr sd 4 , +.Xr cgdconfig 8 , +.Xr MAKEDEV 8 +.Rs +.%A Roland C. Dowdeswell +.%A John Ioannidis +.%T The CryptoGraphic Disk Driver +.%I USENIX Association +.%B Proceedings of the FREENIX Track: 2003 USENIX Annual Technical Conference +.%P 179-186 +.%D June 9-14, 2003 +.%U https://www.usenix.org/event/usenix03/tech/freenix03/full_papers/dowdeswell/dowdeswell.pdf +.Re +.Rs +.%A Paul Crowley +.%A Eric Biggers +.%T Adiantum: length-preserving encryption for entry-level processors +.%I International Association of Cryptologic Research +.%J Transactions on Symmetric Cryptology +.%V 2018 +.%N 4 +.%P 39-61 +.%U https://doi.org/10.13154/tosc.v2018.i4.39-61 +.Re +.Rs +.%T FIPS PUB 46-3: Data Encryption Standard (DES) +.%Q United States Department of Commerce +.%I National Institute of Standards and Technology +.%O withdrawn May 19, 2005 +.%D October 25, 1999 +.%U https://csrc.nist.gov/publications/detail/fips/46/3/archive/1999-10-25 +.Re +.Rs +.%T FIPS PUB 197: Advanced Encryption Standard (AES) +.%Q United States Department of Commerce +.%I National Institute of Standards and Technology +.%D November 2001 +.%U https://csrc.nist.gov/publications/detail/fips/197/final +.Re +.Rs +.%A Morris Dworkin +.%T Recommendation for Block Cipher Modes of Operation: Methods and Techniques +.%D December 2001 +.%Q United States Department of Commerce +.%I National Institute of Standards and Technology +.%O NIST Special Publication 800-38A +.%U https://csrc.nist.gov/publications/detail/sp/800-38a/final +.Re +.Rs +.%A Morris Dworkin +.%T Recommendation for Block Cipher Modes of Operation: the XTS-AES Mode for Confidentiality on Storage Devices +.%D January 2010 +.%Q United States Department of Commerce +.%I National Institute of Standards and Technology +.%O NIST Special Publication 800-38E +.%U https://csrc.nist.gov/publications/detail/sp/800-38e/final +.Re +.Rs +.%A Bruce Schneier +.%T The Blowfish Encryption Algorithm +.%O superseded by Twofish, superseded by Threefish +.%U https://www.schneier.com/academic/blowfish +.Re +.Rs +.%A Karthikeyan Bhargavan +.%A Ga\(:etan Leurent +.%T Sweet32: Birthday attacks on 64-bit block ciphers in TLS and OpenVPN +.%U https://sweet32.info +.Re +.Sh HISTORY +The +.Nm +driver was written by Roland C. Dowdeswell for +.Nx . +The +.Nm +driver originally appeared in +.Nx 2.0 . +The +.Li aes-xts +cipher was added in +.Nx 8.0 . +The +.Li adiantum +cipher was added in +.Nx 10.0 . diff --git a/static/netbsd/man4/ch.4 b/static/netbsd/man4/ch.4 new file mode 100644 index 00000000..65a11749 --- /dev/null +++ b/static/netbsd/man4/ch.4 @@ -0,0 +1,50 @@ +.\" $NetBSD: ch.4,v 1.3 2001/09/12 18:19:16 wiz Exp $ +.\" +.Dd June 10, 1998 +.Dt CH 4 +.Os +.Sh NAME +.Nm ch +.Nd SCSI media changer driver +.Sh SYNOPSIS +.Cd "ch* at scsibus? target ? lun ?" +.Sh DESCRIPTION +The +.Nm +driver is essentially an +.Xr ioctl 2 +interface to a robot on a +.Tn SCSI +bus - a device that will change media (e.g. tapes, CD-ROMs, etc) +in and out of drives for that media. +The +.Xr chio 1 +utility program uses this interface to manipulate such robots. +.Sh FILES +.Bl -tag -width /dev/rsdXXXXX -compact +.It Pa /dev/ch Ns Ar u +.Tn SCSI +bus media changer unit +.Ar u +.El +.Pa /usr/include/sys/chio.h +.Sh DIAGNOSTICS +.Bl -diag +.It "ch%d: waiting %d seconds for changer to settle..." +Some changers require a long time to settle out, +to do tape inventory, for instance. +.It "ch%d: offline" +The changer is not responding. +.It "ch%d: warning, READ ELEMENT STATUS avail != count" +.It "ch%d: could not sense element address page" +.It "ch%d: could not sense capabilities page" +.El +.Sh SEE ALSO +.Xr chio 1 , +.Xr ioctl 2 , +.Xr cd 4 , +.Xr intro 4 , +.Xr scsi 4 , +.Xr st 4 +.Sh AUTHORS +.An Jason R. Thorpe diff --git a/static/netbsd/man4/chipsfb.4 b/static/netbsd/man4/chipsfb.4 new file mode 100644 index 00000000..b53b0d65 --- /dev/null +++ b/static/netbsd/man4/chipsfb.4 @@ -0,0 +1,47 @@ +.\" $NetBSD: chipsfb.4,v 1.6 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 2007 Michael Lorenz +.\" 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. +.\" +.\" 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. +.\" +.Dd January 24, 2012 +.Dt CHIPSFB 4 +.Os +.Sh NAME +.Nm chipsfb +.Nd Chips & Technologies 6555x based graphics chips +.Sh SYNOPSIS +.Cd "chipsfb* at pci?" +.Cd "chipsfb* at ofbus?" +.Cd "wsdisplay* at chipsfb?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the C&T 65550 and 65554 graphics controllers. +Currently it depends on the firmware (usually Open Firmware) to set up the +framebuffer, but all graphics operations used by wsdisplay use the blitter. +.Sh SEE ALSO +.Xr wscons 4 , +.Xr wsdisplay 4 +.Sh BUGS +The driver has been tested on macppc and shark only. diff --git a/static/netbsd/man4/ciphy.4 b/static/netbsd/man4/ciphy.4 new file mode 100644 index 00000000..5701d43b --- /dev/null +++ b/static/netbsd/man4/ciphy.4 @@ -0,0 +1,56 @@ +.\" $NetBSD: ciphy.4,v 1.4 2022/10/26 22:09:37 andvar Exp $ +.\" +.\" Copyright (c) 2005 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Jaromir Dolecek. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd February 20, 2005 +.Dt CIPHY 4 +.Os +.Sh NAME +.Nm ciphy +.Nd Driver for Cicada 10/100/1000 copper Ethernet PHYs +.Sh SYNOPSIS +.Cd "ciphy* at mii? phy ?" +.Sh DESCRIPTION +The +.Nm +driver supports PHYs commonly integrated on VIA Networking Technologies +VT6122 Gigabit Ethernet adapters. +.Sh SEE ALSO +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr mii 4 , +.Xr ifconfig 8 +.Sh HISTORY +Driver is ported from +.Fx +and first appeared in +.Nx 3.0 . +.Sh AUTHORS +The driver was originally written by +.An Bill Paul +.Aq wpaul@windriver.com . diff --git a/static/netbsd/man4/cir.4 b/static/netbsd/man4/cir.4 new file mode 100644 index 00000000..8764050d --- /dev/null +++ b/static/netbsd/man4/cir.4 @@ -0,0 +1,53 @@ +.\" $NetBSD: cir.4,v 1.3 2010/12/29 13:48:22 jmcneill Exp $ +.\" +.\" Copyright (c) 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Lennart Augustsson. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd December 29, 2010 +.Dt CIR 4 +.Os +.Sh NAME +.Nm cir +.Nd Consumer IR (remote control) driver +.Sh SYNOPSIS +.Cd "cir* at irbus?" +.Sh DESCRIPTION +The +.Nm +provides access to consumer infrared devices such as remote +control receivers and transmitters. +.Sh SEE ALSO +.Xr irframe 4 +.\" .Xr smcc 4 +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.6 . +.Sh BUGS +This device is not yet functional. diff --git a/static/netbsd/man4/ciss.4 b/static/netbsd/man4/ciss.4 new file mode 100644 index 00000000..507c8a15 --- /dev/null +++ b/static/netbsd/man4/ciss.4 @@ -0,0 +1,188 @@ +.\" $NetBSD: ciss.4,v 1.11 2020/07/14 17:39:19 jdolecek Exp $ +.\" Jonathan Stone, 2006. +.\" +.\" derived from: +.\" $OpenBSD: ciss.4,v 1.4 2006/01/07 21:55:02 brad Exp $ +.\" Michael Shalayeff, 2005. Public Domain. +.\" +.Dd July 14, 2020 +.Dt CISS 4 +.Os +.Sh NAME +.Nm ciss +.Nd HP/Compaq Smart ARRAY 5/6 RAID controllers +.Sh SYNOPSIS +.Cd "ciss* at pci? function ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the CISS interface implemented by fifth +and later generations of the HP/Compaq Smart ARRAY family of +controllers. +.Pp +The +.Tn CISS +interface is defined in the document entitled +.Rs +.%Q Compaq Computer Corporation +.%T "CISS Command Interface for SCSI-3 Support Open Specification, Version 1.04, Valence Number 1" +.%D 2000/11/27 +.Re +.Pp +This driver supports several Compaq and HP controllers implementing +the CISS interface, including: +.Pp +.Bl -bullet -compact +.It +Compaq Smart Array 5300 version 1 +.It +Compaq Smart Array 5300 version 2 +.It +Compaq Smart Array 5i version 1 +.It +Compaq Smart Array 5i version 2 +.It +HP Smart Array 5312 +.It +HP Smart Array 6i +.It +HP Smart Array 641 +.It +HP Smart Array 642 +.It +HP Smart Array 6400 +.It +HP Smart Array 6400 EM +.It +HP Smart Array E200 +.It +HP Smart Array E200i +.It +HP Smart Array P400 +.It +HP Smart Array P400i +.It +HP Smart Array P410i +.It +HP Smart Array P600 +.It +HP Smart Array P800 +.It +HP Smart Array V100 +.It +HP Smart Array 1 through 14 +.It +HP Smart Array P700m +.It +HP Smart Array P212 +.It +HP Smart Array P410 +.It +HP Smart Array P410i +.It +HP Smart Array P411 +.It +HP Smart Array P822 +.It +HP Smart Array P712m +.It +HP Smart Array P222 +.It +HP Smart Array P420 +.It +HP Smart Array P421 +.It +HP Smart Array P822 +.It +HP Smart Array P420i +.It +HP Smart Array P220i +.It +HP Smart Array P721i +.It +HP Smart Array P430i +.It +HP Smart Array P830i +.It +HP Smart Array P430 +.It +HP Smart Array P431 +.It +HP Smart Array P830 +.It +HP Smart Array P731m +.It +HP Smart Array P230i +.It +HP Smart Array P530 +.It +HP Smart Array P531 +.It +HP Smart Array P244br +.It +HP Smart Array P741m +.It +HP Smart Array H240ar +.It +HP Smart Array H440ar +.It +HP Smart Array P840ar +.It +HP Smart Array P440 +.It +HP Smart Array P441 +.It +HP Smart Array P841 +.It +HP Smart Array H244br +.It +HP Smart Array H240 +.It +HP Smart Array H241 +.It +HP Smart Array P246br +.It +HP Smart Array P840 +.It +HP Smart Array P542d +.It +HP Smart Array P240nr +.It +HP Smart Array H240nr +.El +.Pp +These controllers support RAID 0, RAID 1, RAID 5, JBOD, +and superpositions of those configurations. +.Pp +Although the controllers are actual RAID controllers, +the +.Nm +driver makes them look just like SCSI controllers. +All RAID configuration must be done through the controllers' BIOSes. +.Pp +Hardware from previous generations of this product family may be +supported by the +.Xr cac 4 +driver. +.Sh SEE ALSO +.Xr bio 4 , +.Xr cac 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr scsi 4 , +.Xr sd 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 3.1 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Michael Shalayeff Aq Mt mickey@openbsd.org , +and ported to +.Nx +by +.An Tonnerre Lombard Aq Mt tonnerre@netbsd.org . diff --git a/static/netbsd/man4/clcs.4 b/static/netbsd/man4/clcs.4 new file mode 100644 index 00000000..1ff976e8 --- /dev/null +++ b/static/netbsd/man4/clcs.4 @@ -0,0 +1,60 @@ +.\" $NetBSD: clcs.4,v 1.6 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 1999 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Lennart Augustsson. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd January 2, 2006 +.Dt CLCS 4 +.Os +.Sh NAME +.Nm clcs +.Nd Cirrus Logic CS4280 audio device driver +.Sh SYNOPSIS +.Cd "clcs* at pci? dev ? function ?" +.Cd "audio* at audiobus?" +.Cd "midi* at clcs?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Cirrus Logic CS4280 chip. +Partial support exists for the CS461x chips, but is disabled. +Instead, the +.Xr wss 4 +or +.Xr sb 4 +drivers should be used. +.Sh SEE ALSO +.Xr audio 4 , +.Xr midi 4 , +.Xr pci 4 , +.Xr sb 4 , +.Xr wss 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.5 . diff --git a/static/netbsd/man4/clct.4 b/static/netbsd/man4/clct.4 new file mode 100644 index 00000000..c8cc2f46 --- /dev/null +++ b/static/netbsd/man4/clct.4 @@ -0,0 +1,53 @@ +.\" $NetBSD: clct.4,v 1.6 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Tatoku Ogaito +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 22, 2005 +.Dt CLCT 4 +.Os +.Sh NAME +.Nm clct +.Nd Cirrus Logic CS4281 audio device driver +.Sh SYNOPSIS +.Cd "clct* at pci? dev ? function ?" +.Cd "audio* at audiobus?" +.\" .Cd "midi* at clct?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Cirrus Logic CS4281 chip. +.Sh SEE ALSO +.Xr ac97 4 , +.Xr audio 4 , +.\" .Xr midi 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.6 . diff --git a/static/netbsd/man4/clockctl.4 b/static/netbsd/man4/clockctl.4 new file mode 100644 index 00000000..10b6ea55 --- /dev/null +++ b/static/netbsd/man4/clockctl.4 @@ -0,0 +1,133 @@ +.\" $NetBSD: clockctl.4,v 1.8 2010/03/22 18:58:31 joerg Exp $ +.\" +.\" Copyright (c) 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Emmanuel Dreyfus. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd February 19, 2009 +.Dt CLOCKCTL 4 +.Os +.Sh NAME +.Nm clockctl +.Nd Clock subsystem user control +.Sh SYNOPSIS +.Cd pseudo-device clockctl +.Sh DESCRIPTION +The +.Nm +interface brings clock control to non-root users. +Any user with write access to +.Pa /dev/clockctl +will be able to perform operations such as +.Xr settimeofday 2 , +.Xr clock_settime 2 , +.Xr adjtime 2 , +or +.Xr ntp_adjtime 2 , +which are normally restricted to the super-user. +Using the +.Nm +pseudo-device, it is possible to run daemons such as +.Xr ntpd 8 +as non-privileged users, thus reducing the security exposure if a +compromise is found in such a daemon. +.Pp +The +.Nm +pseudo-device driver provides an +.Xr ioctl 2 +call for each privileged clock-related system call. +The system call stubs in C library will use the +.Xr ioctl 2 +on +.Pa /dev/clockctl +if the special file is present and accessible, or will revert to the +plain super-user-restricted system call if the special file is not accessible. +.Pp +The following +.Xr ioctl 2 +calls are defined in +.In sys/clockctl.h : +.Bl -tag -width CLOCKCTL +.It Dv CLOCKCTL_SETTIMEOFDAY +This will run the +.Xr settimeofday 2 +system call. +Argument should be a pointer to a +.Va struct clockctl_settimeofday : +.Bd -literal +struct clockctl_settimeofday { + const struct timeval *tv; + const void *tzp; +}; +.Ed +.It Dv CLOCKCTL_CLOCK_SETTIME +This will run the +.Xr clock_settime 2 +system call. +Argument should be a pointer to a +.Va struct clockctl_clock_settime : +.Bd -literal +struct clockctl_clock_settime { + clockid_t clock_id; + struct timespec *tp; +}; +.Ed +.It Dv CLOCKCTL_ADJTIME +This will run the +.Xr adjtime 2 +system call. +Argument should be a pointer to a +.Va struct clockctl_adjtime : +.Bd -literal +struct clockctl_adjtime { + const struct timeval *delta; + struct timeval *olddelta; +}; +.Ed +.It Dv CLOCKCTL_NTP_ADJTIME +This will run the +.Xr ntp_adjtime 2 +system call. +Argument should be a pointer to a +.Va struct clockctl_ntp_adjtime : +.Bd -literal +struct clockctl_ntp_adjtime { + struct timex *tp; +.\" Following member is commented out intentionally. +.\" register_t retval; +}; +.Ed +.El +.Sh SEE ALSO +.Xr adjtime 2 , +.Xr clock_settime 2 , +.Xr ioctl 2 , +.Xr settimeofday 2 +.Sh HISTORY +.Nm +appeared in +.Nx 1.6 . diff --git a/static/netbsd/man4/cmdide.4 b/static/netbsd/man4/cmdide.4 new file mode 100644 index 00000000..7e9a3d27 --- /dev/null +++ b/static/netbsd/man4/cmdide.4 @@ -0,0 +1,75 @@ +.\" $NetBSD: cmdide.4,v 1.4 2009/10/19 18:41:08 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" 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. +.\" +.\" 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. +.\" +.Dd December 13, 2003 +.Dt CMDIDE 4 +.Os +.Sh NAME +.Nm cmdide +.Nd CMD Technology and Silicon Image IDE disk controllers driver +.Sh SYNOPSIS +.Cd "cmdide* at pci? dev ? function ? flags 0x0000" +.Cd "options PCIIDE_CMD064x_DISABLE" +.Cd "options PCIIDE_CMD0646U_ENABLEUDMA" +.Sh DESCRIPTION +The +.Nm +driver supports the CMD Technology PCI0640, PCI0643, PCI0646, PCI0648, PCI0649, +and Silicon Image 0680 IDE controllers, and provides the interface with the +hardware for the +.Xr ata 4 +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr ata 4 , +.Xr atapi 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr pciide 4 , +.Xr wd 4 , +.Xr wdc 4 +.Sh BUGS +There's no way to reliably know if a PCI064x controller is enabled or not. +If the driver finds a PCI064x, it will assume it is enabled unless the +PCIIDE_CMD064x_DISABLE option is specified in the kernel config file. +This will be a problem only if the controller has been disabled in the BIOS +and another controller has been installed and uses the ISA legacy I/O ports +and interrupts. +.Pp +The PCI0646U controller is known to be buggy with Ultra-DMA transfers, so +Ultra-DMA is disabled by default for this controller. +To enable Ultra-DMA, use the PCIIDE_CMD0646U_ENABLEUDMA option. +Ultra-DMA can eventually be disabled on a per-drive basis with config +flags, see +.Xr wd 4 . +.Pp +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/static/netbsd/man4/cmpci.4 b/static/netbsd/man4/cmpci.4 new file mode 100644 index 00000000..41dd836a --- /dev/null +++ b/static/netbsd/man4/cmpci.4 @@ -0,0 +1,129 @@ +.\" $NetBSD: cmpci.4,v 1.9 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 2000, 2001 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Takuya SHIOZAKI . +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by ITOH Yasufumi. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 22, 2005 +.Dt CMPCI 4 +.Os +.Sh NAME +.Nm cmpci +.Nd C-Media CMI8x38 audio device driver +.Sh SYNOPSIS +.Cd "cmpci* at pci? dev ? function ?" +.Cd "audio* at audiobus?" +.Cd "mpu* at cmpci?" +.Cd "opl* at cmpci? flags 1" +.Sh DESCRIPTION +The +.Nm +device driver supports C-Media CMI8x38 based sound cards. +.Pp +The device has +SPDIF input/output interfaces, +16bit CODEC with analog mixer, +OPL3 FM Synthesizer, +and MPU401 compatible MIDI I/O port interface. +.Sh MIXER DEVICE +The mixer device of +.Nm +driver can be accessed via +.Xr mixerctl 1 +command. +The complex structure is analyzed as follows. +.Bd -literal +SPDIF in ---------------------- +#1(coax)->|spdin1 | R ----------------------- +#2(opt)-->|spdin2 spdif.input |--*->--|spdin spdif.output |--> SPDIF + -->|spdout | | -->|playback | output + | ---------------------- | | ----------------------- + --------------------<------+-* + ---------<-------------------+-+---------------------------------- + | ------------------------ | | ----------------------- | + -->|legacy spdif.output. |--+-*-->|spdout | | + -->|wave playback | ----->|spdin spdif.monitor |---- | + | ------------------------ NC-|off | | | + ---------<-- spdif ----------------------- | | + -------+------- dac ------------ ----------------- v | +wave -->|playback.mode|---->|inputs.dac|-*->|inputs.dac.mute|->----- | +playback --------------- ------------ R ----------------- | + | | + ----------------- --------------------- |mix| | +FM synthesizer -->|inputs.fmsynth |--*->|inputs.fmsynth.mute|-->----- | + ----------------- R --------------------- *->-- +CD ---------------------- --------------------------- v +LINE-IN ->|inputs.{cd,line,aux}|-*>|inputs.{cd,line,aux}.mute|->----- +AUX ---------------------- R --------------------------- | | + ------------------ | | +PC-SPK -->| inputs.speaker |----------------------------------->| + | + ------------------ | | + ------------------- ------------ ----------------- |mix| +MIC --*-->|inputs.mic.preamp|->|inputs.mic|->|inputs.mic.mute|->| | + | ------------------- ------------ ----------------- ----- + | ------------ ----------------- | + --->|record.mic|-->| | v + ------------ | record.source |-->to ----------- + *R-->| (select, mix) | recording |outputs.*|--> + ----------------- ----------- SPK + (front) +.Ed +.Pp +Note the 2nd SPDIF input exists only on CMI8738/PCI-6ch versions. +.Sh MIXER EXAMPLES +Here are examples about wave playback and SPDIF input/output ports. +.Bl -tag -width 1n +.It Playback to speaker, SPDIF input to SPDIF output +.Dl mixerctl -w playback.mode=dac spdif.output=spdin spdif.monitor=off +.It Playback to SPDIF output, SPDIF input to speaker +.Dl mixerctl -w playback.mode=spdif spdif.output=playback spdif.output.playback=wave spdif.monitor=spdin +.It SPDIF input to both SPDIF output and speaker +.Dl mixerctl -w spdif.output=spdin spdif.monitor=spdin +.It Playback to both SPDIF output and speaker +.Dl mixerctl -w playback.mode=spdif spdif.output=playback spdif.output.playback=wave spdif.monitor=spdout +.It Mix playback and SPDIF input to speaker +.Dl mixerctl -w playback.mode=dac spdif.monitor=spdin +.El +.Sh SEE ALSO +.Xr mixerctl 1 , +.Xr audio 4 , +.Xr midi 4 , +.Xr mpu 4 , +.Xr opl 4 , +.Xr pci 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.5 . +.Sh BUGS +4ch/6ch playback is not yet available. +Joystick port is not supported. +.Pp +.Dv spdif.output.playback=legacy +does not seem to work properly. diff --git a/static/netbsd/man4/cms.4 b/static/netbsd/man4/cms.4 new file mode 100644 index 00000000..6aa15b67 --- /dev/null +++ b/static/netbsd/man4/cms.4 @@ -0,0 +1,61 @@ +.\" $NetBSD: cms.4,v 1.3 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2000 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd April 28, 2000 +.Dt CMS 4 +.Os +.Sh NAME +.Nm cms +.Nd Creative Music System device driver +.Sh SYNOPSIS +.Cd "cms0 at isa? port 0x220" +.Cd "midi* at cms?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the Creative Music System (C/MS). +These cards were developed by Creative Labs, the same people who +designed the SoundBlaster cards. Chips were available for the +SoundBlaster to make them compatible with CMS. +.Pp +The CMS cards are only capable of playing basic notes and noises, +making them suitable for playing midi, but not much else. The output +is stereo, but the +.Nm +driver doesn't support stereo control. The cards have external volume +control, line-output and speaker. +.Pp +The base I/O port address is usually jumper-selected to 0x220. Valid +jumper settings are for 0x210, 0x220, 0x230, 0x240, 0x250 and 0x260. +There are no interrupt settings. +.Sh SEE ALSO +.Xr isa 4 , +.Xr midi 4 +.Sh HISTORY +The +.Nm +device driver appeared in +.Nx 1.5 . diff --git a/static/netbsd/man4/cnw.4 b/static/netbsd/man4/cnw.4 new file mode 100644 index 00000000..5450e96b --- /dev/null +++ b/static/netbsd/man4/cnw.4 @@ -0,0 +1,112 @@ +.\" $NetBSD: cnw.4,v 1.13 2004/09/06 12:52:54 wiz Exp $ +.\" +.\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that this notice is retained, +.\" the conditions in the following notices are met, and terms applying +.\" to contributors in the following notices also apply to Berkeley +.\" Software Design, Inc. +.\" +.\" 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 +.\" Berkeley Software Design, Inc. +.\" 4. Neither the name of the Berkeley Software Design, Inc. 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 BERKELEY SOFTWARE DESIGN, INC. ``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 BERKELEY SOFTWARE DESIGN, INC. 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. +.\" +.\" PAO2 Id: cnw.4,v 1.1.1.1 1997/12/11 14:46:23 itojun Exp +.\" +.Dd January 5, 1997 +.Dt CNW 4 +.Os +.Sh NAME +.Nm cnw +.Nd +.Tn Netwave AirSurfer wireless network driver +.Sh SYNOPSIS +.Cd "cnw* at pcmcia? function ?" +.Sh DESCRIPTION +The +.Nm cnw +interface provides access to a theoretical 1 Mb/s wireless Ethernet network +based on the Netwave AirSurfer Wireless LAN (formerly known as the Xircom +Netwave Wireless LAN). +.Pp +Note that the driver does not support newer devices +such as the Netwave AirSurfer +.Dq Plus , +or the BayStack 650/660. +These devices are supported by the +.Xr awi 4 +driver. +.Pp +Netwave devices are not compatible with IEEE 802.11 wireless networks. +Also note that there are Netwave devices with different wireless frequency, +depending on the radio band plan in each country. +.Pp +The card uses 36K of I/O memory mapped to the card. +.\"The card uses 32K of I/O memory mapped to the card along with either 16 I/O ports +.\"or 4K of additional I/O memory for access to command registers. +.\"The driver currently only supports the use of the additional 4K of I/O memory. +You may need to increase memory space available to the PCMCIA controller. +See +.Xr pcmcia 4 +for details. +.Pp +In use, the cards appear to achieve up to a 420Kb/s transfer rate, though +a transfer rate between 250Kb/s and 350Kb/s is typical. +.Pp +The card operates in the 2.4GHz frequency range and is subject to interference +from microwaves, IEEE 802.11 wireless network devices, as well as earth. +For example, it seems that IEEE 802.11 channel 14 conflicts with Netwave +.Pq US frequency . +They interfere with each other if they are both operated +in the same geographic region, causing weird packet loss. +You may be able to avoid the interference with IEEE 802.11 devices, +by changing the IEEE 802.11 channel. +.Sh HARDWARE +Cards supported by the +.Nm +driver include: +.Pp +.Bl -item -offset indent +.It +Xircom CreditCard Netwave +.It +NetWave AirSurfer +.El +.Sh DIAGNOSTICS +.Bl -diag +.It "cnw0: can't map memory" +Indicates that the driver was not able to allocate enough PCMCIA bus +address space into which to map the device. +See +.Xr pcmcia 4 +and increase memory available to the PCMCIA controller. +.El +.Sh SEE ALSO +.Xr arp 4 , +.Xr awi 4 , +.Xr inet 4 , +.Xr intro 4 , +.Xr pcmcia 4 , +.Xr cnwctl 8 diff --git a/static/netbsd/man4/com.4 b/static/netbsd/man4/com.4 new file mode 100644 index 00000000..b728ca89 --- /dev/null +++ b/static/netbsd/man4/com.4 @@ -0,0 +1,191 @@ +.\" $NetBSD: com.4,v 1.23 2017/05/21 09:12:19 wiz Exp $ +.\" +.\" Copyright (c) 1990, 1991 The Regents of the University of California. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to Berkeley by +.\" the Systems Programming Group of the University of Utah Computer +.\" Science Department. +.\" 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. 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: @(#)dca.4 5.2 (Berkeley) 3/27/91 +.\" +.Dd March 4, 2017 +.Dt COM 4 +.Os +.Sh NAME +.Nm com +.Nd serial communications interface for +.Tn RS-232C +.Sh SYNOPSIS +.Cd "com0 at isa? port" \&"IO_COM1\&" irq 4 +.Cd "com1 at isa? port" \&"IO_COM2\&" irq 3 +.Cd "com* at acpi?" +.Cd "com* at cardbus?" +.Cd "com* at isapnp?" +.Cd "com* at mca? slot ?" +.Cd "com* at mhzc?" +.Cd "com* at ofisa?" +.Cd "com* at pcmcia?" +.Cd "com* at pcmcom?" +.Cd "com* at pnpbios? index ?" +.Cd "com* at puc? port ?" +.Cd "com* at xirc?" +.Cd options COM_HAYESP +.Cd options PPS_SYNC +.Cd options PPS_TRAILING_EDGE +.Cd options RND_COM +.Ss Amiga +.Cd "com* at clockport?" +.Ss Arm32 +.Cd "com0 at mainbus? base 0x00210fe0" +.Cd "com1 at mainbus? base 0x00210be0" +.Cd "com0 at pxaip?" +.Ss HP 9000/300 and 400 Series +.Cd "com* at dio? scode ?" +.Cd "com* at frodo? offset ?" +.Ss HP 9000/700 and 800 Series +.Cd "com* at dino?" +.Cd "com* at gsc?" +.Cd "com* at ssio?" +.Ss IBM PowerPC 4xx +.Cd "com* at opb?" +.Ss SPARC +.Cd "com* at ebus?" +.Cd "com* at obio0" +.Ss x68k +.Cd "com0 at intio0 addr 0xefff00 intr 240" +.Cd "com1 at intio0 addr 0xefff10 intr 241" +.Sh DESCRIPTION +The +.Nm +driver provides support for NS8250-, NS16450-, and NS16550-based +.Tn EIA +.Tn RS-232C +.Pf ( Tn CCITT +.Tn V.28 ) +communications interfaces. +The NS8250 and NS16450 have single character +buffers, and the NS16550 has a 16 character buffer. +.Pp +Input and output for each line may set to one of following baud rates; +50, 75, 110, 134.5, 150, 300, 600, 1200, 1800, 2400, 4800, 9600, +19200, 38400, 57600, or 115200, or any other baud rate which is a factor +of 115200. +.Pp +The ttyXX devices are traditional dial-in devices; the dtyXX devices are +used for dial-out. +(See +.Xr tty 4 . ) +.Pp +.Cd options COM_HAYESP +adds support for the Hayes ESP serial board. +.Pp +.Cd options PPS_SYNC +enables code to use the Data Carrier Detect (DCD) signal line for attachment +to an external precision clock source +.Po +e.g., +.Tn GPS , +.Tn CDMA +.Pc +which generates a Pulse Per Second (PPS) signal. +This is used by +.Xr ntpd 8 +to discipline the system clock, and more accurately count/measure time. +See +.Xr options 4 +for more discussion. +.Pp +With +.Cd options RND_COM +enabled, the +.Nm +driver can be used to collect entropy for the +.Xr rnd 4 +entropy pool. +The entropy is generated from interrupt randomness. +.Ss Arm32 specific +If +.Dq flags 1 +is specified, the +.Nm +driver will not set the +.Dv MCR_IENABLE +bit on the UART. +This is mainly for use on AST multiport boards, where the +.Dv MCR_IENABLE +bit is used to control whether or not the devices use a shared +interrupt. +.Sh FILES +.Bl -tag -width Pa -compact +.It Pa /dev/dty00 +.It Pa /dev/dty01 +.It Pa /dev/dty02 +.It Pa /dev/tty00 +.It Pa /dev/tty01 +.It Pa /dev/tty02 +.El +.Sh DIAGNOSTICS +.Bl -diag +.It com%d: %d silo overflows +The input +.Dq silo +has overflowed and incoming data has been lost. +.It com%d: weird interrupt: iir=%x +The device has generated an unexpected interrupt +with the code listed. +.El +.Sh SEE ALSO +.Xr acpi 4 , +.Xr ast 4 , +.Xr cardbus 4 , +.Xr i386/pnpbios 4 , +.Xr isa 4 , +.Xr isapnp 4 , +.Xr mca 4 , +.Xr mhzc 4 , +.Xr ofisa 4 , +.Xr options 4 , +.Xr pcmcia 4 , +.Xr pcmcom 4 , +.Xr puc 4 , +.Xr pxaip 4 , +.Xr rtfps 4 , +.Xr tty 4 , +.Xr xirc 4 , +.Xr ntpd 8 +.Sh HISTORY +The +.Nm +driver was originally derived from the HP9000/300 +.Ic dca +driver. +.Sh BUGS +Data loss is possible on busy systems with unbuffered UARTs at high speed. +.Pp +The name of this driver and the constants which define the locations +of the various serial ports are holdovers from +.Tn DOS . diff --git a/static/netbsd/man4/coram.4 b/static/netbsd/man4/coram.4 new file mode 100644 index 00000000..afa06a9c --- /dev/null +++ b/static/netbsd/man4/coram.4 @@ -0,0 +1,69 @@ +.\" $NetBSD: coram.4,v 1.2 2011/08/13 22:35:27 wiz Exp $ +.\" +.\" Copyright (c) 2011 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Thomas Klausner. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd August 13, 2011 +.Dt CORAM 4 +.Os +.Sh NAME +.Nm coram +.Nd digital video driver for Conexant CX23885 based cards +.Sh SYNOPSIS +.Cd "coram* at pci? dev ? function ?" +.Cd "iic* at coram?" +.Sh DESCRIPTION +The +.Nm +driver provides support for digital video cards based on the +Conexant CX23885 DTV interface chips. +.Pp +Supported cards include: +.Bl -bullet -offset indent +.It +Hauppauge WinTV HVR-1250 +.El +.Sh SEE ALSO +.Xr dtv 4 , +.Xr iic 4 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Nx 6.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Jonathan A. Kollasch +.Aq jakllsch@NetBSD.org +and +.An Jared D. McNeill +.Aq jmcneill@NetBSD.org . +.Sh BUGS +No support for analog capture and for IR receivers. diff --git a/static/netbsd/man4/crypto.4 b/static/netbsd/man4/crypto.4 new file mode 100644 index 00000000..bf4cd509 --- /dev/null +++ b/static/netbsd/man4/crypto.4 @@ -0,0 +1,663 @@ +.\" $NetBSD: crypto.4,v 1.26 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 2008 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Coyote Point Systems, Inc. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.\" +.\" +.\" Copyright (c) 2004 +.\" Jonathan Stone . 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY Jonathan Stone 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 Jonathan Stone OR THE VOICES IN HIS HEAD +.\" 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. +.\" +.Dd January 27, 2014 +.Dt CRYPTO 4 +.Os +.Sh NAME +.Nm crypto , +.Nm swcrypto +.Nd user-mode access to hardware-accelerated cryptography +.Sh SYNOPSIS +.Cd "hifn* at pci? dev ? function ?" +.Cd "ubsec* at pci? dev ? function ?" +.Pp +.Cd pseudo-device crypto +.Cd pseudo-device swcrypto +.Pp +.In sys/ioctl.h +.In sys/time.h +.In crypto/cryptodev.h +.Sh DESCRIPTION +The +.Nm +driver gives user-mode applications access to hardware-accelerated +cryptographic transforms, as implemented by the +.Xr opencrypto 9 +in-kernel interface. +.Pp +The +.Cm swcrypto +driver is a software-only implementation of the +.Xr opencrypto 9 +interface, and must be included to use the interface without hardware +acceleration. +.Pp +The +.Pa /dev/crypto +special device provides an +.Xr ioctl 2 +based interface. +User-mode applications should open the special device, +then issue +.Xr ioctl 2 +calls on the descriptor. +User-mode access to +.Pa /dev/crypto +is generally controlled by three +.Xr sysctl 8 +variables, +.Ic kern.usercrypto , +.Ic kern.userasymcrypto , +and +.Ic kern.cryptodevallowsoft . +See +.Xr sysctl 7 +for additional details. +.Pp +The +.Nm +device provides two distinct modes of operation: one mode for +symmetric-keyed cryptographic requests, and a second mode for +both asymmetric-key (public-key/private-key) requests, and for +modular arithmetic (for Diffie-Hellman key exchange and other +cryptographic protocols). +The two modes are described separately below. +.Sh THEORY OF OPERATION +Regardless of whether symmetric-key or asymmetric-key operations are +to be performed, use of the device requires a basic series of steps: +.Pp +.Bl -enum +.It +Open a file descriptor for the device. +See +.Xr open 2 . +.It +If any symmetric operation will be performed, +create one session, with +.Dv CIOCGSESSION , +or multiple sessions, with +.Dv CIOCNGSESSION . +Most applications will require at least one symmetric session. +Since cipher and MAC keys are tied to sessions, many +applications will require more. +Asymmetric operations do not use sessions. +.It +Submit requests, synchronously with +.Dv CIOCCRYPT +(symmetric) +or +.Dv CIOCKEY +(asymmetric) +or asynchronously with +.Dv CIOCNCRYPTM +(symmetric) +or +.Dv CIOCNFKEYM +(asymmetric). +The asynchronous interface allows multiple requests to be submitted in one +call if the user so desires. +.It +If the asynchronous interface is used, wait for results with +.Xr select 2 +or +.Xr poll 2 , +then collect them with +.Dv CIOCNCRYPTRET +(a particular request) +or +.Dv CIOCNCRYPTRETM +(multiple requests). +.It +Destroy one session with +.Dv CIOCFSESSION +or many at once with +.Dv CIOCNFSESSION . +.It +Close the device with +.Xr close 2 . +.El +.Sh SYMMETRIC-KEY OPERATION +The symmetric-key operation mode provides a context-based API +to traditional symmetric-key encryption (or privacy) algorithms, +or to keyed and unkeyed one-way hash (HMAC and MAC) algorithms. +The symmetric-key mode also permits fused operation, +where the hardware performs both a privacy algorithm and an integrity-check +algorithm in a single pass over the data: either a fused +encrypt/HMAC-generate operation, or a fused HMAC-verify/decrypt operation. +.Pp +To use symmetric mode, you must first create a session specifying +the algorithm(s) and key(s) to use; then issue encrypt or decrypt +requests against the session. +.Ss Symmetric-key privacy algorithms +Contingent upon device drivers for installed cryptographic hardware +registering with +.Xr opencrypto 9 , +as providers of a given algorithm, some or all of the following +symmetric-key privacy algorithms may be available: +.Pp +.Bl -tag -compact -width CRYPTO_RIPEMD160_HMAC -offset indent +.It CRYPTO_DES_CBC +.It CRYPTO_3DES_CBC +.It CRYPTO_BLF_CBC +.It CRYPTO_CAST_CBC +.It CRYPTO_SKIPJACK_CBC +.It CRYPTO_AES_CBC +.It CRYPTO_ARC4 +.El +.Ss Integrity-check operations +Contingent upon hardware support, some or all of the following +keyed one-way hash algorithms may be available: +.Pp +.Bl -tag -compact -width CRYPTO_RIPEMD160_HMAC -offset indent +.It CRYPTO_RIPEMD160_HMAC +.It CRYPTO_MD5_KPDK +.It CRYPTO_SHA1_KPDK +.It CRYPTO_MD5_HMAC +.It CRYPTO_SHA1_HMAC +.It CRYPTO_SHA2_256_HMAC +.It CRYPTO_SHA2_384_HMAC +.It CRYPTO_SHA2_512_HMAC +.It CRYPTO_MD5 +.It CRYPTO_SHA1 +.El +.Pp +The +.Em CRYPTO_MD5 +and +.Em CRYPTO_SHA1 +algorithms are actually unkeyed, but should be requested +as symmetric-key hash algorithms with a zero-length key. +.Ss IOCTL Request Descriptions +.\" +.Bl -tag -width CIOCKEY +.\" +.It Dv CRIOGET Fa int *fd +This operation is deprecated and will be removed after +.Nx 5.0 . +It clones the fd argument to +.Xr ioctl 2 , +yielding a new file descriptor for the creation of sessions. +Because the device now clones on open, this operation is unnecessary. +.\" +.It Dv CIOCGSESSION Fa struct session_op *sessp +.Bd -literal +struct session_op { + u_int32_t cipher; /* e.g. CRYPTO_DES_CBC */ + u_int32_t mac; /* e.g. CRYPTO_MD5_HMAC */ + + u_int32_t keylen; /* cipher key */ + void * key; + int mackeylen; /* mac key */ + void * mackey; + + u_int32_t ses; /* returns: ses # */ +}; + +.Ed +Create a new cryptographic session on a file descriptor for the device; +that is, a persistent object specific to the chosen +privacy algorithm, integrity algorithm, and keys specified in +.Fa sessp . +The special value 0 for either privacy or integrity +is reserved to indicate that the indicated operation (privacy or integrity) +is not desired for this session. +.Pp +Multiple sessions may be bound to a single file descriptor. +The session ID returned in +.Fa sessp->ses +is supplied as a required field in the symmetric-operation structure +.Fa crypt_op +for future encryption or hashing requests. +.Pp +This implementation will never return a session ID of 0 for a successful +creation of a session, which is a +.Nx +extension. +.Pp +For non-zero symmetric-key privacy algorithms, the privacy algorithm +must be specified in +.Fa sessp->cipher , +the key length in +.Fa sessp->keylen , +and the key value in the octets addressed by +.Fa sessp->key . +.Pp +For keyed one-way hash algorithms, the one-way hash must be specified +in +.Fa sessp->mac , +the key length in +.Fa sessp->mackey , +and the key value in the octets addressed by +.Fa sessp->mackeylen . +.\" +.Pp +Support for a specific combination of fused privacy and +integrity-check algorithms depends on whether the underlying +hardware supports that combination. +Not all combinations are supported +by all hardware, even if the hardware supports each operation as a +stand-alone non-fused operation. +.It Dv CIOCNGSESSION Fa struct crypt_sgop *sgop +.Bd -literal +struct crypt_sgop { + size_t count; /* how many */ + struct session_n_op * sessions; /* where to get them */ +}; + +struct session_n_op { + u_int32_t cipher; /* e.g. CRYPTO_DES_CBC */ + u_int32_t mac; /* e.g. CRYPTO_MD5_HMAC */ + + u_int32_t keylen; /* cipher key */ + void * key; + u_int32_t mackeylen; /* mac key */ + void * mackey; + + u_int32_t ses; /* returns: session # */ + int status; +}; + +.Ed +Create one or more sessions. +Takes a counted array of +.Fa session_n_op +structures in +.Fa sgop . +For each requested session (array element n), the session number is returned in +.Fa sgop->sessions[n].ses +and the status for that session creation in +.Fa sgop->sessions[n].status . +.\" +.It Dv CIOCCRYPT Fa struct crypt_op *cr_op +.Bd -literal +struct crypt_op { + u_int32_t ses; + u_int16_t op; /* e.g. COP_ENCRYPT */ + u_int16_t flags; + u_int len; + void * src, *dst; + void * mac; /* must be large enough for result */ + void * iv; +}; + +.Ed +Request a symmetric-key (or hash) operation. +The file descriptor argument to +.Xr ioctl 2 +must have been bound to a valid session. +To encrypt, set +.Fa cr_op->op +to +.Dv COP_ENCRYPT . +To decrypt, set +.Fa cr_op->op +to +.Dv COP_DECRYPT . +The field +.Fa cr_op->len +supplies the length of the input buffer; the fields +.Fa cr_op->src , +.Fa cr_op->dst , +.Fa cr_op->mac , +.Fa cr_op->iv +supply the addresses of the input buffer, output buffer, +one-way hash, and initialization vector, respectively. +.It Dv CIOCNCRYPTM Fa struct crypt_mop *cr_mop +.Bd -literal +struct crypt_mop { + size_t count; /* how many */ + struct crypt_n_op * reqs; /* where to get them */ +}; + +struct crypt_n_op { + u_int32_t ses; + u_int16_t op; /* e.g. COP_ENCRYPT */ + u_int16_t flags; + u_int len; + + u_int32_t reqid; /* request id */ + int status; /* accepted or not */ + + void *opaque; /* opaque pointer ret to user */ + u_int32_t keylen; /* cipher key - optional */ + void * key; + u_int32_t mackeylen; /* mac key - optional */ + void * mackey; + + void * src, * dst; + void * mac; + void * iv; +}; + +.Ed +This is the asynchronous version of CIOCCRYPT, which allows multiple +symmetric-key (or hash) operations to be started (see CIOCRYPT +above for the details for each operation). +.Pp +The +.Fa cr_mop->count +field specifies the number of operations provided in the +cr_mop->reqs array. +.Pp +Each operation is assigned a unique request id returned in the +.Fa cr_mop->reqs[n].reqid +field. +.Pp +Each operation can accept an opaque value from the user to be passed back +to the user when the operation completes +(e.g., to track context for the request). +The opaque field is +.Fa cr_mop->reqs[n].opaque . +.Pp +If a problem occurs with starting any of the operations then that +operation's +.Fa cr_mop->reqs[n].status +field is filled with the error code. +The failure of an operation does not +prevent the other operations from being started. +.Pp +The +.Xr select 2 +or +.Xr poll 2 +functions must be used on the device file descriptor to detect that +some operation has completed; results are then retrieved with +.Dv CIOCNCRYPTRETM . +.Pp +The +.Fa key +and +.Fa mackey +fields of the +operation structure are currently unused. +They are intended for use to +immediately rekey an existing session before processing a new request. +.It Dv CIOCFSESSION Fa u_int32_t *ses_id +Destroys the /dev/crypto session associated with the file-descriptor +argument. +.It Dv CIOCNFSESSION Fa struct crypt_sfop *sfop +.Bd -literal +struct crypt_sfop { + size_t count; + u_int32_t *sesid; +}; + +.Ed +Destroys the +.Fa sfop->count +sessions specified by the +.Fa sfop +array of session identifiers. +.El +.\" +.Sh ASYMMETRIC-KEY OPERATION +.Ss Asymmetric-key algorithms +Contingent upon hardware support, the following asymmetric +(public-key/private-key; or key-exchange subroutine) operations may +also be available: +.Pp +.Bl -column "CRK_DH_COMPUTE_KEY" "Input parameter" "Output parameter" -offset indent -compact +.It Em "Algorithm" Ta "Input parameter" Ta "Output parameter" +.It Em " " Ta "Count" Ta "Count" +.It Dv CRK_MOD_EXP Ta 3 Ta 1 +.It Dv CRK_MOD_EXP_CRT Ta 6 Ta 1 +.It Dv CRK_MOD_ADD Ta 3 Ta 1 +.It Dv CRK_MOD_ADDINV Ta 2 Ta 1 +.It Dv CRK_MOD_SUB Ta 3 Ta 1 +.It Dv CRK_MOD_MULT Ta 3 Ta 1 +.It Dv CRK_MOD_MULTINV Ta 2 Ta 1 +.It Dv CRK_MOD Ta 2 Ta 1 +.It Dv CRK_DSA_SIGN Ta 5 Ta 2 +.It Dv CRK_DSA_VERIFY Ta 7 Ta 0 +.It Dv CRK_DH_COMPUTE_KEY Ta 3 Ta 1 +.El +.Pp +See below for discussion of the input and output parameter counts. +.Ss Asymmetric-key commands +.Bl -tag -width CIOCKEY +.It Dv CIOCASYMFEAT Fa int *feature_mask +Returns a bitmask of supported asymmetric-key operations. +Each of the above-listed asymmetric operations is present +if and only if the bit position numbered by the code for that operation +is set. +For example, +.Dv CRK_MOD_EXP +is available if and only if the bit +.Pq 1 << Dv CRK_MOD_EXP +is set. +.It Dv CIOCKEY Fa struct crypt_kop *kop +.Bd -literal +struct crypt_kop { + u_int crk_op; /* e.g. CRK_MOD_EXP */ + u_int crk_status; /* return status */ + u_short crk_iparams; /* # of input params */ + u_short crk_oparams; /* # of output params */ + u_int crk_pad1; + struct crparam crk_param[CRK_MAXPARAM]; +}; + +/* Bignum parameter, in packed bytes. */ +struct crparam { + void * crp_p; + u_int crp_nbits; +}; + +.Ed +Performs an asymmetric-key operation from the list above. +The specific operation is supplied in +.Fa kop->crk_op ; +final status for the operation is returned in +.Fa kop->crk_status . +The number of input arguments and the number of output arguments +is specified in +.Fa kop->crk_iparams +and +.Fa kop->crk_iparams , +respectively. +The field +.Fa crk_param[] +must be filled in with exactly +.Fa kop->crk_iparams + kop->crk_oparams +arguments, each encoded as a +.Fa struct crparam +(address, bitlength) pair. +.Pp +The semantics of these arguments are currently undocumented. +.It Dv CIOCNFKEYM Fa struct crypt_mkop *mkop +.Bd -literal +struct crypt_mkop { + size_t count; /* how many */ + struct crypt_n_op * reqs; /* where to get them */ +}; + +struct crypt_n_kop { + u_int crk_op; /* e.g. CRK_MOD_EXP */ + u_int crk_status; /* accepted or not */ + u_short crk_iparams; /* # of input params */ + u_short crk_oparams; /* # of output params */ + u_int32_t crk_reqid; /* request id */ + struct crparam crk_param[CRK_MAXPARAM]; + void *crk_opaque; /* opaque pointer ret to user */ +}; + +.Ed +This is the asynchronous version of +.Dv CIOCKEY , +which starts one or more key operations. +See +.Dv CIOCNCRYPTM +above and +.Dv CIOCNCRYPTRETM +below +for descriptions of the +.Fa mkop>count , +.Fa mkop>reqs , +.Fa mkop>reqs[n].crk_reqid , +.Fa mkop>reqs[n].crk_status , +and +.Fa mkop>reqs[n].crk_opaque +fields of the argument structure, and result retrieval. +.El +.Ss Asynchronous status commands +When requests are submitted with the +.Dv CIOCNCRYPTM +or +.Dv CIOCNFKEYM +commands, result retrieval is asynchronous +(the submit ioctls return immediately). +Use the +.Xr select 2 +or +.Xr poll 2 +functions to determine when the file descriptor has completed operations ready +to be retrieved. +.Bl -tag -width CIOCKEY +.It Dv CIOCNCRYPTRET Fa struct crypt_result *cres +.Bd -literal +struct crypt_result { + u_int32_t reqid; /* request ID */ + u_int32_t status; /* 0 if successful */ + void * opaque; /* pointer from user */ +}; + +.Ed +Check for the status of the request specified by +.Fa cres->reqid . +This requires a linear search through all completed requests and should +be used with extreme care if the number of requests pending on this +file descriptor may be large. +.Pp +The +.Fa cres->status +field is set as follows: +.Bl -tag -width EINPROGRESS +.It 0 +The request has completed, and its results have been copied out to +the original +.Fa crypt_n_op or +.Fa crypt_n_kop +structure used to start the request. +The copyout occurs during this ioctl, +so the calling process must be the process that started the request. +.It EINPROGRESS +The request has not yet completed. +.It EINVAL +The request was not found. +.El +.Pp +Other values indicate a problem during the processing of the request. +.It Dv CIOCNCRYPTRETM Fa struct cryptret_t *cret +.Bd -literal +struct cryptret { + size_t count; /* space for how many */ + struct crypt_result * results; /* where to put them */ +}; + +.Ed +Retrieve a number of completed requests. +This ioctl accepts a count and +an array (each array element is a +.Fa crypt_result_t +structure as used by +.Dv CIOCNCRYPTRET +above) and fills the array with up to +.Fa cret->count +results of completed requests. +.Pp +This ioctl fills in the +.Fa cret->results[n].reqid field , +so that the request which has completed +may be identified by the application. +Note that the results may include +requests submitted both as symmetric and asymmetric operations. +.El +.Sh SEE ALSO +.Xr hifn 4 , +.Xr ubsec 4 , +.Xr opencrypto 9 +.Sh HISTORY +The +.Nm +driver is derived from a version which appeared in +.Fx 4.8 , +which in turn is based on code which appeared in +.Ox 3.2 . +.Pp +The "new API" for asynchronous operation with multiple basic operations +per system call (the "N" ioctl variants) was contributed by Coyote Point +Systems, Inc. and first appeared in +.Nx 5.0 . +.Sh BUGS +Error checking and reporting is weak. +.Pp +The values specified for symmetric-key key sizes to +.Dv CIOCGSESSION +must exactly match the values expected by +.Xr opencrypto 9 . +The output buffer and MAC buffers supplied to +.Dv CIOCCRYPT +must follow whether privacy or integrity algorithms were specified for +session: if you request a +.No non- Ns Dv NULL +algorithm, you must supply a suitably-sized buffer. +.Pp +The scheme for passing arguments for asymmetric requests is baroque. +.Pp +The naming inconsistency between +.Dv CRIOGET +and the various +.Dv CIOC Ns \&* +names is an unfortunate historical artifact. diff --git a/static/netbsd/man4/cs.4 b/static/netbsd/man4/cs.4 new file mode 100644 index 00000000..5d9eef30 --- /dev/null +++ b/static/netbsd/man4/cs.4 @@ -0,0 +1,66 @@ +.\" $NetBSD: cs.4,v 1.9 2024/09/07 20:33:53 rillig Exp $ +.\" +.\" Copyright (c) 1999 The NetBSD Foundation, Inc. +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 4, 1999 +.Dt CS 4 +.Os +.Sh NAME +.Nm cs +.Nd +.Tn Cirrus Logic +Crystal CS89x0 +.Tn Ethernet driver +.Sh SYNOPSIS +.Cd "cs0 at isa? port 0x300 iomem ? irq ? drq ?" +.Cd "cs* at ofisa?" +.Cd "cs* at isapnp?" +.Cd "cs* at pcmcia? function ?" +.Cd "cs0 at mainbus0" +(PM/PPC port) +.Sh DESCRIPTION +The +.Nm +driver supports +.Tn Ethernet +interfaces based on the Cirrus Logic Crystal CS8900, 8920 and 8920M +.Tn ISA +bus +.Tn Ethernet +controllers. +.Sh SEE ALSO +.Xr ifmedia 4 , +.Xr intro 4 , +.Xr isa 4 , +.Xr ofisa 4 , +.Xr ifconfig 8 +.Pp +.Lk https://www.cirrus.com/ "Cirrus Logic" +.Sh HISTORY +The +.Nm +driver +appeared in +.Nx 1.4 . diff --git a/static/netbsd/man4/cs80bus.4 b/static/netbsd/man4/cs80bus.4 new file mode 100644 index 00000000..3f131c38 --- /dev/null +++ b/static/netbsd/man4/cs80bus.4 @@ -0,0 +1,54 @@ +.\" $NetBSD: cs80bus.4,v 1.4 2008/04/30 13:10:53 martin Exp $ +.\" +.\" Copyright (c) 2003 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Gregory McGarry. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd May 24, 2003 +.Dt CS80BUS 4 +.Os +.Sh NAME +.Nm cs80bus +.Nd support for CS80/SS80 on the IEEE488 GPIB +.Sh SYNOPSIS +.Cd "cs80bus* at gpib?" +.Sh DESCRIPTION +The +.Nm +driver supports devices on the IEEE488 GPIB which communicate +using the CS80/SS80 protocol. +These device are primarily block devices such as tapes +and disks drives commonly found on HP/Agilent equipment. +.Sh SEE ALSO +.Xr ct 4 , +.Xr gpib 4 , +.Xr mt 4 , +.Xr rd 4 +.Sh HISTORY +The +.Nm +driver appeared in +.Nx 2.0 . diff --git a/static/netbsd/man4/cuda.4 b/static/netbsd/man4/cuda.4 new file mode 100644 index 00000000..ffe5e01e --- /dev/null +++ b/static/netbsd/man4/cuda.4 @@ -0,0 +1,51 @@ +.\" $NetBSD: cuda.4,v 1.5 2010/02/25 17:08:01 wiz Exp $ +.\" +.\" Copyright (c) 2007 +.\" Michael Lorenz. 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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. +.\" +.Dd May 14, 2007 +.Dt CUDA 4 +.Os +.Sh NAME +.Nm cuda +.Nd support for CUDA microcontrollers found in many Power Macintosh and +compatible computers +.Sh SYNOPSIS +.Cd "cuda* at obio?" +.Cd "nadb* at cuda?" +.Cd "iic* at cuda?" +.Sh DESCRIPTION +The +.Nm +driver provides support for the CUDA microcontroller found in many Power +Macintosh and compatible computers, mostly Old World desktop machines. +CUDA controls the real time clock, ADB, power and on some machines an +.Xr iic 9 +bus. +.Sh SEE ALSO +.Xr iic 4 , +.Xr nadb 4 , +.Xr obio 4 , +.Xr pmu 4 , +.Xr sgsmix 4 diff --git a/static/netbsd/man4/cue.4 b/static/netbsd/man4/cue.4 new file mode 100644 index 00000000..e8e23a3e --- /dev/null +++ b/static/netbsd/man4/cue.4 @@ -0,0 +1,93 @@ +.\" $NetBSD: cue.4,v 1.11 2019/08/30 09:24:19 wiz Exp $ +.\" +.\" Copyright (c) 1997, 1998, 1999, 2000 +.\" Bill Paul . 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 Bill Paul. +.\" 4. Neither the name of the author nor the names of any co-contributors +.\" may be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY Bill Paul 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 Bill Paul OR THE VOICES IN HIS HEAD +.\" 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. +.\" +.\" FreeBSD: src/share/man/man4/cue.4,v 1.1 2000/01/14 03:14:47 wpaul Exp +.\" +.Dd August 24, 2019 +.Dt CUE 4 +.Os +.Sh NAME +.Nm cue +.Nd CATC USB-EL1201A USB Ethernet driver +.Sh SYNOPSIS +.Cd "cue* at uhub?" +.Sh HARDWARE +The +.Nm +driver supports the following adapters: +.Pp +.Bl -tag -width Dv -offset indent -compact +.It Tn Belkin F5U111 +.It Tn CATC Netmate +.It Tn CATC Netmate II +.El +.Sh DESCRIPTION +The +.Nm +driver provides support for USB +.Tn Ethernet +adapters based on the Computer Access Technology Corporation's USB-EL1202A +chipset. +.Pp +The USB-EL1202A supports a 512-bit multicast hash filter, single perfect +filter entry for the station address and promiscuous mode. +Packets are +received and transmitted over separate USB bulk transfer endpoints. +.Pp +The CATC adapter supports only 10Mbps half-duplex mode, hence there are no +.Xr ifmedia 4 +modes to select. +.Pp +For more information on configuring this device, see +.Xr ifconfig 8 . +.Sh DIAGNOSTICS +See +.Xr usbnet 4 +for diagnostics. +.Sh SEE ALSO +.Xr arp 4 , +.Xr netintro 4 , +.Xr usb 4 , +.Xr usbnet 4 , +.Xr ifconfig 8 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 4.0 , +and in +.Nx 1.5 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Bill Paul Aq Mt wpaul@ee.columbia.edu . diff --git a/static/netbsd/man4/cxdtv.4 b/static/netbsd/man4/cxdtv.4 new file mode 100644 index 00000000..aa29012c --- /dev/null +++ b/static/netbsd/man4/cxdtv.4 @@ -0,0 +1,72 @@ +.\" $NetBSD: cxdtv.4,v 1.3 2011/08/13 22:22:00 wiz Exp $ +.\" +.\" Copyright (c) 2011 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Thomas Klausner. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd August 13, 2011 +.Dt CXDTV 4 +.Os +.Sh NAME +.Nm cxdtv +.Nd digital video driver for Conexant CX2388x based cards +.Sh SYNOPSIS +.Cd "cxdtv* at pci? dev ? function ?" +.Sh DESCRIPTION +The +.Nm +driver provides support for digital video cards based on the +Conexant CX23881, CX23882, CX23883, and CX23884 multimedia bridges. +.Pp +Supported cards include: +.Bl -bullet -offset indent +.It +ATI HDTV Wonder (digital-only) +.It +pcHDTV HD5500 +.El +.Sh SEE ALSO +.Xr dtv 4 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Nx 6.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Jonathan A. Kollasch +.Aq jakllsch@NetBSD.org +and +.An Jared D. McNeill +.Aq jmcneill@NetBSD.org . +.Sh BUGS +The +.Nm +driver lacks support for analog video capture, analog audio capture, +FM tuning, and the IR receiver. diff --git a/static/netbsd/man4/cy.4 b/static/netbsd/man4/cy.4 new file mode 100644 index 00000000..d1eec516 --- /dev/null +++ b/static/netbsd/man4/cy.4 @@ -0,0 +1,91 @@ +.\" $NetBSD: cy.4,v 1.8 2001/09/12 18:19:17 wiz Exp $ +.\" +.\" Copyright (c) 1997 Jason R. Thorpe. All rights reserved. +.\" Copyright (c) 1993 Andrew Herbert. +.\" 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. The name Andrew Herbert 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. +.\" +.Dd November 10, 1997 +.Dt CY 4 +.Os +.Sh NAME +.Nm cy +.Nd +Cyclades Cyclom-{4, 8, 16, 32}Y asynchronous comms board serial device driver +.Sh SYNOPSIS +.Cd "cy0 at isa? iomem 0xd4000 irq 12" +.Cd "cy* at pci? dev ? function ?" +.Sh DESCRIPTION +This driver provides an interface to Cyclades Cyclom-4Y, Cyclom-8Y, +Cyclom-16Y, and Cyclom-32Y asynchronous multiport serial boards. These +boards are based around Cirrus Logic CD1400 communication controllers. +.Pp +The device minor numbers for this driver are encoded as follows: +.Pp +.Bd -literal + d c c p p p p p - bits in the minor device number + + bits meaning + ---- ------- + ppppp physical serial line (i.e. port) to use: + 0-3 on Cyclom-4Y + 0-7 on Cyclom-8Y + 0-15 on Cyclom-16Y + 0-31 on Cyclom-32Y + + cc card unit number; note this limits the driver to + four cards per system + + d set to use as a dial-out line +.Ed +.Sh FLOW CONTROL +The +.Nm +driver makes use of the CD1400's automatic CTS flow control. In addition, +the CD1400's automatic input flow control can be used. This requires the +kernel configuration option +.Em CY_HW_RTS +and a special cable that exchanges the RTS and DTR lines. +.Sh DIAGNOSTICS +.Bl -diag +.It "cy%d: port %d: can't allocate tty" +There is not enough memory to allocate tty data structures. +.It "cy%d: can't allocate input buffer" +There is not enough memory to allocate the data input buffer. +.El +.Pp +Additional debugging output can be enable with the kernel configuration +option +.Em CY_DEBUG . +Diagnostic counters may be enabled with the kernel configuration option +.Em CY_DEBUG1 . +.Sh SEE ALSO +.Xr termios 4 , +.Xr tty 4 +.Sh AUTHORS +The +.Nm +driver was written by Timmo Rossi. +.Sh BUGS +Support for the Cyclom-32Y has not been tested. diff --git a/static/netbsd/man4/cypide.4 b/static/netbsd/man4/cypide.4 new file mode 100644 index 00000000..9a9887f2 --- /dev/null +++ b/static/netbsd/man4/cypide.4 @@ -0,0 +1,58 @@ +.\" $NetBSD: cypide.4,v 1.3 2009/10/19 18:41:08 bouyer Exp $ +.\" +.\" Copyright (c) 2003 Manuel Bouyer. +.\" +.\" 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. +.\" +.\" 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. +.\" +.Dd October 8, 2003 +.Dt CYPIDE 4 +.Os +.Sh NAME +.Nm cypide +.Nd Cypress IDE disk controllers driver +.Sh SYNOPSIS +.Cd "cypide* at pci? dev ? function ? flags 0x0000" +.Sh DESCRIPTION +The +.Nm +driver supports the Cypress 82C693 IDE controllers, and provides the +interface with the hardware for the +.Xr ata 4 +driver. +.Pp +The 0x0002 flag forces the +.Nm +driver to disable DMA on chipsets for which DMA would normally be +enabled. +This can be used as a debugging aid, or to work around +problems where the IDE controller is wired up to the system incorrectly. +.Sh SEE ALSO +.Xr ata 4 , +.Xr atapi 4 , +.Xr intro 4 , +.Xr pci 4 , +.Xr pciide 4 , +.Xr wd 4 , +.Xr wdc 4 +.Sh BUGS +The timings used for the PIO and DMA modes for controllers listed above +are for a PCI bus running at 30 or 33 MHz. +This driver may not work properly on overclocked systems. diff --git a/static/netbsd/man4/cz.4 b/static/netbsd/man4/cz.4 new file mode 100644 index 00000000..59b6c4fe --- /dev/null +++ b/static/netbsd/man4/cz.4 @@ -0,0 +1,128 @@ +.\" $NetBSD: cz.4,v 1.7 2014/03/18 18:20:39 riastradh Exp $ +.\" +.\" Copyright (c) 2000 Zembu Labs, Inc. +.\" All rights reserved. +.\" +.\" Author: Jason R. Thorpe +.\" +.\" 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 Zembu Labs, Inc. +.\" 4. Neither the name of Zembu Labs nor the names of its employees may +.\" be used to endorse or promote products derived from this software +.\" without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY ZEMBU LABS, INC. ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR- +.\" RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DIS- +.\" CLAIMED. IN NO EVENT SHALL ZEMBU LABS 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. +.\" +.Dd May 17, 2000 +.Dt CZ 4 +.Os +.Sh NAME +.Nm cz +.Nd Cyclades-Z series multi-port serial adapter device driver +.Sh SYNOPSIS +.Cd "cz* at pci? dev ? function ?" +.Sh DESCRIPTION +The +.Nm +device driver supports the Cyclades-Z series of multi-port serial adapters. +The Cyclades-Z is an intelligent serial controller comprising: +.Bl -bullet -offset indent +.It +PLX9060ES PCI bus interface +.It +Xilinx XC5204 FPGA +.It +IDT R3052 MIPS CPU +.El +.Pp +The MIPS CPU runs firmware provided by the device driver. Communication +with the MIPS is performed by modifying data structures located in board +local RAM or host RAM. +.Pp +The Cyclades-Z comes in three basic flavors: +.Bl -bullet -offset indent +.It +Cyclades-8Zo rev. 1 -- This is an older 8-port board with no FPGA. The +serial ports are provided by an octopus cable. +.It +Cyclades-8Zo rev. 2 -- This is the newer 8-port board. The serial ports +are provided by an octopus cable. +.It +Cyclades-Ze -- This is the expandable version of the Cyclades-Z. It uses +an HD-50 SCSI cable to connect the board to a 1U rack mountable serial +expansion box. Each box has 16 RJ45 serial ports, and up to 4 boxes may +be chained together, for a total of 64 ports. Boxes 3 and 4 require their +own external power supply, otherwise the firmware will refuse to start +(as it cannot communicate with the UARTs in those boxes). +.El +.Pp +The Cyclades-Z has several features to improve performance under +high serial I/O load: +.Bl -bullet -offset indent +.It +The board may operate in interrupt-driven mode or polled mode to reduce +interrupt load. +.It +Each channel has a large input and output buffer. +.It +Each channel may be programmed to generate an interrupt based on +reception of a specific character, e.g. a PPP End-Of-Frame character. +.It +The MIPS CPU on the board performs all flow-control handling. +.El +.Sh FILES +.Bl -tag -width Pa -compact +.It Pa /dev/ttyCZnnnn -- dial-in (normal) TTY device +.It Pa /dev/dtyCZnnnn -- dial-out TTY device +.El +.\" .Sh DIAGNOSTICS +.\" XXX too be done. +.Sh SEE ALSO +.Xr pci 4 , +.Xr termios 4 , +.Xr tty 4 +.Sh HISTORY +The +.Nm +driver first appeared in +.Nx 1.5 . +.Sh AUTHORS +The +.Nm +driver was written by +.An Jason R. Thorpe Aq Mt thorpej@zembu.com +and +.An Bill Studenmund Aq Mt wrstuden@zembu.com +of Zembu Labs, Inc. +.Sh BUGS +The +.Nm +driver does not currently implement communication via host RAM. While +this may improve performance by reducing the number of PCI memory +space read/write cycles, it is not straightforward to implement with +the current +.Xr bus_dma 9 +API. +.Pp +Interrupt mode has not been tested. +.Pp +There is no support for reading or writing the EEPROM connected to +the PLX PCI bus controller. diff --git a/static/netbsd/man4/dbcool.4 b/static/netbsd/man4/dbcool.4 new file mode 100644 index 00000000..51acdda7 --- /dev/null +++ b/static/netbsd/man4/dbcool.4 @@ -0,0 +1,264 @@ +.\" $NetBSD: dbcool.4,v 1.11 2016/06/09 22:05:38 abhinav Exp $ +.\" +.\" Copyright (c) 2008 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Paul Goyette. +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.Dd June 10, 2016 +.Dt DBCOOL 4 +.Os +.Sh NAME +.Nm dbcool , +.Nm adm1027 , +.Nm adm1030 , +.Nm adm1031 , +.Nm adt7463 , +.Nm adt7466 , +.Nm adt7467 , +.Nm adt7468 , +.Nm adt7473 , +.Nm adt7475 , +.Nm adt7476 , +.Nm adt7490 , +.Nm emc6d103s +.Nd dbCool(tm) family of environmental monitors and fan controllers +.Sh SYNOPSIS +.Cd "dbcool* at ki2c?" +.Cd "dbcool* at iic? addr 0x2e" +.Sh DESCRIPTION +The +.Nm +driver provides support for the +.Tn Analog Devices +dbCool and the +.Tn SMSC +EMC6D103S environmental monitor chips to be used with the +.Xr envsys 4 +API. +.Pp +These chips support up to fifteen sensors. +Not all of the following sensors are supported on all chips. +.Bl -column "Sensor" "Units" "Typical" -offset indent +.It Sy "Sensor" Ta Sy "Units" Ta Sy "Typical Use" +.It Li "l_temp" Ta "uK" Ta "local chip temperature" +.It Li "r1_temp" Ta "uK" Ta "CPU temperature" +.It Li "r2_temp" Ta "uK" Ta "GPU temperature" +.It Li "Vccp" Ta "uV DC" Ta "CPU Vcore" +.It Li "Vcc" Ta "uV DC" Ta "Chip's supply voltage" +.It Li "2.5V" Ta "uV DC" Ta "2.5V supply" +.It Li "5V" Ta "uV DC" Ta "5V supply" +.It Li "12V" Ta "uV DC" Ta "12V supply" +.It Li "Vtt" Ta "uV DC" Ta "PECI ref. voltage (2.25V ref, ADT7490 only)" +.It Li "Imon" Ta "uV DC" Ta "Current monitor (2.25V ref, ADT7490 only)" +.It Li "AIN1" Ta "uV DC" Ta "Analog In (2.25V ref, ADT7466 only)" +.It Li "AIN2" Ta "uV DC" Ta "Analog In (2.25V ref, ADT7466 only)" +.It Li "fan1" Ta "RPM" Ta "Chassis Fan" +.It Li "fan2" Ta "RPM" Ta "Chassis Fan" +.It Li "fan3" Ta "RPM" Ta "Chassis Fan" +.It Li "fan4" Ta "RPM" Ta "Chassis Fan" +.It Li "VID" Ta "(none)" Ta "CPU VID code (selected chips only)" +.El +.Pp +Each temperature and voltage sensor has programmable hardware +high- and low-limits; fan sensors have only a low-limit. +These limits can be set using the +.Xr envstat 8 +utility. +Due to hardware limitations, the minimum permissible value for the fan +speed low-limits is 83 RPM. +.Pp +Temperature sensors also have +.Em Tmin , +.Em Trange , +.Em Thyst , +and +.Em Ttherm +.Xr sysctl 8 +variables; these values are used by the fan speed controllers. +Their values are in units of degC, since this is the unit which is +programmed into the device registers. +.Pp +All members of the dbCool family support Pulse-Width Modulated (PWM) +fan speed control based on temperature thresholds - the fan will spin up +when its associated thermal sensor(s) exceeds its configured +.Em Tmin +value. +The fan will go faster as the temperature rises, and will slow down +as the temperature falls. +If the temperature exceeds the sensor's +.Em Ttherm +value, the THERM signal will be asserted, and if enabled the fan will +run at full speed. +The fan will be turned off when the sensor(s) that triggered it +reports a temperature which is at least +.Em Thyst +degrees below its +.Em Tmin +threshold. +.Pp +Each fan controller is programmable using the following +.Xr sysctl 8 +variables. +.Bd -literal -offset indent +hw.dbcool0.fan_ctl_0.behavior +hw.dbcool0.fan_ctl_0.min_duty +hw.dbcool0.fan_ctl_0.max_duty +hw.dbcool0.fan_ctl_0.cur_duty +.Ed +.Pp +The +.Em behavior +variable controls the selection of temperature sensors associated with +the fan controller. +When the associated temperature sensor reaches its +.Em Tmin +value, the fan controller starts the fan at its minimum duty cycle; +when the associated temperature sensor reaches its +.Em Ttherm +value and asserts the THERM signal (or if an external THERM signal is +asserted), the fan controller sets the fan speed to a 100% duty cycle. +Between these two settings, each temperature sensor is used to calculate +a duty cycle linearly based on the slope defined by the temperature sensor's +.Em range +variable. +When the associated temperature falls at least +.Em Thyst +degrees below its +.Em Tmin +value, the fan controller will turn off the fan. +(On the ADM1030, the +value for +.Em Thyst +is fixed at 5 degC.) +.Pp +Valid values for the +.Em behavior +variable are: +.Bd -literal -offset indent +local (not available on ADM1030) +remote1 +remote2 (not available on ADM1030) +local+remote2 (not available on ADM1030) +all-temps +full-speed (not available on ADM1030) +manual +disabled +.Ed +.Pp +When the +.Em behavior +variable is set to +.Dq manual , +the +.Em cur-duty +variable becomes user-writable and can be set to any value between 0 and +100 inclusive to control the fan's duty cycle manually. +In all other +.Em behavior +modes, the +.Em cur-duty +variable is read-only and updates are ignored. +.Pp +The +.Em min-duty +and +.Em max-duty +variables define the range over which the fan controller will manage the +fan's duty cycle. +On the ADM1030, these values are not separately controllable. +The +.Em max-duty +is fixed at 100%, and the +.Em cur-duty +variable is used to specify the minimum duty cycle when the fan +controller is running in automatic mode. +.Pp +Note that the duty-cycle value does not directly correspond to the fan's +speed. +That is, a 33% duty cycle does not mean that the fan runs at 33% +of its maximum speed; in actuality, a 33% duty cycle drives the +fan at a speed close to 50% of its maximum. +Fan speed correlates approximately to the square root of the duty +cycle. +.Sh EXAMPLES +The +.Xr envstat 8 +utility can be used to determine the sensors supported: +.Bd -literal -offset indent + Current CritMax WarnMax WarnMin CritMin Unit + l_temp: 44.250 degC +r1_temp: 41.250 degC +r2_temp: N/A + Vccp: 0.002 V + Vcc: 3.351 V + fan1: N/A + fan2: N/A + fan3: N/A + fan4: N/A +.Ed +.Pp +Using this information, the following commands in +.Pa /etc/envsys.conf +will set appropriate limits for CPU temperature and chip supply +voltage, and powerd will be notified if the limits are exceeded: +.Bd -literal -offset indent +dbcool0 { + sensor1 { + warning-max = 60C; + critical-max = 65C; + } + sensor4 { + critical-min = 3.1; + warning-min = 3.2; + critical-max = 3.5; + } +} +.Ed +.Sh SEE ALSO +.Xr envsys 4 , +.Xr iic 4 , +.Xr envstat 8 , +.Xr powerd 8 , +.Xr sysctl 8 +.Sh HISTORY +The +.Nm +device appeared in +.Nx 5.0 . +.Sh BUGS +Although the sensor limit registers can be programmed, there is currently +no use of the dbCool chips' ability to generate an SMBus interrupt when the +limits are exceeded. +Limit checking and event generation are done in software, and are performed +only when the sensor values are polled and refreshed. +.Pp +The ADT7466 chip, although officially a member of the dbCool family, is +programmed quite differently. +The fan controllers on this chip are not currently implemented. +.Pp +The PECI (Processor Environment Control Interface) temperature sensors +and the associated PWM behavior modes on the ADT7490 are not currently +supported. diff --git a/static/netbsd/man4/ddb.4 b/static/netbsd/man4/ddb.4 new file mode 100644 index 00000000..d88f2aeb --- /dev/null +++ b/static/netbsd/man4/ddb.4 @@ -0,0 +1,1739 @@ +.\" $NetBSD: ddb.4,v 1.206 2026/03/21 16:44:03 uwe Exp $ +.\" +.\" Copyright (c) 1997 - 2019 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Luke Mewburn +.\" +.\" 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. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. 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 FOUNDATION 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. +.\" +.\" --- +.\" This manual page was derived from a -man.old document which bore +.\" the following copyright message: +.\" --- +.\" +.\" Mach Operating System +.\" Copyright (c) 1991,1990 Carnegie Mellon University +.\" All Rights Reserved. +.\" +.\" Permission to use, copy, modify and distribute this software and its +.\" documentation is hereby granted, provided that both the copyright +.\" notice and this permission notice appear in all copies of the +.\" software, derivative works or modified versions, and any portions +.\" thereof, and that both notices appear in supporting documentation. +.\" +.\" CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" +.\" CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR +.\" ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. +.\" +.\" Carnegie Mellon requests users of this software to return to +.\" +.\" Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU +.\" School of Computer Science +.\" Carnegie Mellon University +.\" Pittsburgh PA 15213-3890 +.\" +.\" any improvements or extensions that they make and grant Carnegie Mellon +.\" the rights to redistribute these changes. +.\" +.Dd March 15, 2026 +.Dt DDB 4 +.Os +.Sh NAME +.Nm ddb +.Nd in-kernel debugger +.Sh SYNOPSIS +.Cd options DDB +.Pp +To enable history editing: +.Cd options DDB_HISTORY_SIZE=integer +.Pp +To disable entering +.\" XXX: hack; .Nm automatically introduces newline in SYNOPSIS +.Ic ddb +upon kernel panic: +.Cd options DDB_ONPANIC=0 +.Pp +To enable teeing all +.\" XXX: hack; .Nm automatically introduces newline in SYNOPSIS +.Ic ddb +output to the kernel msgbuf: +.Cd options DDB_TEE_MSGBUF=1 +.Pp +To specify commands which will be executed on each entry to +.Ic ddb : +.Cd options DDB_COMMANDONENTER="trace;show registers" +In this case, "trace" and then "show registers" will be executed automatically. +.Pp +To enable extended online help: +.Cd options DDB_VERBOSE_HELP . +.Sh DESCRIPTION +.Nm +is the in-kernel debugger. +It may be entered at any time via a special key sequence, and +optionally may be invoked when the kernel panics. +.Sh ENTERING THE DEBUGGER +Unless +.Dv DDB_ONPANIC +is set to 0, +.Nm +will be activated whenever the kernel would otherwise panic. +.Pp +.Nm +may also be activated from the console. +In general, sending a break on a serial console will activate +.Nm . +There are also key sequences for each port that will activate +.Nm +from the keyboard: +.Bl -tag -offset indent -width "xen domU" -compact +.It alpha +-- on PC style keyboards. +.It amd64 +-- +.It "" + on serial console. +.It amiga +-- +.It atari +-- +.It evbarm +-- on PC style keyboards. +.It "" + on serial console. +.It "" +Some models: ++++++ +(five plus signs) on serial console. +.It hp300 +- +.It hpcarm +-- +.It hpcmips +-- +.It hpcsh +-- +.It hppa +-- on PC style keyboards. +.It "" ++++++ +(five plus signs) on PDC console +.It "" + on serial console. +.It i386 +-- +.It "" + on serial console. +.It mac68k +-, or the Interrupt switch. +.It macppc +Some models: +-