Commit Graph

37767 Commits

Author SHA1 Message Date
peter
1896e54e06 Fix two warnings. 1999-05-09 10:45:54 +00:00
peter
5e3e8a72ad Fix warnings. 1999-05-09 10:43:54 +00:00
phk
1e2a3fc632 Yet a major/dev_t confusion
Spotted by Bruce.
1999-05-09 10:42:39 +00:00
phk
19aff8d571 siocngetc & putc can be staticized. 1999-05-09 10:28:50 +00:00
phk
24f0a67c11 Yet another place which knew too much. Still not sure how much
good this does in the end.
1999-05-09 10:25:30 +00:00
phk
43330220c9 fix some DRIVER_TYPE / INTR_TYPE confusions. 1999-05-09 09:56:52 +00:00
phk
f3df4266e8 Don't confuse dev_t and major numbers in DEV_MODULE() 1999-05-09 08:58:45 +00:00
phk
c46eed71be Peter beat me to half this patch, but didn't do the other half:
set d_bmaj

	don't cast a dev_t to int before comparing to NODEV
1999-05-09 08:18:12 +00:00
peter
db2bf4c554 Comment advising ordering of cdevsw_add and bdevsw_add is obsolete (no
bdevsw_add any more).
1999-05-09 08:10:17 +00:00
phk
f49813ac06 Duh, bdevsw() takes dev_t arg. 1999-05-09 07:56:36 +00:00
jb
0d7925ce92 Mutex test program.
Submitted by: Daniel Eischen <eischen@vigrid.com>
1999-05-09 07:55:24 +00:00
jb
a7fbc7e55e Add mutex test program. 1999-05-09 07:50:31 +00:00
kato
5590597b0b Removed DRIVER_TYPE_TTY field. 1999-05-09 05:02:26 +00:00
yokota
57a7cb6524 Reserve a major number for the frame buffer device. 1999-05-09 05:02:15 +00:00
kato
a2dfee47e0 Sync with sys/isa/sio.c revision 1.234. 1999-05-09 05:00:54 +00:00
yokota
0ee4030d92 Don't confuse cursor keys with numpad keys when composing a char code.
PR: kern/10988
1999-05-09 05:00:19 +00:00
yokota
fd01f3744d Minor tweak after the introduction of new-bus to i386; properly
check "disabled" and "flags" probe hints.
1999-05-09 04:59:24 +00:00
yokota
2a1b3e3104 Revive APM hooking code for i386 arch now that the same source file is
used for both i386 and alpha (the code was in sys/i386/isa/psm.c, but
was disabled when ported to alpha.)
1999-05-09 04:58:35 +00:00
yokota
2cd17c5d4e Make apm_probe() properly return an error code when APM BIOS calls
failed, so that the apm driver won't be attached.
1999-05-09 04:58:13 +00:00
yokota
f4cd299602 Added backward compatibility to set key repeat rate.
Requested by: bde
1999-05-09 04:57:51 +00:00
kato
99d0f26df7 Removed DRIVER_TYPE_TTY field. 1999-05-09 04:56:42 +00:00
kato
1055c7adf2 Sync with sys/isa/atkbd_isa.c revision 1.4. 1999-05-09 04:53:58 +00:00
kato
077760caac Sync with sys/i386/isa/wd.c revision 1.197. 1999-05-09 04:42:10 +00:00
kato
a39c05f614 Sync with sys/i386/isa/pcausio.c revision 1.48. 1999-05-09 04:39:36 +00:00
kato
bb38daa56b Sync with sys/i386/isa/npx.c revision 1.61. 1999-05-09 04:38:27 +00:00
kato
c459512080 Sync with sys/i386/isa/mse.c revision 1.42. 1999-05-09 04:37:17 +00:00
kato
6a177e0469 Sync with sys/i386/isa/fd.c revision 1.142. 1999-05-09 04:34:28 +00:00
kato
e6f4750a60 Sync with sys/i386/i386/userconfig.c revision 1.141. 1999-05-09 04:30:08 +00:00
kato
ba719a7560 Sync with sys/i386/conf/majors.i386 revision 1.72. 1999-05-09 04:28:23 +00:00
kato
4a5d7e338e Sync with sys/i386/conf/files.i386 revision 1.238. 1999-05-09 04:27:30 +00:00
kato
d7b3b8d0c0 Sync with sys/i386/conf/Makefile.i386 revision 1.149. 1999-05-09 04:26:06 +00:00
ken
b9ecdd963d Add a facility in the CAM error handling code to retry selection timeouts.
If the client requests that the error recovery code retry a selection
timeout, it will be retried after half a second.  The delay is to give the
device time to recover.

