]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man7/bootparam.7
Wrapped source lines at sentence boundaries.
[thirdparty/man-pages.git] / man7 / bootparam.7
CommitLineData
fea681da
MK
1.\" Copyright (c) 1995,1997 Paul Gortmaker and Andries Brouwer
2.\"
3.\" This is free documentation; you can redistribute it and/or
4.\" modify it under the terms of the GNU General Public License as
5.\" published by the Free Software Foundation; either version 2 of
6.\" the License, or (at your option) any later version.
7.\"
8.\" The GNU General Public License's references to "object code"
9.\" and "executables" are to be interpreted as the output of any
10.\" document formatting or typesetting system, including
11.\" intermediate and printed output.
12.\"
13.\" This manual is distributed in the hope that it will be useful,
14.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16.\" GNU General Public License for more details.
17.\"
18.\" You should have received a copy of the GNU General Public
19.\" License along with this manual; if not, write to the Free
20.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
21.\" USA.
22.\"
23.\" This man page written 950814 by aeb, based on Paul Gortmaker's HOWTO
24.\" (dated v1.0.1, 15/08/95).
25.\" Major update, aeb, 970114.
26.\"
d9343c5c 27.TH BOOTPARAM 7 1995-01-14 "Linux" "Linux Programmer's Manual"
fea681da
MK
28.SH NAME
29bootparam \- Introduction to boot time parameters of the Linux kernel
30.SH DESCRIPTION
31The Linux kernel accepts certain `command line options' or `boot time
c13182ef
MK
32parameters' at the moment it is started.
33In general this is used to
fea681da
MK
34supply the kernel with information about hardware parameters that
35the kernel would not be able to determine on its own, or to avoid/override
36the values that the kernel would otherwise detect.
37
38When the kernel is booted directly by the BIOS (say from a floppy to
39which you copied a kernel using `cp zImage /dev/fd0'),
40you have no opportunity to specify any parameters.
41So, in order to take advantage of this possibility you have to
42use software that is able to pass parameters, like LILO or loadlin.
43For a few parameters one can also modify the kernel image itself,
44using rdev, see
45.BR rdev (8)
46for further details.
47
48The LILO program (LInux LOader) written by Werner Almesberger is the
c13182ef
MK
49most commonly used.
50It has the ability to boot various kernels, and
51stores the configuration information in a plain text file.
52(See
fea681da
MK
53.BR lilo (8)
54and
55.BR lilo.conf (5).)
56LILO can boot DOS, OS/2, Linux, FreeBSD, UnixWare, etc., and is quite flexible.
57
58The other commonly used Linux loader is `LoadLin' which is a DOS
59program that has the capability to launch a Linux kernel from the DOS
60prompt (with boot-args) assuming that certain resources are available.
61This is good for people that want to launch Linux from DOS.
62
63It is also very useful if you have certain hardware which relies on
c13182ef
MK
64the supplied DOS driver to put the hardware into a known state.
65A common example is `SoundBlaster Compatible' sound cards that require
fea681da 66the DOS driver to twiddle a few mystical registers to put the card
c13182ef
MK
67into a SB compatible mode.
68Booting DOS with the supplied driver, and
fea681da
MK
69then loading Linux from the DOS prompt with loadlin avoids the reset
70of the card that happens if one rebooted instead.
fea681da 71.SH "THE ARGUMENT LIST"
fea681da 72The kernel command line is parsed into a list of strings
c13182ef
MK
73(boot arguments) separated by spaces.
74Most of the boot args take the form of:
fea681da
MK
75.IP
76name[=value_1][,value_2]...[,value_10]
77.LP
78where `name' is a unique keyword that is used to identify what part of
79the kernel the associated values (if any) are to be given to.
80Note the limit of 10 is real, as the present code only handles 10 comma
c13182ef
MK
81separated parameters per keyword.
82(However, you can re-use the same
fea681da
MK
83keyword with up to an additional 10 parameters in unusually
84complicated situations, assuming the setup function supports it.)
85
c13182ef
MK
86Most of the sorting goes on in linux/init/main.c.
87First, the kernel
fea681da 88checks to see if the argument is any of the special arguments `root=',
c13182ef
MK
89`nfsroot=', `nfsaddrs=', `ro', `rw', `debug' or `init'.
90The meaning of these special arguments is described below.
fea681da
MK
91
92Then it walks a list of setup functions (contained in the bootsetups
93array) to see if the specified argument string (such as `foo') has
94been associated with a setup function (`foo_setup()') for a particular
c13182ef
MK
95device or part of the kernel.
96If you passed the kernel the line
fea681da 97foo=3,4,5,6 then the kernel would search the bootsetups array to see
c13182ef
MK
98if `foo' was registered.
99If it was, then it would call the setup
fea681da
MK
100function associated with `foo' (foo_setup()) and hand it the arguments
1013, 4, 5 and 6 as given on the kernel command line.
102
103Anything of the form `foo=bar' that is not accepted as a setup function
104as described above is then interpreted as an environment variable to
c13182ef
MK
105be set.
106A (useless?) example would be to use `TERM=vt100' as a boot
fea681da
MK
107argument.
108
109Any remaining arguments that were not picked up by the kernel and were
110not interpreted as environment variables are then passed onto process
c13182ef
MK
111one, which is usually the init program.
112The most common argument that
fea681da
MK
113is passed to the init process is the word `single' which instructs init
114to boot the computer in single user mode, and not launch all the usual
c13182ef
MK
115daemons.
116Check the manual page for the version of init installed on
fea681da 117your system to see what arguments it accepts.
fea681da 118.SH "GENERAL NON-DEVICE SPECIFIC BOOT ARGS"
fea681da 119.SS "`init=...'"
fea681da
MK
120This sets the initial command to be executed by the kernel.
121If this is not set, or cannot be found, the kernel will try
5ce89119
MK
122.IR /sbin/init ,
123then
fea681da
MK
124.IR /etc/init ,
125then
126.IR /bin/init ,
127then
fea681da
MK
128.IR /bin/sh
129and panic if all of this fails.
fea681da 130.SS "`nfsaddrs=...'"
fea681da
MK
131This sets the nfs boot address to the given string.
132This boot address is used in case of a net boot.
fea681da 133.SS "`nfsroot=...'"
c13182ef
MK
134This sets the nfs root name to the given string.
135If this string
fea681da 136does not begin with '/' or ',' or a digit, then it is prefixed by
c13182ef
MK
137`/tftpboot/'.
138This root name is used in case of a net boot.
fea681da 139.SS "`no387'"
fea681da
MK
140(Only when CONFIG_BUGi386 is defined.)
141Some i387 coprocessor chips have bugs that show up when used in 32 bit
c13182ef
MK
142protected mode.
143For example, some of the early ULSI-387 chips would
fea681da
MK
144cause solid lockups while performing floating point calculations.
145Using the `no387' boot arg causes Linux to ignore the maths
c13182ef
MK
146coprocessor even if you have one.
147Of course you must then have your
fea681da 148kernel compiled with math emulation support!
fea681da 149.SS "`no-hlt'"
fea681da
MK
150(Only when CONFIG_BUGi386 is defined.)
151Some of the early i486DX-100 chips have a problem with the `hlt'
152instruction, in that they can't reliably return to operating mode
c13182ef
MK
153after this instruction is used.
154Using the `no-hlt' instruction tells
fea681da 155Linux to just run an infinite loop when there is nothing else to do,
c13182ef
MK
156and to not halt the CPU.
157This allows people with these broken chips
fea681da 158to use Linux.
fea681da 159.SS "`root=...'"
fea681da 160This argument tells the kernel what device is to be used as the root
c13182ef
MK
161filesystem while booting.
162The default of this setting is determined
fea681da 163at compile time, and usually is the value of the root device of the
c13182ef
MK
164system that the kernel was built on.
165To override this value, and
fea681da
MK
166select the second floppy drive as the root device, one would
167use `root=/dev/fd1'. (The root device can also be set using
168.BR rdev (8).)
169
170The root device can be specified symbolically or numerically.
171A symbolic specification has the form /dev/XXYN, where XX designates
172the device type (`hd' for ST-506 compatible hard disk, with Y in
173`a'-`d'; `sd' for SCSI compatible disk, with Y in `a'-`e';
174`ad' for Atari ACSI disk, with Y in `a'-`e',
175`ez' for a Syquest EZ135 parallel port removable drive, with Y=`a',
176`xd' for XT compatible disk, with Y either `a' or `b'; `fd' for
4d9b6984 177floppy disk, with Y the floppy drive number \(em fd0 would be
fea681da
MK
178the DOS `A:' drive, and fd1 would be `B:'), Y the driver letter or
179number, and N the number (in decimal) of the partition on this device
c13182ef
MK
180(absent in the case of floppies).
181Recent kernels allow many other
fea681da
MK
182types, mostly for CD-ROMs: nfs, ram, scd, mcd, cdu535, aztcd, cm206cd,
183gscd, sbpcd, sonycd, bpcd.
184(The type nfs specifies a net boot; ram refers to a ram disk.)
185
186Note that this has nothing to do with the designation of these
c13182ef
MK
187devices on your file system.
188The `/dev/' part is purely conventional.
fea681da
MK
189
190The more awkward and less portable numeric specification of the above
c13182ef
MK
191possible root devices in major/minor format is also accepted.
192(E.g., /dev/sda3 is major 8, minor 3, so you could use `root=0x803' as an
fea681da 193alternative.)
fea681da 194.SS "`ro' and `rw'"
fea681da
MK
195The `ro' option tells the kernel to mount the root filesystem
196as `readonly' so that filesystem consistency check programs (fsck)
c13182ef
MK
197can do their work on a quiescent file system.
198No processes can
fea681da 199write to files on the filesystem in question until it is `remounted'
4d9b6984 200as read/write capable, e.g., by `mount \-w \-n \-o remount /'.
fea681da
MK
201(See also
202.BR mount (8).)
203
204The `rw' option tells the kernel to mount the root filesystem read/write.
205This is the default.
206
207The choice between read-only and read/write can also be set using
208.BR rdev (8).
fea681da 209.SS "`reserve=...'"
c13182ef
MK
210This is used to protect I/O port regions from probes.
211The form of the command is:
fea681da
MK
212.IP
213.BI reserve= iobase,extent[,iobase,extent]...
214.LP
215In some machines it may be necessary to prevent device drivers from
c13182ef
MK
216checking for devices (auto-probing) in a specific region.
217This may be
fea681da
MK
218because of hardware that reacts badly to the probing, or hardware
219that would be mistakenly identified, or merely
220hardware you don't want the kernel to initialize.
221
222The reserve boot-time argument specifies an I/O port region that
c13182ef
MK
223shouldn't be probed.
224A device driver will not probe a reserved region,
fea681da
MK
225unless another boot argument explicitly specifies that it do so.
226
227For example, the boot line
228.IP
229reserve=0x300,32 blah=0x300
230.LP
231keeps all device drivers except the driver for `blah' from probing
2320x300-0x31f.
fea681da 233.SS "`mem=...'"
fea681da
MK
234The BIOS call defined in the PC specification that returns
235the amount of installed memory was only designed to be able
c13182ef
MK
236to report up to 64MB.
237Linux uses this BIOS call at boot to
238determine how much memory is installed.
239If you have more than 64MB of
fea681da 240RAM installed, you can use this boot arg to tell Linux how much memory
c13182ef
MK
241you have.
242The value is in decimal or hexadecimal (prefix 0x),
fea681da
MK
243and the suffixes `k' (times 1024) or `M' (times 1048576) can be used.
244Here is a quote from Linus on usage of the `mem=' parameter.
245
246\&``The kernel will accept any `mem=xx' parameter you give it, and if it
247turns out that you lied to it, it will crash horribly sooner or later.
248The parameter indicates the highest addressable RAM address, so
c13182ef
MK
249\&`mem=0x1000000' means you have 16MB of memory, for example.
250For a 96MB machine this would be `mem=0x6000000'.
fea681da
MK
251
252NOTE NOTE NOTE: some machines might use the top of memory for BIOS
4f9d18f8 253caching or whatever, so you might not actually have up to the full
c13182ef
MK
25496MB addressable.
255The reverse is also true: some chipsets will map
fea681da
MK
256the physical memory that is covered by the BIOS area into the area
257just past the top of memory, so the top-of-mem might actually be 96MB
c13182ef
MK
258+ 384kB for example.
259If you tell linux that it has more memory than
fea681da
MK
260it actually does have, bad things will happen: maybe not at once, but
261surely eventually.''
262
441082ad 263You can also use the boot argument `mem=nopentium' to turn off 4 MB
eb1af896 264page tables on kernels configured for IA32 systems with a pentium or newer
441082ad 265CPU.
fea681da
MK
266.SS "`panic=N'"
267By default the kernel will not reboot after a panic, but this option
268will cause a kernel reboot after N seconds (if N > 0).
269This panic timeout can also be set by "echo N > /proc/sys/kernel/panic".
fea681da
MK
270.SS "`reboot=[warm|cold][,[bios|hard]]'"
271(Only when CONFIG_BUGi386 is defined.)
272Since 2.0.22 a reboot is by default a cold reboot.
273One asks for the old default with `reboot=warm'.
274(A cold reboot may be required to reset certain hardware,
275but might destroy not yet written data in a disk cache.
276A warm reboot may be faster.)
277By default a reboot is hard, by asking the keyboard controller
278to pulse the reset line low, but there is at least one type
c13182ef
MK
279of motherboard where that doesn't work.
280The option `reboot=bios' will
fea681da 281instead jump through the BIOS.
fea681da
MK
282.SS "`nosmp'" and "`maxcpus=N'"
283(Only when __SMP__ is defined.)
284A command-line option of `nosmp' or `maxcpus=0' will disable SMP
285activation entirely; an option `maxcpus=N' limits the maximum number
286of CPUs activated in SMP mode to N.
fea681da 287.SH "BOOT ARGUMENTS FOR USE BY KERNEL DEVELOPERS"
fea681da 288.SS "`debug'"
fea681da 289Kernel messages are handed off to the kernel log daemon klogd so that they
c13182ef
MK
290may be logged to disk.
291Messages with a priority above
fea681da 292.I console_loglevel
c13182ef
MK
293are also printed on the console.
294(For these levels, see <linux/kernel.h>.)
fea681da 295By default this variable is set to log anything more important than
c13182ef
MK
296debug messages.
297This boot argument will cause the kernel to also
fea681da
MK
298print the messages of DEBUG priority.
299The console loglevel can also be set at run time via an option
c13182ef
MK
300to klogd.
301See
fea681da 302.BR klogd (8).
fea681da 303.SS "`profile=N'"
fea681da
MK
304It is possible to enable a kernel profiling function,
305if one wishes to find out where the kernel is spending its CPU cycles.
306Profiling is enabled by setting the variable
307.I prof_shift
c13182ef
MK
308to a non-zero value.
309This is done either by specifying CONFIG_PROFILE at
fea681da
MK
310compile time, or by giving the `profile=' option.
311Now the value that
312.I prof_shift
313gets will be N, when given, or CONFIG_PROFILE_SHIFT, when that is given,
c13182ef
MK
314or 2, the default.
315The significance of this variable is that it
fea681da
MK
316gives the granularity of the profiling: each clock tick, if the
317system was executing kernel code, a counter is incremented:
318.IP
319profile[address >> prof_shift]++;
320.LP
321The raw profiling information can be read from
322.IR /proc/profile .
323Probably you'll want to use a tool such as readprofile.c to digest it.
324Writing to
325.I /proc/profile
326will clear the counters.
fea681da
MK
327.SS "`swap=N1,N2,N3,N4,N5,N6,N7,N8'"
328Set the eight parameters max_page_age, page_advance, page_decline,
329page_initial_age, age_cluster_fract, age_cluster_min, pageout_weight,
330bufferout_weight that control the kernel swap algorithm.
331For kernel tuners only.
fea681da
MK
332.SS "`buff=N1,N2,N3,N4,N5,N6'"
333Set the six parameters max_buff_age, buff_advance, buff_decline,
334buff_initial_age, bufferout_weight, buffermem_grace that control
c13182ef
MK
335kernel buffer memory management.
336For kernel tuners only.
fea681da
MK
337.SH "BOOT ARGUMENTS FOR RAMDISK USE"
338(Only if the kernel was compiled with CONFIG_BLK_DEV_RAM.)
8c383102 339In general it is a bad idea to use a ramdisk under Linux \(em
fea681da
MK
340the system will use available memory more efficiently itself.
341But while booting (or while constructing boot floppies)
342it is often useful to load the floppy contents into a
c13182ef
MK
343ramdisk.
344One might also have a system in which first
fea681da
MK
345some modules (for filesystem or hardware) must be loaded
346before the main disk can be accessed.
347
348In Linux 1.3.48, ramdisk handling was changed drastically.
349Earlier, the memory was allocated statically, and there was
c13182ef
MK
350a `ramdisk=N' parameter to tell its size.
351(This could also
fea681da
MK
352be set in the kernel image at compile time, or by use of
353.BR rdev (8).)
354These days ram disks use the buffer cache, and grow dynamically.
355For a lot of information (e.g., how to use
356.BR rdev (8)
357in conjunction with the new ramdisk setup), see
358.IR /usr/src/linux/Documentation/ramdisk.txt .
359
360There are four parameters, two boolean and two integral.
fea681da 361.SS "`load_ramdisk=N'"
c13182ef
MK
362If N=1, do load a ramdisk.
363If N=0, do not load a ramdisk.
fea681da 364(This is the default.)
fea681da 365.SS "`prompt_ramdisk=N'"
c13182ef
MK
366If N=1, do prompt for insertion of the floppy.
367(This is the default.)
368If N=0, do not prompt.
369(Thus, this parameter is never needed.)
c10859eb 370.SS "`ramdisk_size=N' or (obsolete) `ramdisk=N'"
c13182ef
MK
371Set the maximal size of the ramdisk(s) to N kB.
372The default is 4096 (4 MB).
fea681da
MK
373.SS "`ramdisk_start=N'"
374Sets the starting block number (the offset on the floppy where
375the ramdisk starts) to N.
376This is needed in case the ramdisk follows a kernel image.
fea681da
MK
377.SS "`noinitrd'"
378(Only if the kernel was compiled with CONFIG_BLK_DEV_RAM
379and CONFIG_BLK_DEV_INITRD.)
380These days it is possible to compile the kernel to use initrd.
381When this feature is enabled, the boot process will load the kernel
382and an initial ramdisk; then the kernel converts initrd into
383a "normal" ramdisk, which is mounted read-write as root device;
384then /linuxrc is executed; afterwards the "real" root file system is mounted,
385and the initrd filesystem is moved over to /initrd; finally
386the usual boot sequence (e.g. invocation of /sbin/init) is performed.
387
388For a detailed description of the initrd feature, see
389.IR /usr/src/linux/Documentation/initrd.txt .
390
391The `noinitrd' option tells the kernel that although it was compiled for
392operation with initrd, it should not go through the above steps, but
393leave the initrd data under
394.IR /dev/initrd .
4d9b6984 395(This device can be used only once: the data is freed as soon as
fea681da
MK
396the last process that used it has closed
397.IR /dev/initrd .)
fea681da 398.SH "BOOT ARGUMENTS FOR SCSI DEVICES"
fea681da
MK
399General notation for this section:
400
401.I iobase
c13182ef
MK
402-- the first I/O port that the SCSI host occupies.
403These are specified in hexadecimal notation,
404and usually lie in the range from 0x200 to 0x3ff.
fea681da
MK
405
406.I irq
407-- the hardware interrupt that the card is configured to use.
408Valid values will be dependent on the card in question, but will
c13182ef
MK
409usually be 5, 7, 9, 10, 11, 12, and 15.
410The other values are usually
fea681da
MK
411used for common peripherals like IDE hard disks, floppies, serial
412ports, etc.
413
414.I scsi-id
415-- the ID that the host adapter uses to identify itself on the
c13182ef
MK
416SCSI bus.
417Only some host adapters allow you to change this value, as
418most have it permanently specified internally.
419The usual default value
fea681da
MK
420is 7, but the Seagate and Future Domain TMC-950 boards use 6.
421
422.I parity
423-- whether the SCSI host adapter expects the attached devices
c13182ef
MK
424to supply a parity value with all information exchanges.
425Specifying a one indicates parity checking is enabled,
426and a zero disables parity checking.
427Again, not all adapters will support selection of parity
d9bfdb9c 428behavior as a boot argument.
fea681da 429.SS "`max_scsi_luns=...'"
fea681da 430A SCSI device can have a number of `sub-devices' contained within
c13182ef
MK
431itself.
432The most common example is one of the new SCSI CD-ROMs that
433handle more than one disk at a time.
434Each CD is addressed as a
435`Logical Unit Number' (LUN) of that particular device.
436But most
fea681da
MK
437devices, such as hard disks, tape drives and such are only one device,
438and will be assigned to LUN zero.
439
440Some poorly designed SCSI devices cannot handle being probed for
c13182ef
MK
441LUNs not equal to zero.
442Therefore, if the compile time flag
fea681da
MK
443CONFIG_SCSI_MULTI_LUN is not set, newer kernels will by default
444only probe LUN zero.
445
446To specify the number of probed LUNs at boot, one enters
447`max_scsi_luns=n' as a boot arg, where n is a number between one and
c13182ef
MK
448eight.
449To avoid problems as described above, one would use n=1 to
fea681da 450avoid upsetting such broken devices.
fea681da 451.SS "SCSI tape configuration"
fea681da
MK
452Some boot time configuration of the SCSI tape driver can be achieved
453by using the following:
454.IP
455.BI st= buf_size[,write_threshold[,max_bufs]]
456.LP
c13182ef
MK
457The first two numbers are specified in units of kB.
458The default
fea681da
MK
459.I buf_size
460is 32kB, and the maximum size that can be specified is a
c13182ef
MK
461ridiculous 16384kB.
462The
fea681da
MK
463.I write_threshold
464is the value at which the buffer is committed to tape, with a
c13182ef
MK
465default value of 30kB.
466The maximum number of buffers varies
fea681da
MK
467with the number of drives detected, and has a default of two.
468An example usage would be:
469.IP
470st=32,30,2
471.LP
472Full details can be found in the README.st file that is in the scsi
473directory of the kernel source tree.
fea681da 474.SS "Adaptec aha151x, aha152x, aic6260, aic6360, SB16-SCSI configuration"
fea681da
MK
475The aha numbers refer to cards and the aic numbers refer to the actual
476SCSI chip on these type of cards, including the Soundblaster-16 SCSI.
477
478The probe code for these SCSI hosts looks for an installed BIOS, and
c13182ef
MK
479if none is present, the probe will not find your card.
480Then you will
fea681da
MK
481have to use a boot arg of the form:
482.IP
483.BI aha152x= iobase[,irq[,scsi-id[,reconnect[,parity]]]]
484.LP
485If the driver was compiled with debugging enabled, a sixth
486value can be specified to set the debug level.
487
488All the parameters are as described at the top of this section, and the
489.I reconnect
490value will allow device disconnect/reconnect if a non-zero value
c13182ef
MK
491is used.
492An example usage is as follows:
fea681da
MK
493.IP
494aha152x=0x340,11,7,1
495.LP
496Note that the parameters must be specified in order, meaning that if
497you want to specify a parity setting, then you will have to specify an
498iobase, irq, scsi-id and reconnect value as well.
fea681da 499.SS "Adaptec aha154x configuration"
fea681da 500The aha1542 series cards have an i82077 floppy controller onboard,
c13182ef
MK
501while the aha1540 series cards do not.
502These are busmastering cards,
fea681da 503and have parameters to set the ``fairness'' that is used to share
c13182ef
MK
504the bus with other devices.
505The boot arg looks like the following.
fea681da
MK
506.IP
507.BI aha1542= iobase[,buson,busoff[,dmaspeed]]
508.LP
509Valid iobase values are usually one of: 0x130, 0x134, 0x230, 0x234,
c13182ef
MK
5100x330, 0x334.
511Clone cards may permit other values.
fea681da
MK
512
513The
514.IR buson ", " busoff
515values refer to the number of microseconds that the
c13182ef
MK
516card dominates the ISA bus.
517The defaults are 11us on, and 4us off, so
fea681da
MK
518that other cards (such as an ISA LANCE Ethernet card) have a chance to
519get access to the ISA bus.
520
521The
522.I dmaspeed
523value refers to the rate (in MB/s) at which the DMA
c13182ef
MK
524(Direct Memory Access) transfers proceed.
525The default is 5MB/s.
fea681da 526Newer revision cards allow you to select this value as part of the
c13182ef
MK
527soft-configuration, older cards use jumpers.
528You can use values up to
fea681da
MK
52910MB/s assuming that your motherboard is capable of handling it.
530Experiment with caution if using values over 5MB/s.
fea681da 531.SS "Adaptec aha274x, aha284x, aic7xxx configuration"
fea681da
MK
532These boards can accept an argument of the form:
533.IP
534.BI aic7xxx= extended,no_reset
535.LP
536The
537.I extended
538value, if non-zero, indicates that extended translation for large
c13182ef
MK
539disks is enabled.
540The
fea681da
MK
541.I no_reset
542value, if non-zero, tells the driver not to reset the SCSI bus when
d89be9f3 543setting up the host adapter at boot.
fea681da 544.SS "AdvanSys SCSI Hosts configuration (`advansys=')"
fea681da 545The AdvanSys driver can accept up to four i/o addresses that will be
c13182ef
MK
546probed for an AdvanSys SCSI card.
547Note that these values (if used) do
548not effect EISA or PCI probing in any way.
549They are only used for
550probing ISA and VLB cards.
551In addition, if the driver has been
fea681da 552compiled with debugging enabled, the level of debugging output can be
c13182ef
MK
553set by adding an 0xdeb[0-f] parameter.
554The 0-f allows setting the
fea681da 555level of the debugging messages to any of 16 levels of verbosity.
fea681da
MK
556.SS "AM53C974"
557.IP
558.BI AM53C974= host-scsi-id,target-scsi-id,max-rate,max-offset
fea681da
MK
559.SS "BusLogic SCSI Hosts configuration (`BusLogic=')"
560.IP
561.BI BusLogic= N1,N2,N3,N4,N5,S1,S2,...
562.LP
563For an extensive discussion of the BusLogic command line parameters,
564see
565.IR /usr/src/linux/drivers/scsi/BusLogic.c
c13182ef
MK
566(lines 3149-3270 in the kernel version I am looking at).
567The text
fea681da
MK
568below is a very much abbreviated extract.
569
c13182ef
MK
570The parameters N1-N5 are integers.
571The parameters S1,... are strings.
fea681da
MK
572N1 is the I/O Address at which the Host Adapter is located.
573N2 is the Tagged Queue Depth to use for Target Devices that support
574Tagged Queuing.
c13182ef
MK
575N3 is the Bus Settle Time in seconds.
576This is the amount of time
fea681da
MK
577to wait between a Host Adapter Hard Reset which
578initiates a SCSI Bus Reset and issuing any SCSI Commands.
579N4 is the Local Options (for one Host Adapter).
580N5 is the Global Options (for all Host Adapters).
581
582The string options are used to provide control over Tagged Queuing
583(TQ:Default, TQ:Enable, TQ:Disable, TQ:<Per-Target-Spec>), over
584Error Recovery (ER:Default, ER:HardReset, ER:BusDeviceReset,
585ER:None, ER:<Per-Target-Spec>), and over Host Adapter Probing
586(NoProbe, NoProbeISA, NoSortPCI).
fea681da
MK
587.SS "EATA/DMA configuration"
588The default list of i/o ports to be probed can be changed by
589.IP
590.BI eata= iobase,iobase,... .
fea681da
MK
591.SS "Future Domain TMC-16x0 configuration"
592.IP
593.BI fdomain= iobase,irq[,adapter_id]
fea681da
MK
594.SS "Great Valley Products (GVP) SCSI controller configuration"
595.IP
596.BI gvp11= dma_transfer_bitmask
fea681da
MK
597.SS "Future Domain TMC-8xx, TMC-950 configuration"
598.IP
599.BI tmc8xx= mem_base,irq
600.LP
601The
602.I mem_base
603value is the value of the memory mapped I/O region that
c13182ef
MK
604the card uses.
605This will usually be one of the following values:
fea681da 6060xc8000, 0xca000, 0xcc000, 0xce000, 0xdc000, 0xde000.
fea681da
MK
607.SS "IN2000 configuration"
608.IP
609.BI in2000= S
610.LP
611where S is a comma-separated string of items keyword[:value].
612Recognized keywords (possibly with value) are:
613ioport:addr, noreset, nosync:x, period:ns, disconnect:x,
c13182ef
MK
614debug:x, proc:x.
615For the function of these parameters, see
fea681da 616.IR /usr/src/linux/drivers/scsi/in2000.c .
fea681da
MK
617.SS "NCR5380 and NCR53C400 configuration"
618The boot arg is of the form
619.IP
620.BI ncr5380= iobase,irq,dma
621.LP
622or
623.IP
624.BI ncr53c400= iobase,irq
625.LP
626If the card doesn't use interrupts, then an IRQ value of 255 (0xff) will
c13182ef
MK
627disable interrupts.
628An IRQ value of 254 means to autoprobe.
629More
fea681da
MK
630details can be found in the file
631.IR /usr/src/linux/drivers/scsi/README.g_NCR5380 .
fea681da
MK
632.SS "NCR53C8xx configuration"
633.IP
634.BI ncr53c8xx= S
635.LP
636where S is a comma-separated string of items keyword:value.
637Recognized keywords are: mpar (master_parity), spar (scsi_parity),
638disc (disconnection), specf (special_features), ultra (ultra_scsi),
639fsn (force_sync_nego), tags (default_tags), sync (default_sync),
640verb (verbose), debug (debug), burst (burst_max).
641For the function of the assigned values, see
642.IR /usr/src/linux/drivers/scsi/ncr53c8xx.c .
fea681da
MK
643.SS "NCR53c406a configuration"
644.IP
645.BI ncr53c406a= iobase[,irq[,fastpio]]
646.LP
647Specify irq = 0 for non-interrupt driven mode.
648Set fastpio = 1 for fast pio mode, 0 for slow mode.
fea681da 649.SS "Pro Audio Spectrum configuration"
fea681da 650The PAS16 uses a NC5380 SCSI chip, and newer models support
c13182ef
MK
651jumperless configuration.
652The boot arg is of the form:
fea681da
MK
653.IP
654.BI pas16= iobase,irq
655.LP
656The only difference is that you can specify an IRQ value of 255, which
657will tell the driver to work without using interrupts, albeit at a
c13182ef
MK
658performance loss.
659The iobase is usually 0x388.
fea681da 660.SS "Seagate ST-0x configuration"
fea681da
MK
661If your card is not detected at boot time,
662you will then have to use a boot arg of the form:
663.IP
664.BI st0x= mem_base,irq
665.LP
666The
667.I mem_base
668value is the value of the memory mapped I/O region that
c13182ef
MK
669the card uses.
670This will usually be one of the following values:
fea681da 6710xc8000, 0xca000, 0xcc000, 0xce000, 0xdc000, 0xde000.
fea681da 672.SS "Trantor T128 configuration"
fea681da
MK
673These cards are also based on the NCR5380 chip, and accept the
674following options:
675.IP
676.BI t128= mem_base,irq
677.LP
678The valid values for
679.I mem_base
680are as follows: 0xcc000, 0xc8000, 0xdc000, 0xd8000.
fea681da
MK
681.SS "UltraStor 14F/34F configuration"
682The default list of i/o ports to be probed can be changed by
683.IP
684.BI eata= iobase,iobase,... .
fea681da
MK
685.SS "WD7000 configuration"
686.IP
687.BI wd7000= irq,dma,iobase
fea681da
MK
688.SS "Commodore Amiga A2091/590 SCSI controller configuration"
689.IP
690.BI wd33c93= S
691.LP
c13182ef
MK
692where S is a comma-separated string of options.
693Recognized options are
fea681da 694nosync:bitmask, nodma:x, period:ns, disconnect:x, debug:x,
c13182ef
MK
695clock:x, next.
696For details, see
fea681da 697.IR /usr/src/linux/drivers/scsi/wd33c93.c .
fea681da 698.SH "HARD DISKS"
fea681da 699.SS "IDE Disk/CD-ROM Driver Parameters"
fea681da 700The IDE driver accepts a number of parameters, which range from disk
c13182ef
MK
701geometry specifications, to support for broken controller chips.
702Drive specific options are specified by using `hdX=' with X in `a'-`h'.
fea681da 703
c13182ef
MK
704Non-drive specific options are specified with the prefix `hd='.
705Note that using a drive specific prefix for a non-drive specific option
fea681da
MK
706will still work, and the option will just be applied as expected.
707
708Also note that `hd=' can be used to refer to the next unspecified
c13182ef
MK
709drive in the (a, ..., h) sequence.
710For the following discussions,
711the `hd=' option will be cited for brevity.
712See the file
fea681da 713README.ide in linux/drivers/block for more details.
fea681da 714.SS "The `hd=cyls,heads,sects[,wpcom[,irq]]' options"
fea681da 715These options are used to specify the physical geometry of the disk.
c13182ef
MK
716Only the first three values are required.
717The cylinder/head/sectors
718values will be those used by fdisk.
719The write precompensation value
720is ignored for IDE disks.
721The IRQ value specified will be the IRQ
fea681da
MK
722used for the interface that the drive resides on, and is not really a
723drive specific parameter.
fea681da 724.SS "The `hd=serialize' option"
fea681da
MK
725The dual IDE interface CMD-640 chip is broken as designed such that
726when drives on the secondary interface are used at the same time as
c13182ef
MK
727drives on the primary interface, it will corrupt your data.
728Using this
fea681da
MK
729option tells the driver to make sure that both interfaces are never
730used at the same time.
fea681da 731.SS "The `hd=dtc2278' option"
fea681da
MK
732This option tells the driver that you have a DTC-2278D IDE interface.
733The driver then tries to do DTC specific operations to enable the
734second interface and to enable faster transfer modes.
fea681da 735.SS "The `hd=noprobe' option"
c13182ef
MK
736Do not probe for this drive.
737For example,
fea681da
MK
738.IP
739hdb=noprobe hdb=1166,7,17
740.LP
741would disable the probe, but still specify the drive geometry so
742that it would be registered as a valid block device, and hence
743usable.
fea681da 744.SS "The `hd=nowerr' option"
fea681da
MK
745Some drives apparently have the WRERR_STAT bit stuck on permanently.
746This enables a work-around for these broken devices.
fea681da 747.SS "The `hd=cdrom' option"
fea681da 748This tells the IDE driver that there is an ATAPI compatible CD-ROM
c13182ef
MK
749attached in place of a normal IDE hard disk.
750In most cases the CD-ROM
fea681da 751is identified automatically, but if it isn't then this may help.
fea681da 752.SS "Standard ST-506 Disk Driver Options (`hd=')"
fea681da 753The standard disk driver can accept geometry arguments for the disks
c13182ef
MK
754similar to the IDE driver.
755Note however that it only expects three
756values (C/H/S); any more or any less and it will silently ignore you.
757Also, it only accepts `hd=' as an argument, i.e. `hda='
758and so on are not valid here.
759The format is as follows:
fea681da
MK
760.IP
761hd=cyls,heads,sects
762.LP
763If there are two disks installed, the above is repeated with the
764geometry parameters of the second disk.
fea681da 765.SS "XT Disk Driver Options (`xd=')"
fea681da
MK
766If you are unfortunate enough to be using one of these old 8 bit cards
767that move data at a whopping 125kB/s then here is the scoop.
d9bfdb9c 768If the card is not recognized, you will have to use a boot arg of the form:
fea681da
MK
769.IP
770xd=type,irq,iobase,dma_chan
771.LP
772The type value specifies the particular manufacturer of the card,
c13182ef
MK
773overriding autodetection.
774For the types to use, consult the
fea681da 775.I drivers/block/xd.c
c13182ef
MK
776source file of the kernel you are using.
777The type is an index in the list
fea681da
MK
778.I xd_sigs
779and in the course of time
780.\" 1.1.50, 1.3.81, 1.3.99, 2.0.34, 2.1.67, 2.1.78, 2.1.127
781types have been added to or deleted from the middle of the list,
c13182ef
MK
782changing all type numbers.
783Today (Linux 2.5.0) the types are
fea681da
MK
7840=generic; 1=DTC 5150cx; 2,3=DTC 5150x; 4,5=Western Digital;
7856,7,8=Seagate; 9=Omti; 10=XEBEC, and where here several types are
786given with the same designation, they are equivalent.
787
788The xd_setup() function does no checking on the values, and assumes
c13182ef
MK
789that you entered all four values.
790Don't disappoint it.
791Here is an
fea681da
MK
792example usage for a WD1002 controller with the BIOS disabled/removed,
793using the `default' XT controller parameters:
794.IP
795xd=2,5,0x320,3
fea681da
MK
796.SS "Syquest's EZ* removable disks"
797.IP
798.BI ez= iobase[,irq[,rep[,nybble]]]
fea681da
MK
799.SH "IBM MCA BUS DEVICES"
800See also
801.IR /usr/src/linux/Documentation/mca.txt .
fea681da
MK
802.SS "PS/2 ESDI hard disks"
803It is possible to specify the desired geometry at boot time:
804.IP
805.BI ed= cyls,heads,sectors.
806.LP
807For a ThinkPad-720, add the option
808.IP
809.BR tp720=1 .
fea681da
MK
810.SS "IBM Microchannel SCSI Subsystem configuration"
811.IP
812.BI ibmmcascsi= N
813.LP
814where N is the \fIpun\fP (SCSI ID) of the subsystem.
fea681da 815.SS "The Aztech Interface"
fea681da
MK
816The syntax for this type of card is:
817.IP
818aztcd=iobase[,magic_number]
819.LP
820If you set the magic_number to 0x79 then the driver will try and run
c13182ef
MK
821anyway in the event of an unknown firmware version.
822All other values
fea681da 823are ignored.
fea681da
MK
824.SS "Parallel port CD-ROM drives"
825Syntax:
826.IP
827pcd.driveN=prt,pro,uni,mod,slv,dly
828.br
829pcd.nice=nice
830.LP
831where `port' is the base address, `pro' is the protocol number, `uni'
8729177b 832is the unit selector (for chained devices), `mod' is the mode (or \-1
fea681da 833to choose the best automatically), `slv' is 1 if it should be a slave,
c13182ef
MK
834and `dly' is a small integer for slowing down port accesses.
835The `nice' parameter controls the driver's use of idle CPU time, at the
fea681da 836expense of some speed.
fea681da 837.SS "The CDU-31A and CDU-33A Sony Interface"
fea681da 838This CD-ROM interface is found on some of the Pro Audio Spectrum sound
c13182ef
MK
839cards, and other Sony supplied interface cards.
840The syntax is as follows:
fea681da
MK
841.IP
842cdu31a=iobase,[irq[,is_pas_card]]
843.LP
844Specifying an IRQ value of zero tells the driver that hardware
c13182ef
MK
845interrupts aren't supported (as on some PAS cards).
846If your card
fea681da
MK
847supports interrupts, you should use them as it cuts down on the CPU
848usage of the driver.
849
850The
851.I is_pas_card
852should be entered as `PAS' if using a Pro Audio Spectrum card,
853and otherwise it should not be specified at all.
fea681da 854.SS "The CDU-535 Sony Interface"
fea681da
MK
855The syntax for this CD-ROM interface is:
856.IP
857sonycd535=iobase[,irq]
858.LP
859A zero can be used for the I/O base as a `placeholder' if one wishes
860to specify an IRQ value.
fea681da 861.SS "The GoldStar Interface"
fea681da
MK
862The syntax for this CD-ROM interface is:
863.IP
864gscd=iobase
fea681da
MK
865.SS "The ISP16 CD-ROM Interface"
866Syntax:
867.IP
868isp16=[iobase[,irq[,dma[,type]]]]
869.LP
c13182ef
MK
870(three integers and a string).
871If the type is given as `noisp16',
872the interface will not be configured.
873Other recognized types
fea681da 874are: `Sanyo", `Sony', `Panasonic' and `Mitsumi'.
fea681da 875.SS "The Mitsumi Standard Interface"
fea681da
MK
876The syntax for this CD-ROM interface is:
877.IP
878mcd=iobase,[irq[,wait_value]]
879.LP
880The
881.I wait_value
882is used as an internal timeout value for people who are
883having problems with their drive, and may or may not be implemented
884depending on a compile time #define.
885The Mitsumi FX400 is an IDE/ATAPI CD-ROM player and does not use
886the mcd driver.
fea681da 887.SS "The Mitsumi XA/MultiSession Interface"
fea681da
MK
888This is for the same hardware as above, but the driver has extended features.
889Syntax:
890.IP
891mcdx=iobase[,irq]
fea681da 892.SS "The Optics Storage Interface"
fea681da
MK
893The syntax for this type of card is:
894.IP
895optcd=iobase
fea681da 896.SS "The Phillips CM206 Interface"
fea681da
MK
897The syntax for this type of card is:
898.IP
899cm206=[iobase][,irq]
900.LP
fea681da
MK
901The driver assumes numbers between 3 and 11 are IRQ values, and
902numbers between 0x300 and 0x370 are I/O ports, so you can specify one,
c13182ef
MK
903or both numbers, in any order.
904It also accepts `cm206=auto' to enable
fea681da 905autoprobing.
fea681da 906.SS "The Sanyo Interface"
fea681da
MK
907The syntax for this type of card is:
908.IP
909sjcd=iobase[,irq[,dma_channel]]
fea681da 910.SS "The SoundBlaster Pro Interface"
fea681da
MK
911The syntax for this type of card is:
912.IP
913sbpcd=iobase,type
914.LP
915where type is one of the following (case sensitive) strings:
c13182ef
MK
916`SoundBlaster', `LaserMate', or `SPEA'.
917The I/O base is that of the
fea681da 918CD-ROM interface, and not that of the sound portion of the card.
fea681da 919.SH "ETHERNET DEVICES"
fea681da 920Different drivers make use of different parameters, but they all at
c13182ef
MK
921least share having an IRQ, an I/O port base value, and a name.
922In its most generic form, it looks something like this:
fea681da
MK
923.IP
924ether=irq,iobase[,param_1[,...param_8]],name
925.LP
c13182ef
MK
926The first non-numeric argument is taken as the name.
927The param_n values (if applicable) usually have different meanings for each
928different card/driver.
929Typical param_n values are used to specify
fea681da
MK
930things like shared memory address, interface selection, DMA channel
931and the like.
932
933The most common use of this parameter is to force probing for a second
c13182ef
MK
934ethercard, as the default is to only probe for one.
935This can be accomplished with a simple:
fea681da
MK
936.IP
937ether=0,0,eth1
938.LP
939Note that the values of zero for the IRQ and I/O base in the above
940example tell the driver(s) to autoprobe.
941
942The Ethernet-HowTo has extensive documentation on using multiple
943cards and on the card/driver specific implementation
c13182ef
MK
944of the param_n values where used.
945Interested readers should refer to
fea681da 946the section in that document on their particular card.
fea681da 947.SH "THE FLOPPY DISK DRIVER"
fea681da 948There are many floppy driver options, and they are all listed in
c13182ef
MK
949README.fd in linux/drivers/block.
950This information is taken directly
fea681da 951from that file.
fea681da 952.SS "floppy=mask,allowed_drive_mask"
c13182ef
MK
953Sets the bitmask of allowed drives to mask.
954By default, only units 0
955and 1 of each floppy controller are allowed.
956This is done because
fea681da 957certain non-standard hardware (ASUS PCI motherboards) mess up the
c13182ef
MK
958keyboard when accessing units 2 or 3.
959This option is somewhat
fea681da 960obsoleted by the cmos option.
fea681da 961.SS "floppy=all_drives"
c13182ef
MK
962Sets the bitmask of allowed drives to all drives.
963Use this if you have
fea681da 964more than two drives connected to a floppy controller.
fea681da 965.SS "floppy=asus_pci"
fea681da 966Sets the bitmask to allow only units 0 and 1. (The default)
fea681da 967.SS "floppy=daring"
fea681da 968Tells the floppy driver that you have a well behaved floppy
c13182ef
MK
969controller.
970This allows more efficient and smoother operation, but
971may fail on certain controllers.
972This may speed up certain operations.
fea681da 973.SS "floppy=0,daring"
fea681da
MK
974Tells the floppy driver that your floppy controller should be used
975with caution.
fea681da 976.SS "floppy=one_fdc"
fea681da 977Tells the floppy driver that you have only floppy controller (default)
fea681da 978.SS "floppy=two_fdc or floppy=address,two_fdc"
c13182ef
MK
979Tells the floppy driver that you have two floppy controllers.
980The second floppy controller is assumed to be at address.
981If address is
fea681da 982not given, 0x370 is assumed.
fea681da 983.SS "floppy=thinkpad"
c13182ef
MK
984Tells the floppy driver that you have a Thinkpad.
985Thinkpads use an
fea681da 986inverted convention for the disk change line.
fea681da 987.SS "floppy=0,thinkpad"
fea681da 988Tells the floppy driver that you don't have a Thinkpad.
fea681da 989.SS "floppy=drive,type,cmos"
c13182ef
MK
990Sets the cmos type of drive to type.
991Additionally, this drive is
992allowed in the bitmask.
993This is useful if you have more than two
fea681da 994floppy drives (only two can be described in the physical cmos), or if
c13182ef
MK
995your BIOS uses non-standard CMOS types.
996Setting the CMOS to 0 for the
fea681da
MK
997first two drives (default) makes the floppy driver read the physical
998cmos for those drives.
fea681da 999.SS "floppy=unexpected_interrupts"
fea681da 1000Print a warning message when an unexpected interrupt is received
d9bfdb9c 1001(default behavior)
fea681da 1002.SS "floppy=no_unexpected_interrupts or floppy=L40SX"
c13182ef
MK
1003Don't print a message when an unexpected interrupt is received.
1004This is needed on IBM L40SX laptops in certain video modes.
1005(There seems to
1006be an interaction between video and floppy.
1007The unexpected interrupts
fea681da 1008only affect performance, and can safely be ignored.)
fea681da 1009.SH "THE SOUND DRIVER"
fea681da 1010The sound driver can also accept boot args to override the compiled in
c13182ef
MK
1011values.
1012This is not recommended, as it is rather complex.
1013It is described in the Readme.Linux file, in linux/drivers/sound.
1014It accepts
fea681da
MK
1015a boot arg of the form:
1016.IP
1017sound=device1[,device2[,device3...[,device10]]]
1018.LP
1019where each deviceN value is of the following format 0xTaaaId and the
1020bytes are used as follows:
1021
4d9b6984 1022T \- device type: 1=FM, 2=SB, 3=PAS, 4=GUS, 5=MPU401, 6=SB16,
fea681da
MK
10237=SB16-MPU401
1024
4d9b6984 1025aaa \- I/O address in hex.
fea681da 1026
4d9b6984 1027I \- interrupt line in hex (i.e 10=a, 11=b, ...)
fea681da 1028
4d9b6984 1029d \- DMA channel.
fea681da
MK
1030
1031As you can see it gets pretty messy, and you are better off to compile
c13182ef
MK
1032in your own personal values as recommended.
1033Using a boot arg of
fea681da 1034`sound=0' will disable the sound driver entirely.
fea681da 1035.SH "ISDN DRIVERS"
fea681da
MK
1036.SS "The ICN ISDN driver"
1037Syntax:
1038.IP
1039icn=iobase,membase,icn_id1,icn_id2
1040.LP
1041where icn_id1,icn_id2 are two strings used to identify the
1042card in kernel messages.
fea681da
MK
1043.SS "The PCBIT ISDN driver"
1044Syntax:
1045.IP
1046pcbit=membase1,irq1[,membase2,irq2]
1047.LP
1048where membaseN is the shared memory base of the N'th card, and irqN is
c13182ef
MK
1049the interrupt setting of the N'th card.
1050The default is IRQ 5 and
fea681da 1051membase 0xD0000.
fea681da
MK
1052.SS "The Teles ISDN driver"
1053Syntax:
1054.IP
1055teles=iobase,irq,membase,protocol,teles_id
1056.LP
1057where iobase is the i/o port address of the card, membase is the
1058shared memory base address of the card, irq is the interrupt channel
1059the card uses, and teles_id is the unique ASCII string identifier.
fea681da 1060.SH "SERIAL PORT DRIVERS"
fea681da
MK
1061.SS "The RISCom/8 Multiport Serial Driver (`riscom8=')"
1062Syntax:
1063.IP
1064riscom=iobase1[,iobase2[,iobase3[,iobase4]]]
1065.LP
1066More details can be found in
1067.IR /usr/src/linux/Documentation/riscom8.txt .
fea681da
MK
1068.SS "The DigiBoard Driver (`digi=')"
1069If this option is used, it should have precisely six parameters.
1070Syntax:
1071.IP
1072digi=status,type,altpin,numports,iobase,membase
1073.LP
1074The parameters maybe given as integers, or as strings.
1075If strings are used, then iobase and membase should be given
1076in hexadecimal.
1077The integer arguments (fewer may be given) are in order:
1078status (Enable(1) or Disable(0) this card),
1079type (PC/Xi(0), PC/Xe(1), PC/Xeve(2), PC/Xem(3)),
1080altpin (Enable(1) or Disable(0) alternate pin arrangement),
1081numports (number of ports on this card),
1082iobase (I/O Port where card is configured (in HEX)),
1083membase (base of memory window (in HEX)).
1084Thus, the following two boot prompt arguments are equivalent:
1085.IP
1086digi=E,PC/Xi,D,16,200,D0000
1087.br
1088digi=1,0,0,16,0x200,851968
1089.LP
1090More details can be found in
1091.IR /usr/src/linux/Documentation/digiboard.txt .
fea681da
MK
1092.SS "The Baycom Serial/Parallel Radio Modem"
1093Syntax:
1094.IP
1095baycom=iobase,irq,modem
1096.LP
1097There are precisely 3 parameters; for several cards, give
c13182ef
MK
1098several `baycom=' commands.
1099The modem parameter is a string
fea681da
MK
1100that can take one of the values ser12, ser12*, par96, par96*.
1101Here the * denotes that software DCD is to be used, and
1102ser12/par96 chooses between the supported modem types.
1103For more details, see
1104.IR /usr/src/linux/drivers/net/README.baycom .
fea681da
MK
1105.SS "Soundcard radio modem driver"
1106Syntax:
1107.IP
1108soundmodem=iobase,irq,dma[,dma2[,serio[,pario]]],0,mode
1109.LP
1110All parameters except the last are integers;
1111the dummy 0 is required because of a bug in the setup code.
1112The mode parameter is a string with syntax hw:modem,
1113where hw is one of sbc, wss, wssfdx and modem is one of
1114afsk1200, fsk9600.
fea681da 1115.SH "THE LINE PRINTER DRIVER"
fea681da
MK
1116.SS "`lp='"
1117Syntax:
1118.IP
1119lp=0
1120.br
1121lp=auto
1122.br
1123lp=reset
1124.br
1125lp=port[,port...]
1126.LP
1127You can tell the printer driver what ports to use and what ports not
c13182ef
MK
1128to use.
1129The latter comes in handy if you don't want the printer driver
fea681da
MK
1130to claim all available parallel ports, so that other drivers
1131(e.g. PLIP, PPA) can use them instead.
1132
c13182ef
MK
1133The format of the argument is multiple port names.
1134For example,
fea681da 1135lp=none,parport0 would use the first parallel port for lp1, and
c13182ef
MK
1136disable lp0.
1137To disable the printer driver entirely, one can use
fea681da 1138lp=0.
fea681da
MK
1139.SS "WDT500/501 driver"
1140Syntax:
1141.IP
1142wdt=io,irq
fea681da 1143.SH "MOUSE DRIVERS"
fea681da
MK
1144.SS "`bmouse=irq'"
1145The busmouse driver only accepts one parameter, that being the
1146hardware IRQ value to be used.
fea681da
MK
1147.SS "`msmouse=irq'"
1148And precisely the same is true for the msmouse driver.
fea681da
MK
1149.SS "ATARI mouse setup"
1150.LP
1151atamouse=threshold[,y-threshold]
1152.IP
1153If only one argument is given, it is used for both
c13182ef
MK
1154x-threshold and y-threshold.
1155Otherwise, the first argument
fea681da
MK
1156is the x-threshold, and the second the y-threshold.
1157These values must lie between 1 and 20 (inclusive); the default is 2.
fea681da 1158.SH "VIDEO HARDWARE"
fea681da
MK
1159.SS "`no-scroll'"
1160This option tells the console driver not to use hardware scroll
1161(where a scroll is effected by moving the screen origin in video
c13182ef
MK
1162memory, instead of moving the data).
1163It is required by certain
fea681da 1164Braille machines.
fd7f0a7f
MK
1165.\" .SH AUTHORS
1166.\" Linus Torvalds (and many others)
fea681da
MK
1167.SH "SEE ALSO"
1168.BR lilo.conf (5),
1169.BR klogd (8),
1170.BR lilo (8),
1171.BR mount (8),
1172.BR rdev (8)
1173
1174Large parts of this man page have been derived from the
1175Boot Parameter HOWTO (version 1.0.1) written by Paul Gortmaker.
1176More information may be found in this (or a more recent) HOWTO.
b9560046 1177An up-to-date source of information is
fea681da 1178.IR /usr/src/linux/Documentation/kernel-parameters.txt .