PREV UP NEXT The Ftape Installation and Usage Guide - Compiling ftape


5.3.1: FDC_OPT, setting up for your hardware

The most important makefile variable is FDC_OPT. However, you don't need to worry about it if you have connected your tape drive to the standard floppy controller.

If you have connected your tape drive to a controller of either of the following types

Secondary Floppy Controller

Including (but not limited to) Ditto Dash, Exabyte accelerator, CTC-2Mb, Iomega Ditto EZ


MOUNTAIN MACH-2
Colorado CMS FC-10/FC-20

or use one of the following floppy tape drives which connect to the parallel port

Colorado Trakker
Micro Solutions Backpack (i.e. Iomega Ditto)

then you need to uncomment the corresponding lines in the file [/usr/src/ftape-4.03/]MCONFIG and replace the default values for CONFIG_FDC_BASE, CONFIG_FDC_IRQ and CONFIG_FDC_DMA with the values your hardware uses.

Please refer to the manuals that came with your tape drive. Also, you may want to check which settings are used by the software that was shipped with your tape drive. Please try to use the hints given in the [/usr/src/ftape-4.03/]MCONFIG file.

Let's have a look at an example for specifying controller defaults in the `MCONFIG' file. Say you have an internal tape drive plugged into the standard FDC controller, and a Colorado Trakker drive which connects to the parallel port. Say you want to use `/dev/qft0' for the internal tape drive and `/dev/qft1' for the parallel port tape drive, then the corresponding sections of the `MCONFIG' file would have to look like follows, after you have edited the file:

[snip]
FDC_OPT :=
#
# For a standard floppy tape controller, uncomment the following line:
#
STD_DEV=0
FDC_OPT += -DCONFIG_FT_STD_FDC_$(STD_DEV)
#
[snip]
#
# For a HP Colorado Trakker parallel port drive, try
#
TRAKKER_DEV=1
FDC_OPT +=	-DCONFIG_FT_FDC_PARPORT_$(TRAKKER_DEV)=-1 \
                -DCONFIG_FT_FDC_DRIVER_$(TRAKKER_DEV)=\"trakker\"
#
[snip]

Here `[snip]' refers to several lines of text which would have been left alone in this example. So, STD_DEV and TRAKKER_DEV determine the device node to be used for the respective tape drive, `/dev/qft0' for the internal tape drive which is plugged into the standard controller, and `/dev/qft1' for the Colorado Trakker tape drive. Similar remarks hole for the other FDC_OPT settings in the file [/usr/src/ftape-4.03/]MCONFIG.

Note: Since version 3.02 of ftape there is also the possibility to configure the driver module load time respectively boot time of the system. That means, FDC_OPT only gives the default settings the driver uses. See Load time configuration.


ftape logo Use these buttons to jump to the top menu

TOP (previous node) TOP (parent node) TOP (next node) TOP (this node)