For most of these drivers, I only added selection timeout retries where
they were also retrying unit attention type errors.  The sa(4) driver calls
saerror() in a number of places, but most of them don't request retrying
unit attentions.

Also, bump the default minimum CD changer timeout from 2 to 5 seconds and
the maximum timeout from 10 to 15 seconds.  Some Pioneer changers seem to
have trouble with the shorter timeout.

Reviewed by:	gibbs
1999-05-09 01:25:34 +00:00
dt
22ec213e41 Fix a freelist trashing under following confitions:
- first program lock a region in a file,
- second program wait on the lock,
- first program extend the region,
- second program interrupted by a signal.
1999-05-08 22:46:46 +00:00
dfr
5229d3887a Move the declaration of the interrupt type from the driver structure
to the BUS_SETUP_INTR call.
1999-05-08 21:59:43 +00:00
ken
d1bfc27287 The 2930U2 and 3950U2 are supported by the Adaptec driver. 1999-05-08 21:43:28 +00:00
peter
dc1c167383 Trivial tweak to avoid a warning. 1999-05-08 21:36:03 +00:00
peter
322f2ad0c1 Add some notes about the globalness of certain things like interrupts
and ISA DMA channels (ie: on most PCI systems, they are not.. they are
on the ISA side of the PCI-ISA bridge and could be duplicated if there
were multiple PCI-ISA bridges, say in a laptop docking station), while
the APIC resources would be global on SMP systems.
Also, revert a previous change, change some printfs back to panics.
1999-05-08 21:34:34 +00:00
peter
03c0fa150d Fix a typo (eisa<->isa) and some minor cosmetics. 1999-05-08 21:30:38 +00:00
peter
034bc287d1 GC some #if 0 junk 1999-05-08 21:28:39 +00:00
ken
c3fbae5453 Devices are hardwired with "unit 0", not "lun 0" as was in these man pages.
Also, update the pass(4) man page to indicate that some CCBs must be
sent through the xpt(4) device and cannot be sent through a pass device.

PR:		8826
1999-05-08 21:28:18 +00:00
dfr
cf57941de6 Make libdisk see the existing partitiions on the alpha. 1999-05-08 21:21:50 +00:00
peter
70c20ab231 Print 'irq nn' on the device attach line like the old pci code did.
However, we are not printing 'int a/b/c/d' yet, is it worth it on non-SMP
systems?  (It's useful when tracing PCI->IO-APIC routing on SMP systems)
1999-05-08 20:28:01 +00:00
peter
49690eb8ad Print the child IRQ on it's identification line. 1999-05-08 20:25:38 +00:00
peter
43eb5a6063 Don't print 'interrupting at irq nn' on the x86 family, it's not all
that big a deal just yet and isn't worth a whole line on the boot screen.
This could change later in the face of multi-ISA-bus (eg: laptop docking
stations with two independent ISA busses) and SMP/APIC systems.  The Alpha
already has multiple interrupt destinations to deal with.
1999-05-08 20:24:44 +00:00
peter
04c0737eeb Brace initializers to avoid a warning. 1999-05-08 20:20:18 +00:00
peter
dc63430d31 I'm sick of the automatic rename of /kernel to /kernel.old while doing
development that leads to lots of crashes during boot.

I have made a 'reinstall' target (like in ports, and reinstall.debug)
This is most useful if you want to keep /kernel.old as a known bootable
kernel.  If you test a new kernel and have to reboot for a fix, a
'make reinstall' will install the new kernel over the top of the old
non-viable one, leaving the old one untouched.  This is mainly meant
for development, not general users.
1999-05-08 20:04:39 +00:00
dfr
8511a20312 Gdb has been updated to version 4.18 and is now part of the standard
release for FreeBSD/alpha.
1999-05-08 19:19:16 +00:00
obrien
52d2581d0d Hookup compat22/a.out libs. 1999-05-08 18:50:53 +00:00
peter
954985fd30 Use haveseen_ioport() which is now connected up to the resource manager. 1999-05-08 18:20:57 +00:00
peter
0af537fe96 GC some unused stuff relating to the old conflict checking and other lint.
Change haveseen_isadev() to something a little easier to emulate.
Store the device_t for the wrapper in isa_device.
Implement a replacement for haveseen_isadev - namely haveseen_ioport()
which takes a port size as an extra argument for a proper range check.
This (haveseen_ioport()) has not been tested, but I think it'll work.
1999-05-08 18:20:05 +00:00