Commit Graph

37790 Commits

Author SHA1 Message Date
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
peter
43dea4dc65 Look up the sensitive flag better, allowing interoperation between old and
new isa drivers with sensitive flags.  If the resource_find() code
is meant to "find" the wildcard sensitive flag for a driver even though
a unit is supplied, this can be simplified.
1999-05-08 18:15:49 +00:00
peter
bef59609fc Fix unused variable "flags". (only used if #ifdef I586_CPU) 1999-05-08 18:14:09 +00:00
peter
aa51f84424 GC unused #define id_physid id_scsiid 1999-05-08 18:13:15 +00:00
peter
f2d92bf5c9 Update for new resource_set_*() interface. Also deal with the conflicts
flag.
1999-05-08 18:12:03 +00:00
peter
f3138e83c7 Slightly increase the visibility of the isa_wrap_old_drivers() stuff. It
would be a shame to pollute the new isa.c with the isa_device.h defs.
1999-05-08 18:11:04 +00:00
peter
71fbaed53b GC pci_bushigh() - no longer used. 1999-05-08 18:09:53 +00:00
obrien
9577f6483a Update this with reality. 1999-05-08 18:09:39 +00:00
peter
a18293af54 Change resource_set_*() to be more useful. BTW; resource_find() is a
bit odd, it looks like the wildcard stuff isn't right.
1999-05-08 18:08:59 +00:00
peter
60593b9925 Change resource_set_*() interface to be more useful. 1999-05-08 18:07:37 +00:00
obrien
c3b406f3ff Compatability libraries for 2.2.x binaries.
Note that these are thus our a.out compatability libraries.
1999-05-08 17:54:02 +00:00
peter
08c8240c52 Add brackets around && within || to quieten egcs. I've checked the code
and I'm reasonably sure it's right, but I don't have one of the beasties.
1999-05-08 17:52:03 +00:00
peter
db5aa940c8 Make sure the mem_range_AP_init() prototype is seen where it's needed, and
#ifdef SMP around it for fun.
1999-05-08 17:48:22 +00:00
peter
3f577f731b Take a guess at a halfway reasonable fla entry so that the build
doesn't break on isa_compat.[ch].  phk - change this to what you need..
1999-05-08 15:46:46 +00:00
peter
3bbc055f31 Oops, committed wrong version.. 1999-05-08 15:45:25 +00:00
peter
439eabc75c Fix a couple of newbus merge problems:
Restore 0x710110b9 ("AcerLabs M15x3 Power Management Unit") - but only
if NALPM == 0.
Restore 0x00051166 ("Ross (?) host to PCI bridge") so that
fixbushigh_Ross() gets called.
Delete generic_pci_bridge(), it's been replaced by other mechanisms (see
the isab and pcib match/probes and the pci_bridge_type() function)
1999-05-08 14:55:18 +00:00
phk
a363ff4e40 Add compat hooks for DiskOnChip2000 driver.
Minor change to loran driver
1999-05-08 14:36:48 +00:00
peter
d1d6106b52 Pre-declare struct proc to avoid 'inside param list' warnings. 1999-05-08 14:28:52 +00:00
kjc
60d000b2c4 clean up en atm driver
o fix DDB support
   - include "opt_ddb.h"
   - fix Debugger() arg
   pointed out by bde

 o back out pvc shadow interface support
   - it is currently not used
   - to make it easier to merge another implementation

 o misc minor cleanup
1999-05-08 14:23:40 +00:00
peter
3965466afb Use KERNBASE for the load address of the kernel rather than magic constants
as it seems to work..  (at least on i386/elf).
1999-05-08 13:03:49 +00:00
peter
6ed7f2cf79 First stages of a module dependency cleanup. This part fixes a
particularly annoying hack, namely having the linker bash the moduledata
to set the container pointer, preventing it being const.  In the process,
a stack of warnings were fixed and will probably allow a revisit of the
const C_SYSINIT() changes.  This explicitly registers modules in files or
preload areas with the module system first, and let them initialize via
SYSINIT/DECLARE_MODULE later in their SI_ORDER_xxx order.  The kludge of
finding the containing file is no longer needed since the registration
of modules onto the modules list is done in the context of initializing
the linker file.
1999-05-08 13:01:59 +00:00
peter
e12dd017ad ls_items[] is most definately not a set of pointers to const objects..
sysinits, for example, are sorted by swapping those objects(!).  Perhaps
they should be const and the sysinit sorting should be swapping the
pointers rather than the targets.  This is on my revisit list, but it
has the side effect of removing a lot of warnings.  With -Wcast-qual, it
doesn't seem easy to get rid of the constness when you *know* it's not.
(With apologies to bde, this essentially reverts rev 1.21 of kernel.h
 from back in 1996)
1999-05-08 12:52:26 +00:00
dfr
5a04887787 Install gdbserver and gdbreplay in /usr/bin, not /usr/libexec/elf. 1999-05-08 12:08:06 +00:00
des
c9bc975538 A little closer to style(9). 1999-05-08 11:51:51 +00:00
brian
5e107593b8 o Redesign the layering mechanism and make the aliasing code part of
the layering.

  We now ``stack'' layers as soon as we open the device (when we figure
  out what we're dealing with).  A static set of `dispatch' routines are
  also declared for dealing with incoming packets after they've been
  `pulled' up through the stacked layers.

  Physical devices are now assigned handlers based on the device type
  when they're opened.  For the moment there are three device types;
  ttys, execs and tcps.

o Increment version number to 2.2
o Make an entry in [uw]tmp for non-tty -direct invocations (after
  pap/chap authentication).
o Make throughput counters quad_t's
o Account for the absolute number of mbuf malloc()s and free()s in
  ``show mem''.
o ``show modem'' becomes ``show physical''.
1999-05-08 11:07:56 +00:00
kris
935bd87c22 Various spelling/formatting changes.
Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
1999-05-08 10:22:15 +00:00
jasone
b917271c13 Back out patch for cond_timedwait() bug from -current, since other changes
have made the patch obsolete, as pointed out by Daniel Eischen
<eischen@vigrid.com>.

PR:		bin/8872
1999-05-08 07:50:05 +00:00
phk
d3b218f793 Fix some of the places where too much inside knowledge about major/minor
layout and dev_t structure is being (ab)used.
1999-05-08 07:02:41 +00:00