Commit Graph

2336 Commits

Author SHA1 Message Date
peter
167ade153b Fix a braino from last commit. 1999-04-19 14:01:42 +00:00
peter
6e2ae9a7a7 GC some now unused (and #if 0) code. 1999-04-19 13:34:25 +00:00
peter
715f7f0d75 EISA can (or will) be a child of the i386 nexus on non-PCI systems. 1999-04-19 07:58:34 +00:00
peter
ae4ce8b340 Set the bus description for EISA, like it is for ISA. 1999-04-19 06:57:33 +00:00
sos
9986223e78 Update to use the new-bus framework. No functional changes.
Mostly done by Doug Rabson, minor fixes by me.
1999-04-18 20:48:15 +00:00
peter
e737ce4edb Make the bt isa driver work..
- fix cut/paste problem. :-)
- don't forget to call isa_dmacascade()
- reset the port after we release resources.

That last one is a trap to watch out for..  The isa bus driver uses the
same port/irq/mem/etc variables for the initial probe hints as it does
for allocation/deallocation tracking.  Releasing a resource clears the
variable and then you loose the hint during attach.. (ouch!)
1999-04-18 19:08:28 +00:00
peter
9a3b6888b0 Check bus_setup_intr() as a seatbelt... 1999-04-18 19:03:50 +00:00
peter
5268478dd1 Implement an EISA new-bus framework. The old driver probe mechanism
had a quirk that made a shim rather hard to implement properly and it was
just easier to convert the drivers in one go.  The changes to the
buslogic driver go beyond just this - the whole driver was new-bus'ed
including pci and isa.  I have only tested the EISA part of this so far.

Submitted by:	 Doug Rabson <dfr@nlsystems.com>
1999-04-18 15:50:35 +00:00
peter
c1543ff346 Merge revs 1.57 and 1.60 of i386/isa/psm.c 1999-04-18 15:12:11 +00:00
peter
8b89672890 Merge missing changes from i386/isa/sioreg.h (PC98 related) 1999-04-18 14:37:47 +00:00
peter
6f0de00315 Tidy up a few things left over from the conversion from i386/isa/sio.c.
Leave two #if 0'd notes about the way things used to be done for reference.
1999-04-18 14:35:28 +00:00
dfr
76b786c61e Register sio interrupts as fast (fixing some silo overflow messages). 1999-04-18 14:11:01 +00:00
paul
54ec48fcbc Set ifq_maxlen to IFQ_MAXLEN 1999-04-18 01:49:16 +00:00
paul
56582da3e6 Set ifq_maxlen to number of transmit descriptors. 1999-04-18 01:37:19 +00:00
paul
2a59668af3 The changes to vm_page.c have broken the assumption that mallocing
early will result in memory below 16M so now we need to explicitly use
contigmalloc to get low physical memory.
1999-04-18 01:03:46 +00:00
n_hibma
9ac31b6bd4 UHCI_DEBUG should of course be OHCI_DEBUG
Reported by: MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
1999-04-17 21:48:03 +00:00
peter
44d31e635d Well folks, this is it - The second stage of the removal for build support
for LKM's..
1999-04-17 08:36:07 +00:00
grog
09e3b3310e free_vinum: clear up a warning message. 1999-04-17 04:15:50 +00:00
peter
39e27f0c41 Merge up to rev 1.234 (nice revision number!) of i386/isa/sio.c. 1999-04-17 01:02:27 +00:00
peter
7777e25934 Merge up to rev 1.226 of i386/isa/sio.c 1999-04-17 00:37:01 +00:00
peter
6af9884543 As a temporary anti-foot-shooting measure, don't let the user attach
the atkbd device to isa, as was in the old (and 3.x) GENERIC config.
1999-04-16 23:39:15 +00:00
peter
dc1b9002a0 Bring the 'new-bus' to the i386. This extensively changes the way the
i386 platform boots, it is no longer ISA-centric, and is fully dynamic.
Most old drivers compile and run without modification via 'compatability
shims' to enable a smoother transition.  eisa, isapnp and pccard* are
not yet using the new resource manager.  Once fully converted, all drivers
will be loadable, including PCI and ISA.

(Some other changes appear to have snuck in, including a port of Soren's
 ATA driver to the Alpha.  Soren, back this out if you need to.)

This is a checkpoint of work-in-progress, but is quite functional.

The bulk of the work was done over the last few years by Doug Rabson and
Garrett Wollman.

