02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

master(4) master(4)<br />

3<br />

Parentheses can be used to override the default priority. The<br />

following examples use parentheses to demonstrate the default<br />

priority of the operators:<br />

a I b & c is equivalent to a (b & c)<br />

! a & b is equivalent to (! a) & b<br />

Device Specification<br />

The device specification provides information that autoconfig<br />

must know to produce a complete and working kernel. A device<br />

specification is comprised of the following six fields:<br />

flags<br />

vectors<br />

prefix<br />

major-number<br />

maximum-devices<br />

interrupt-level<br />

The fields must appear on a single line in the master file in the<br />

order shown above and must be separated by one or more blanks<br />

or tabs. Each field is described below:<br />

flags<br />

One or more of the following characters:<br />

a Tell autoconfig to create prefixcnt and<br />

prefixaddr data structures for this module. The<br />

value of prefix is discussed below.<br />

b Tell autoconfig to create a bdev switch entry<br />

for this module.<br />

c Tell autoconfig to create a cdev switch entry<br />

for this module.<br />

1 Tell autoconfig to create a line discipline switch<br />

entry for this module.<br />

m Tell autoconfig to create a Streams entry for<br />

this module.<br />

n Tell autoconfig that this module uses a network<br />

interface (TCPIIP).<br />

popt<br />

Tell autoconfig that this module has an initialization<br />

routine. autoconfig generates code that<br />

calls the initialization routine at the point in the dur-<br />

February, 1990<br />

RevisionC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!