summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/mkioconf.c
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* More cleanups, tweaks and features.peter1999-04-241-4/+4
| | | | | | | | | | - make this work: options FOO123=456 *without quotes* - grumble (but accept) vector xxxintr, and tty/net/bio/cam flags. - complain if a device is specified twice (eg: 2 x psm0) - don't require quotes around: port IO_COM2 - recognize negative numbers. (ie: options CAM_DEBUG_UNIT=-1) - GC some more unused stuff (we don't have composite disks from config(8)). - various other nits (snprintf paranoia etc)
* The Alpha probably wouldn't appreciate getting the pc98 isa portpeter1999-04-191-4/+4
| | | | definitions. Change it from machine != I386 to machine == PC98.
* Use pc98/pc98/pc98.h instead of isa/isareg.h in PC98 kernel.kato1999-04-181-2/+5
| | | | Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
* Further cleanups. i386_ioconf.c and alpha_ioconf.c were essentially thepeter1999-04-181-80/+10
| | | | | same and were merged into a single newbus_ioconf.c. CG'd some more unused code.
* Get out the blow torch and hack away all the unused stuff. Note thatpeter1999-04-171-1003/+12
| | | | | | I zapped the MACHINE_MIPS stuff, it isn't likely to be useful apart from recognition of the machine name. It would be reasonable to expect new ports would look something like the alpha/i386 from a config perspective.
* Corresponding minimal changes for kernel configuration after new-buspeter1999-04-161-103/+127
| | | | commit.
* Oops, really don't generate compiler warnings about missing braces.bde1999-02-051-3/+3
|
* Don't generate compiler warnings about missing braces.bde1999-02-051-3/+3
|
* Fix the handling of certain devices.markm1999-02-041-3/+9
| | | | | | | | | | | | | | | Previously the foolowing lines would have broken: controller fdc0 at isa? disable port ? bio controller fdc0 at isa? disable port 0x100 bio While this would work: controller fdc0 at isa? disable port "IO_FD1" bio The first of the three lines is useful for making placeholder devices for PCMCIA-floppies, and the second is useful for non-standard hardware. The failure is a "(null)" string in ioconf.c that the compiler pukes on. Thanks to: Bruce Evans (bde@freebsd.org)
* * Change 'struct resource' to 'struct config_resource'.dfr1998-11-151-2/+2
| | | | * Bump config version.
* Ignore `vector xxxintr' specifications except for checking their syntax.bde1998-10-231-26/+7
| | | | | | | | | | | Interrupt handlers are now configured in drivers. Didn't update config/SMM.doc. It doesn't have any i386 examples (not even `isa'). Bumped CONFIGVERS. This is not necessary for -current yet, but using the new config with old system sources gives null pointers for all vectors.
* Don't generate unused file ioconf.h.bde1998-10-161-39/+6
| | | | | | | Didn't bump CONFIGVERS, since ioconf.h was already unused when CONFIGVERS was last bumped (although essentially the same (CAM) commit batch that bumped CONFIGVERS also added bogus includes of ioconf.h).
* Snip out some dead code from the alpha part.dfr1998-09-161-65/+1
|
* Build CAM hardwiring info.gibbs1998-09-151-70/+12
|
* add missing sys/queue.hache1998-09-041-1/+2
|
* Reviewed by: Doug Rabsonnsouch1998-09-031-1/+17
| | | | | | Submitted by: nsouch 'local' token added to support new bus architecture .c files generated by .m files.
* Dump out ISA device resources for alpha.dfr1998-07-211-1/+100
|
* Don't generate declarations for isa device structs in "ioconf.h".bde1998-06-171-18/+5
| | | | | | | | | | Don't generate declarations for isa interrupt handlers at all. Isa interrupt handlers are now declared in <i386/isa/isa_device.h> but should be converted take a `void *' arg and staticized as soon as possible. Updated CONFIGVERS. New configs are very incompatible with previous versions.
* Add (mostly stub) alpha support. Incidentally, it doesn't build on stabledfr1998-06-091-1/+104
| | | | unless I manually construct y.tab.h. Is this normal?
* Support PC-98 machine.kato1998-05-021-3/+6
|
* Scaffolding for High Availability code. The actual code will probablyeivind1998-04-021-1/+2
| | | | | | come tomorrow. Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
* Add isa_devtab_cam.gibbs1997-09-211-1/+2
|
* Wrap too long lines.charnier1997-09-171-2/+2
| | | | Requested by: Bruce.
* Use err(3), add usage(). -Wall clean.charnier1997-09-151-41/+52
|
* Reserve a placeholder for 4 SMP ipi interrupts in the same way thatpeter1997-03-291-1/+1
| | | | | | | it's done for pci. This is so that systat and vmstat can get at the interrupt counts for the Inter-Processor Interrupts when running a smp kernel. This doesn't affect the normal kernel, but makes life easier for the smp people who don't have to track two versions of config.
* Remove support for "port none" and "port auto", it gains nothing,ache1997-03-281-1/+1
| | | | | | non-standard and not used. "port auto" is equal to "port?" or missing "port" keyword now. "port none" is really probe routine task (return -1 for no ports).
* Add #define's for port "none" and "auto"ache1997-03-261-2/+2
| | | | Now port ommiting is equal to port "none" not to port 0
* Print negative values only for two cases usedache1997-03-251-3/+3
| | | | | in config for iobase: -1 (auto) and -2 (none) Other values are printed as big port numbers
* Fix iobase printing for autodetect and none casesache1997-03-251-1/+3
| | | | (negative numbers was printed as very big ports)
* Backout yacc changes.phk1996-06-021-1/+1
|
* yacc rule changes.phk1996-05-301-1/+1
|
* Implemented a new keyword `disable'. This should be useful for controllingbde1996-04-131-4/+5
| | | | | | | | dangerous drivers in GENERIC. Removed non-comments on #endifs in config.y. Improved output formatting in mkioconf.c.
* Count PCI irqs in up to 4 ISAish counters named `pci irqnn' instead ofbde1996-03-291-1/+1
| | | | | | in the clk0 counter. Reviewed by: se
* Make a little more effort to avoid touching certain generated files ifpeter1996-01-121-4/+6
| | | | they were not changed. This makes 'make depend' more useful.
* Support the configuration of "od" devices.joerg1995-10-311-1/+1
| | | | Submitted by: akiyama@kme.mei.co.jp (Shunsuke Akiyama)
* Put declarations in a header file ("ioconf.h")bde1995-09-191-72/+113
| | | | | | | | | | Generate prototypes for SCSI functions and function pointers. Fix redundant declarations of interrupt handlers. Generate 4.4-style includes (<> instead of ""). Clean up formatting of both the source and the output a bit.
* Allow the specification of the controller bus when wiring down scsi buses.gibbs1995-07-171-4/+5
| | | | | | | | | | This is performed by using a line similar to: controller scbus0 at ahc0 bus 1 to wire scbus0 to the second bus on an adaptec 2742T controller. Reviewed by: Peter Dufault(dufault@hda.com), Rod Grimes(rgrimes@FreeBSD.org)
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Revise this to actually print all the various isa_device field valuesjkh1995-05-111-5/+5
| | | | | | it really should have been printing all this time. Also fix my rather bogus handling of the id_conflicts value by moving it to the end of isa_device and dealing with that correctly now.
* Add a new `conflicts' flag for telling when a device is in conflict withjkh1995-05-111-3/+3
| | | | | | | | | | | | others. The flag can be put in descriptive locations, e.g.: device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr or device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr But is nonetheless boolean only. You can't turn conflict checking off for only a given type of conflict. I didn't deem it worth the trouble at this stage, and it's far better than the ALLOW_CONFLICT_* that preceeded it.
* Change warning message for when a device is wired to a floatingdufault1995-03-071-3/+8
| | | | | host adapter to something hopefully clearer. Take into account that "wnum()" writes into a static buffer in the warning.
* Fixed bug with wiring down given SCSI bus.dufault1995-03-031-5/+5
|
* Added configuration for SCSI devices wired in place. The documentationdufault1995-03-011-0/+146
| | | | is in "man 4 scsi".
* Restore the field widths that were clobbered by the previous commit so thatbde1995-02-081-6/+6
| | | | the columns in ioconf.c line up if there are no long names.
* Removed the name length limitations on the device-driver names entirely.phk1995-02-051-6/+6
| | | | Now device-names can be more than 3 chars.
* Remove ifdef for STATCLOCK. STATCLOCK is standard.bde1994-11-271-5/+0
|
* Put a simple algorithmus in there that checks the last generated prototypeats1994-11-201-4/+13
| | | | | | | for ioconf.c with the current and suppress the generation if they are equal. This now prevents all the warnings from the c-compiler about sio or snd or two adaptecs. This works only if the sio lines are grouped together in the config files, but it is better than nothing.
* Don't include map.h - it's been obsoleted.dg1994-11-031-4/+0
|
* Whoops - one two many zeros in the initializer. This should have everybodyjkh1994-11-031-2/+2
| | | | enabled by default now.
OpenPOWER on IntegriCloud