Approved by:	core
1999-04-16 21:22:55 +00:00
alex
3b88e57531 Added missing newline to "no ports found!" message. 1999-04-15 00:13:20 +00:00
mjacob
9c9f6b09a6 temp fix for internal queue overflow problem 1999-04-14 17:37:36 +00:00
eivind
feed209df6 Shorten line.
Prodded by:	bde
1999-04-12 14:31:28 +00:00
des
a6bd3ad2bc PCX loader for pseudo-device splash. 1999-04-12 13:39:11 +00:00
des
a914c6c7aa Centralize and reorganize a few macros. 1999-04-12 13:34:58 +00:00
n_hibma
278e86d1bd 1) Make debugging more selective.
2) create function usbd_errstr which turns a usbd_status into a sensible
   error message
3) Change the printf in DPRINTF to logprintf which is a define for
   log(KERN_DEBUG, x)
1999-04-11 20:50:33 +00:00
n_hibma
71f87c2161 Applied patch for ukbd disconnect. Disconnect not fully functional
yet however.

Supplied by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-04-11 16:49:15 +00:00
n_hibma
0f18833ac2 USBD_STALLED bit checking was inconsistent. Mixed use of == and &
Patch provided by: Kazutaka YOKOTA
1999-04-11 16:43:48 +00:00
n_hibma
896d58ed3d Remove unit from struct. Not used anymore. 1999-04-11 16:22:57 +00:00
n_hibma
8d8014f5be Reenable the recursive disconnection from a hub. Stop gap solution
until the newbus version of uhub.c is ready.

Submitted by: Kazutaka YOKOTA
1999-04-11 14:24:43 +00:00
n_hibma
57566d58bf Changed pci_config_read() to pci_map_port(). Pointed out by Doug Rabson. 1999-04-11 14:24:20 +00:00
eivind
bf66b84dce Remove unused function int fi() {return 0;} 1999-04-11 03:47:24 +00:00
eivind
d2441d0bd4 Staticize. 1999-04-11 03:06:07 +00:00
eivind
e18e01c670 Staticize. 1999-04-11 02:55:52 +00:00
eivind
fa5d159312 Staticize. 1999-04-11 02:50:42 +00:00
sos
fc43e979f4 Sixth update to the new ATA/ATAPI driver:
Fixed problems:

    Promise controllers was not always set up correctly.
        Parantheses are a good thing, fixed.

    Some older CDROM's could hang the probe.
        Proberly wait for the drive to catch its breath after IDENTIFY.

    Some CD writers fails because they dont support rezero.
        Rearranged the code to not use rezero.

    Warnings now that we use EGCS.
        Fixed.
1999-04-10 18:53:35 +00:00
grog
77a4d1ae70 struct drive: add fields for debugging lockdrive deadlocks. 1999-04-10 08:12:44 +00:00
grog
1386e4e13e set_sd_state:
If a drive is down, take "empty" sds down.  Previously they were
  unchanged, which cause set_plex_state to take them up under some
  circumstances.
1999-04-10 08:12:12 +00:00
grog
24faa933b9 When VINUMDEBUG is set, add function basename() to return the base
name of a file.  Used by MMalloc and lockdrive.
1999-04-10 08:11:44 +00:00
grog
ea5832b2b1 lockdrive: Add debug calls to catch occasional deadlocks on drives.
The problem is probably gone, but the debug checks remain
	   for a while.
1999-04-10 08:11:21 +00:00
grog
b33d109343 Add flag keyword w. 1999-04-10 08:10:55 +00:00
grog
241b2762f8 daemon_save_config:
Fix a potential drive deadlock when saving config to a non-existent
  drive.

Add debug calls to catch occasional deadlocks on drives.  The problem
(above) is probably gone, but the debug checks remain for a while.
1999-04-10 08:10:24 +00:00
grog
7532f2a6c5 Define macro LOCKDRIVE for debugging drive locking deadlocks. 1999-04-10 08:09:49 +00:00
grog
075a322d98 Add declaration for basename()
Change lockdrive definition if VINUMDEBUG is set.
1999-04-10 08:09:27 +00:00
grog
765a605a8f Add debug calls to catch occasional deadlocks on drives. The problem
is probably gone, but the debug checks remain for a while.

update_plex_config: Catch yet another divide-by-zero problem when
		    detaching the last subdisk from a striped plex.

Uncovered-by: Michael Reifenberger <root@nihil.plaut.de>
1999-04-10 08:08:45 +00:00
grog
362a27b1dd update_plex_config: Eliminate a potential divide-by-zero.
Tripped-over-by: Karl Pielorz <kpielorz@tdx.co.uk>
1999-04-09 01:20:22 +00:00
grog
e65f88f5cc Modify parameter checking in LongJmp to match the reality of an
enlarged kernel memory space.

Paniced-over-by:  Karl Pielorz <kpielorz@tdx.co.uk>
		  Michael Reifenberger <root@nihil.plaut.de>
1999-04-09 01:17:50 +00:00
n_hibma
6bacf7a394 1) Add Lucent USS-720 eval kit
2) Rename Epson printer cable to proper name
1999-04-08 23:26:50 +00:00