18 Commits

Author SHA1 Message Date
cgd
48ff350da4 if no irq, that is, intenally, d_irq == -2, don't output a vector... 1993-05-18 18:02:05 +00:00
cgd
78459cd772 last of the "arch" changes 1993-05-18 11:51:52 +00:00
cgd
3a7f355f7b update man page for 'arch' changes 1993-05-18 09:10:27 +00:00
cgd
ecfb9b8bdf add changes for 'arch' 1993-05-18 08:56:31 +00:00
cgd
e293dd3390 make config use a /sys/${machine}/compile directory, rather than
/sys/compile
1993-05-17 09:10:06 +00:00
deraadt
930810e30c 1. id_irq is a u_short
2. "irq ?" sets it to (u_short)-1
3. "irq #" sets it to (1<<#)
4. not specifying an interrupt sets it to 0.

Until someone else comes up with a better scheme, that's the way it is.
If you have a driver that turns the interrupt off, set it to ZERO.

If, after calling XXprobe(), id_irq is still (u_short)-1, that is the same
as if  XXprobe() failed.
1993-05-11 04:04:57 +00:00
mycroft
53ab9e015f Don't dereference NULL pointer. 1993-04-23 08:46:46 +00:00
mycroft
d21c6dd4a9 Don't output `extern 0();' for interruptless driver. 1993-04-22 04:15:18 +00:00
deraadt
7c2e9690fa Changed the files referenced in this manual page 1993-04-15 23:16:27 +00:00
deraadt
7baaf22913 Once more: some changes to the ioconf.c structure. It will now handle
devices hanging off controllers, any kind of controller.
A device on isa0 is called at probe(self), then attach(self)
A controller on isa0 is called at probe(self), then all it's children with
    defined unit numbers are initialized by calling attach(subdev); next all
    subdevices with unit ? are initialized by calling attach(sundev).
Almost all device entry points is now like the vax/sun model (intr being
the weird one)
1993-04-15 07:52:08 +00:00
deraadt
dfe7c1c5d5 new scsi subsystem.
changes also in /sys/scsi/* i386/isa/wd.c, fd.c, and all scsi drivers.
1993-04-12 08:18:09 +00:00
glass
1f2d90c992 oops..left in -g 1993-04-10 12:16:42 +00:00
glass
d9cfdcda4a Welcome to the new order. config(8)'s code for reading files, files.i386,
and files.kernel has now been completely replaced.
features supported: not nearly as broken as the stuff before
		    expression support for dependencies
		    support for 'requires'
		    no longer generates lots of stupid unnecessary .h files
		    broke lots of broken stuff, and forced fixing it.
(docs to arrive later)
		    added '-k' option for continue even after error
		    documented '-g'
1993-04-10 12:11:55 +00:00
cgd
692ea175be from Rodney W. Grimes (rgrimes@agora.rain.com) (patchkit patch 117):
This patch adds the symbol names to icu.s that vmstat expects
the interrupt counters to be called.  It also adds code to config
so that the names of the interrupts are written at the end of vectors.s
so vmstat can report real device names.  It also cleans up and enables
the logging of stray interrupts.  The counters for false interrupts
are added but the fix for them is not (the fix I have is not done
very good.) A false interrupt is when a device asserts it's interrupt
signal, then removes it before the 8259 can latch it.  This is the number
one cause of stray IRQ7's and IRQ15's.

	Additional device probe information is now printed.  This includes
ending I/O address (many drivers do not return the correct value from a
probe this still needs to be fixed), memory address and size, driver
flags passed in by config.
1993-04-09 13:27:46 +00:00
deraadt
2b0870135c config will now deal with wdc and fdc in "barsoom" fashion. This patch is
not identical to barsoom's patch, but I think it's an easier patch.
Check out compile/KERN/ioconf.c to see the effect. (On e kernel with wd and/or
fd of course)
1993-04-06 09:53:49 +00:00
cgd
d99908ade5 now can config maxfdescs number', similar to maxusers' to set
the max. number of fd's a user is limited to.
1993-04-04 04:33:03 +00:00
cgd
00ecdef12c after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd
767b8d57f1 initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00