Luigi Rizzo
a6a30776d3
Add a missing newline
...
Submitted by: Roger Hardiman
1998-11-14 13:07:59 +00:00
Justin T. Gibbs
921cb54a13
Move a diagnostic behind "if (bootverbose)".
1998-11-13 13:23:36 +00:00
Luigi Rizzo
ac1e654ef7
Add entry for AOpen AW37
1998-11-10 10:44:56 +00:00
Justin T. Gibbs
712463b1fa
Noop Commit - Change was in last revision.
...
If the next available mailbox is not in the free state, print a warning
and handle the condition as a temporary resource shortage. The condition
should never happen, but we shouldn't panic since recovery is possible.
1998-11-10 06:47:11 +00:00
Justin T. Gibbs
4ff057c7b0
Convert to change in ISA compatiblity port handling in the base bt driver.
1998-11-10 06:45:14 +00:00
Justin T. Gibbs
3c1cabf7a2
Fix probes when a port address is specified.
1998-11-10 06:44:54 +00:00
Justin T. Gibbs
d0993d7584
Fix probes when a port address is specified.
...
Convert from BT'isms to AHA'isms
Don't fail the probe if the illegal command bit is set in the status
register. If the BusLogic MultiMaster probe preceeded us, it may well
have determined that the card we are attaching to was not a true MultiMaster
by sending us a command that fails on the 154X.
Reset the adapter before doing the inquiry. This provides extra sanity
and will also clear the illegal command status bit that my be left over
from the MultiMaster probe.
1998-11-10 06:44:42 +00:00
Nicolas Souchu
a6530ace00
Release the ppbus when probe fails.
1998-11-09 22:22:01 +00:00
Peter Wemm
dfab6b6416
ifioctl takes a u_long rather than an int on 3.0
1998-11-09 09:34:00 +00:00
Peter Wemm
96fca41fcf
s/%#p/%p/ to fix a warning. This looks like a leftover of once being
...
%#x, which causes a leading 0x to be prepended. %p has this by default
and the '#' is ignored by the kernel prinf code for %p.
1998-11-09 08:08:06 +00:00
Doug Rabson
66d22cfe03
Port the ps/2 mouse driver to the alpha.
1998-11-08 18:43:03 +00:00
Nicolas Souchu
7d70baf7b2
Check if devclass exists for probed devices before
...
declaring the device 'alive'.
1998-11-08 18:42:34 +00:00
Nicolas Souchu
7a8ecb9e64
Add semicolon to INTERFACE declarations
1998-11-08 18:35:53 +00:00
Doug Rabson
7095ee912b
* Fix a couple of places in the device pager where an address was
...
truncated to 32 bits.
* Change the calling convention of the device mmap entry point to
pass a vm_offset_t instead of an int for the offset allowing
devices with a larger memory map than (1<<32) to be supported
on the alpha (/dev/mem is one such).
These changes are required to allow the X server to mmap the various
I/O regions used for device port and memory access on the alpha.
1998-11-08 12:39:07 +00:00
Nicolas Souchu
623bdbdb0a
Change METHODE (french) to METHOD.
...
Submitted by: Nick Hibma <nick.hibma@jrc.it>
1998-11-07 14:56:04 +00:00
Nicolas Souchu
376ba00c94
Define DEBUG only if not already defined, avoiding confusions with
...
opt_global.h
1998-11-07 14:35:41 +00:00
Nicolas Souchu
99a6f52d8f
Add iic driver iff the corresponding devclass exists.
1998-11-07 14:33:46 +00:00
Nicolas Souchu
dec0ec9e81
Return to previous check_for_i2c_devices() behaviour.
...
Cast the cmd parameter to unsigned char in every smbus call.
Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
1998-11-07 14:30:48 +00:00
Peter Wemm
cf3e757633
If this is going to have checks for kernel versions, it might as well
...
do it so that it works. This code should run on 2.2.x now.
1998-11-06 02:13:14 +00:00
Peter Wemm
5ebfc07dce
Remove machine/cputypes.h - it's an i386 only thing
1998-11-06 01:34:06 +00:00
Nicolas Souchu
d3cf287966
iicbus probe and attach deferred until root_bus_configure() call.
1998-11-04 22:09:17 +00:00
Nicolas Souchu
804ec04759
Properly reset parent to get interface addr.
1998-11-04 22:07:24 +00:00
Luigi Rizzo
16c775657c
Remove an error message from sb interrupt driver -- it
...
does not apply to all situations.
1998-11-04 09:13:20 +00:00
Peter Wemm
0640d357f2
Simple update to make these work as kld and preload modules.
1998-11-04 03:49:39 +00:00
Julian Elischer
cd8ab93c90
In the cyrix Cx5530, there are null (empty) Base address registers before the
...
base register that controls Ultra-DMA, so we need to examine all possible
base registers instead of just giving up at the first empty one.
Also, looking at the source code to the BIOS, I see that they are also
checking for 0xffffffff as an invalid value so do the same. Stefan may like
to clean this up, but at least now I can find my PCI IDE registers.
1998-11-03 08:47:29 +00:00
Greg Lehey
0b492c2b06
Remove some dead code and comments
1998-11-03 06:38:58 +00:00
Greg Lehey
44043daefc
Print a warning if we removed a junked drive
...
Take a drive down if it's not open
1998-11-03 06:38:26 +00:00
Greg Lehey
8ef3d686c9
Take drive down if the disk driver tells us it's not there
1998-11-03 06:37:57 +00:00
Greg Lehey
62ae0ffa95
Check for duplicate subdisk names
1998-11-03 06:37:14 +00:00
Kazutaka YOKOTA
58541533dd
Don't update the screen while the cursor shape is being changed
...
by the user-land program.
PR: i386/8344
1998-11-03 02:37:46 +00:00
Greg Lehey
c51cd25e95
Change some numeric #defines to enums
1998-11-02 04:11:16 +00:00
Greg Lehey
8b71433847
Don't close drives when called from interrupt context, set a flag for
...
the top half to do it.
Put in a dubious check for subdisk integrity when trying to bring
up a plex where others are already up. This particular kludge is
crying out for a rewrite of the whole state code.
Add code to set_plex_state and set_volume_state to defer updates when
called from an interrupt context. This doesn't happen yet, but it
could do.
1998-11-02 04:10:45 +00:00
Greg Lehey
d45fbfc7a1
Get the default revive blocksize right for striped and RAID-5 plexes
1998-11-02 04:10:19 +00:00
Greg Lehey
47ffaa06f1
Close any drives downed in an interrupt context.
...
Ensure correct order of requests.
Call launch_requests at splhigh to see if this stops the mysterious
SMP panics
1998-11-02 04:09:34 +00:00
Greg Lehey
f9fd1687b6
Accept incorrect device open counts, but print a warning
...
Don't save invalid drive config information, remove the drive
1998-11-02 04:09:09 +00:00
Greg Lehey
6e1f0e2f5e
Check for maximum number of subdisks in a plex
...
Get object counts right when removing
1998-11-02 04:08:30 +00:00
Semen Ustimenko
5fabcd1a00
Ported to OpenBSD. sys/pci/smc83c170.h renamed to sys/pci/if_txvar.h to be
...
like others.
1998-11-01 07:44:33 +00:00
Poul-Henning Kamp
264b85f3ce
Trivial stylish changes, mostly to silence gcc.
...
Reviewed by: Mike Spengler <mks@networkcs.com>
Submitted by: phk
1998-10-31 20:07:01 +00:00
Peter Wemm
e6b148712b
Fixup prototypes so that this beastie compiles.
1998-10-31 14:23:09 +00:00
Nicolas Souchu
3ab1f0562c
New callback mechanism to allow iicbus bus allocation when requesting
...
smbus over iicsmb(4).
1998-10-31 11:39:54 +00:00
Nicolas Souchu
af5487872e
pcf.c: timeout management added
...
ppc.c: nsc code improved. Actually, a complete rewrite.
1998-10-31 11:37:09 +00:00
Nicolas Souchu
f7ce69c963
lpbb is the official Philips parallel I2C interface. lpbb.c contains only
...
basic i/o functions, bit-banging mechanism is implemented by dev/iicbus/iicbb.c
immio.c: some bootverbose logs to watch zip+ connect/disconnect process
1998-10-31 11:35:21 +00:00
Nicolas Souchu
04f89a63cb
iicbb is generic support for I2C bit-banging.
...
Other files: timeout management added to the I2C framework.
1998-10-31 11:31:07 +00:00
Nicolas Souchu
fbd78b40dd
Brooktree driver ported to the new I2C framework. See iicbus(4) for more info.
1998-10-31 11:26:38 +00:00
Luigi Rizzo
2a62931083
Fix a typo, and remove verbose error reporting when in
...
promisc mode (they are annoying in normal mode
as well so i am really tempted to remove them unconditionally...)
1998-10-30 11:53:58 +00:00
Justin T. Gibbs
400ea5dc6a
Do not disable the ISA compatibility window if it is the same value as
...
that set for our PCI IO address space. This can happen on the BT-946.
1998-10-30 02:06:44 +00:00
Justin T. Gibbs
b4be89561b
Correct the reporting of the queue full condition so that the XPT layer
...
can properly throttle tags.
Add diagnostic printfs for firmware result codes that we encounter but
don't know anything about.
1998-10-29 17:41:34 +00:00
Mike Smith
80015f135f
Don't complain about SIOCGIFMEDIA; it's harmless and not something
...
useful here yet.
Submitted by: markm and others
1998-10-24 18:55:53 +00:00
Peter Wemm
a4bc95cff9
Move the kld stuff to here.
1998-10-23 11:49:47 +00:00
Bruce Evans
fe310de802
Initialize isa_devtab entries for interrupt handlers in individual
...
device drivers, not in ioconf.c. Use a different hack in isa_device.h
so that a new config(8) is not required yet.
pc98 parts approved by: kato
1998-10-22 05:58:45 +00:00