Commit Graph

37768 Commits

Author SHA1 Message Date
phk
e8f4fc4a1d add some amount of sanity to the way the gdb stuff finds its device.
I'm not too happy about the result either, but at least it has less
chance of backfiring.

This particular feature could be called "a mess" without offending
anybody.
1999-05-09 10:51:13 +00:00
peter
e85d75ef71 Fix two warnings. 1999-05-09 10:45:54 +00:00
peter
0fb0af2fe2 Fix warnings. 1999-05-09 10:43:54 +00:00
phk
83bed983cb Yet a major/dev_t confusion
Spotted by Bruce.
1999-05-09 10:42:39 +00:00
phk
20c48466e9 siocngetc & putc can be staticized. 1999-05-09 10:28:50 +00:00
phk
aa8b804336 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
5311a954e6 fix some DRIVER_TYPE / INTR_TYPE confusions. 1999-05-09 09:56:52 +00:00
phk
bea63b9cdb Don't confuse dev_t and major numbers in DEV_MODULE() 1999-05-09 08:58:45 +00:00
phk
2ed2581bdf 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
09fa1aef80 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
3323f4372e Duh, bdevsw() takes dev_t arg. 1999-05-09 07:56:36 +00:00
jb
14af5de490 Mutex test program.
Submitted by: Daniel Eischen <eischen@vigrid.com>
1999-05-09 07:55:24 +00:00
jb
18a2ce4cb6 Add mutex test program. 1999-05-09 07:50:31 +00:00
kato
cdd495662b Removed DRIVER_TYPE_TTY field. 1999-05-09 05:02:26 +00:00
yokota
143736b6b7 Reserve a major number for the frame buffer device. 1999-05-09 05:02:15 +00:00
kato
2820aa3956 Sync with sys/isa/sio.c revision 1.234. 1999-05-09 05:00:54 +00:00
yokota
015b8b835b 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
b62c543b38 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
aea63d1e76 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
58c19147f4 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
3f092f3796 Added backward compatibility to set key repeat rate.
Requested by: bde
1999-05-09 04:57:51 +00:00
kato
378d14c845 Removed DRIVER_TYPE_TTY field. 1999-05-09 04:56:42 +00:00
kato
5baa450667 Sync with sys/isa/atkbd_isa.c revision 1.4. 1999-05-09 04:53:58 +00:00
kato
8ced816ac4 Sync with sys/i386/isa/wd.c revision 1.197. 1999-05-09 04:42:10 +00:00
kato
01fed2db06 Sync with sys/i386/isa/pcausio.c revision 1.48. 1999-05-09 04:39:36 +00:00
kato
c27722cd8b Sync with sys/i386/isa/npx.c revision 1.61. 1999-05-09 04:38:27 +00:00
kato
d6f0de713f Sync with sys/i386/isa/mse.c revision 1.42. 1999-05-09 04:37:17 +00:00
kato
870889ecbf Sync with sys/i386/isa/fd.c revision 1.142. 1999-05-09 04:34:28 +00:00
kato
23c23f2ecb Sync with sys/i386/i386/userconfig.c revision 1.141. 1999-05-09 04:30:08 +00:00
kato
0ee5d68a6e Sync with sys/i386/conf/majors.i386 revision 1.72. 1999-05-09 04:28:23 +00:00
kato
aa334091f8 Sync with sys/i386/conf/files.i386 revision 1.238. 1999-05-09 04:27:30 +00:00
kato
2260d3ead9 Sync with sys/i386/conf/Makefile.i386 revision 1.149. 1999-05-09 04:26:06 +00:00
ken
fce282444d 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
4a4467575d 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
e4989c23fe 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
d1098a6692 The 2930U2 and 3950U2 are supported by the Adaptec driver. 1999-05-08 21:43:28 +00:00
peter
ed3598a09e Trivial tweak to avoid a warning. 1999-05-08 21:36:03 +00:00
peter
deb89b149e 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
124a7c3d9f Fix a typo (eisa<->isa) and some minor cosmetics. 1999-05-08 21:30:38 +00:00
peter
fdb0bbc895 GC some #if 0 junk 1999-05-08 21:28:39 +00:00
ken
4ee5733cc5 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
4537aba471 Make libdisk see the existing partitiions on the alpha. 1999-05-08 21:21:50 +00:00
peter
e3538aa94e 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
8205d9ed5d Print the child IRQ on it's identification line. 1999-05-08 20:25:38 +00:00
peter
89b231e27d 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
f2de3d7c14 Brace initializers to avoid a warning. 1999-05-08 20:20:18 +00:00
peter
3f78b53e89 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
e965213931 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
1082836d6f Hookup compat22/a.out libs. 1999-05-08 18:50:53 +00:00
peter
aa5b4a8cac Use haveseen_ioport() which is now connected up to the resource manager. 1999-05-08 18:20:57 +00:00