Floppy driver really only works on x86

Move the floppy driver to the x86 specific notes file.

Reviewed by: jhb, manu, jhibbits, emaste
Differential Revision: https://reviews.freebsd.org/D21208
This commit is contained in:
imp 2019-08-12 22:58:50 +00:00
parent c0702cb45a
commit 75e675195a
6 changed files with 25 additions and 33 deletions

View File

@ -15,7 +15,6 @@ nooptions MAXCPU # value is set in machine/param.h
# Devices in sys/conf/NOTES for which no such hardware exists on arm,
# or the drivers don't compile...
nodevice fdc
nodevice sym
nodevice ccr

View File

@ -205,9 +205,6 @@ options CAM_DEBUG_FLAGS=(CAM_DEBUG_INFO|CAM_DEBUG_PROBE|CAM_DEBUG_PERIPH)
# bring in camified MMC too
options MMCCAM
# No support for floppies on arm64
nodevice fdc
# arm64 doesn't support inb/outb, so disable chipset probing which needs it
nooptions PPC_PROBE_CHIPSET

View File

@ -1697,32 +1697,6 @@ hint.ata.1.at="isa"
hint.ata.1.port="0x170"
hint.ata.1.irq="15"
#
# Standard floppy disk controllers and floppy tapes, supports
# the Y-E DATA External FDD (PC Card)
#
device fdc
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
#
# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you
# gotta turn it actually on by setting the variable fd_debug with DDB,
# however.
options FDC_DEBUG
#
# Activate this line if you happen to have an Insight floppy tape.
# Probing them proved to be dangerous for people with floppy disks only,
# so it's "hidden" behind a flag:
#hint.fdc.0.flags="1"
# Specify floppy devices
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"
#
# uart: newbusified driver for serial interfaces. It consolidates the sio(4),
# sab(4) and zs(4) drivers.

View File

@ -76,7 +76,6 @@ nodevice bktr
nodevice ccr
nodevice cxgbe # XXX: builds on powerpc64 only.
nodevice cxgbev
nodevice fdc
nodevice mpr # no 64-bit atomics
nodevice mps # no 64-bit atomics
nodevice ppc

View File

@ -124,7 +124,6 @@ options SC_NO_SYSMOUSE
# Devices we don't want to deal with
nodevice bktr
nodevice fdc
nodevice ppc
nodevice snd_ad1816
nodevice snd_als4000
@ -155,7 +154,6 @@ nodevice snd_uaudio
#####################################################################
# Options we don't want to deal with
nooption FDC_DEBUG
nooption COMPAT_FREEBSD4
nooption SC_RENDER_DEBUG
nooption SC_DEBUG_LEVEL

View File

@ -78,3 +78,28 @@ device snake_saver
device star_saver
device warp_saver
#
# Standard floppy disk controllers and floppy tapes, supports
# the Y-E DATA External FDD (PC Card)
#
device fdc
hint.fdc.0.at="isa"
hint.fdc.0.port="0x3F0"
hint.fdc.0.irq="6"
hint.fdc.0.drq="2"
#
# FDC_DEBUG enables floppy debugging. Since the debug output is huge, you
# gotta turn it actually on by setting the variable fd_debug with DDB,
# however.
options FDC_DEBUG
#
# Activate this line if you happen to have an Insight floppy tape.
# Probing them proved to be dangerous for people with floppy disks only,
# so it's "hidden" behind a flag:
#hint.fdc.0.flags="1"
# Specify floppy devices
hint.fd.0.at="fdc0"
hint.fd.0.drive="0"
hint.fd.1.at="fdc0"
hint.fd.1.drive="1"