mjacob
3715420eec
A large set of changes to handle dual bus adapters.
1999-05-11 05:10:06 +00:00
mjacob
9d43d244eb
Some massive thwunking in initialization to handle dual bus adapters. More
...
massive thwunking to include an XS_CHANNEL value. Some changes of how
parameters are reported to outer layers (including bus, e.g.). Yet more
stirring around in isp_mboxcmd to try and get it right. Decode of 1080/1240
NVRAM.
1999-05-11 05:06:55 +00:00
mjacob
08f17da151
Add in SCSI_QFULL definitions. Add in local storage for second SIM for
...
dual bus adapters. Add in XS_CHANNEL macro to get at it.
1999-05-11 05:04:24 +00:00
mjacob
ae5bd6ade0
Clean up some sprintfs. Add in a SCSI_QFULL an XS_CHANNEL definition
...
for 2.X versions. Disable fast posting for FC.
1999-05-11 05:03:33 +00:00
mjacob
3f4121e027
Roll core minor number. Re-layout a lot of SCSI fields to accomodate multiple
...
bus adapters.
1999-05-11 05:02:23 +00:00
mjacob
4fda55c5c4
Clean up some macros. Add in ISP 1080/1240 NVRAM layout definitions.
1999-05-11 05:01:26 +00:00
mjacob
be177b55ac
add a couple of missing commands
1999-05-11 05:00:35 +00:00
bde
df237b4bc1
Fixed reset handling for motor off resets. I first fixed this together
...
with other reset handling in rev.1.83 but broke it in rev.1.120. The
breakage didn't seem to cause any problems even on the system which had
problems ("extra" interrupts and botched handling thereof) before rev.1.83.
It only affects multi-floppy systems anyway.
1999-05-11 04:58:30 +00:00
mjacob
83418383b8
Clean up 2.2.X support (which might have to be cleaned up again
...
after some of the previous commits). Add in support for the 1240
dual channel ISP card. Try the dance of unmapping a PCI interrupt
if we don't configure (if that ever works it'll be helpful).
1999-05-11 04:53:57 +00:00
grog
eb7f153a19
Fix a bogon which stopped Vinum from recognizing half its keywords.
1999-05-11 03:55:35 +00:00
mjacob
bf4cdd8834
roll ISP 1080/1240 f/w
1999-05-11 02:56:34 +00:00
mks
1de62535c3
Allow configuration of up to 256 network interfaces per physical interface -
...
just like the docs say it should.
1999-05-10 23:02:29 +00:00
mks
b7629140f4
Enable PCI bus master during attach in case the BIOS hasn't done it for us.
1999-05-10 22:53:45 +00:00
paul
baf497af03
Set the bus master bit.
...
Submitted by: Ted Faber
1999-05-10 22:39:37 +00:00
phk
581ed9f916
Use NODEV instead of -1
1999-05-10 18:10:08 +00:00
dfr
841d89695c
Add missing suspend/resume methods.
1999-05-10 17:56:23 +00:00
des
77815c3bd1
MFS: indent-assisted style cleanup.
1999-05-10 15:25:50 +00:00
peter
479919ff8b
#include "pci.h" for the build dir, not <pci.h>
1999-05-10 14:12:26 +00:00
dfr
ffcbfca2ce
Adjust console stuff now that makedev is no longer a macro.
1999-05-10 14:01:35 +00:00
bde
b82d9d4f2f
Detect PCI device IDs for latest boards. Simplified the ID comparisons.
...
Submitted by: Ivan Passos <ivan@cyclades.com> (rewritten by me)
1999-05-10 10:23:40 +00:00
roger
1b24420ab3
Support LifeView FlyVideo 98 cards. Use EEPROM for card autodetection.Use
...
bttv's audio mux values.
Automatically locate the EEPROM i2c address and read the subsystem_vendor_id
from EEPROM and not the PCI registers.
Add NSMBUS checks around smbus/iicbus i2c bus code
Add GPIO mask for the audio mux to each card type.
Add CARD_ZOLTRIX and CARD_KISS from mailing list searches.
Tested by: Paul Reece <paul@fastlane.net.au>,
Ivan Brawley <brawley@internode.com.au> and
Gilad Rom <rom_glsa@ein-hashofet.co.il>
1999-05-10 10:10:13 +00:00
roger
e946c8ceec
Update card type to support GPIO mask
...
Add NSMBUS checks around smbus/iicbus i2c bus code.
1999-05-10 10:08:50 +00:00
roger
0983f499be
Add #if (NSMBUS>0) checks around smbus/iicbus i2c bus code.
1999-05-10 10:08:05 +00:00
peter
3461a10a5a
#if 0 some unused code (debug?) to quiet a warning.
1999-05-10 00:20:46 +00:00
peter
2f03f0a6c1
#ifdef BRIDGE around a goto label used by the bridge code to silcence a
...
warning.
1999-05-09 23:24:47 +00:00
peter
dfee7f32a1
Remove hackish foot protection.. If you ask for an atkbd on an isa bus
...
rather than on the keyboard controller, you will get it.. (and shoot your
feet)
1999-05-09 20:45:53 +00:00
peter
4584e18d8f
Make COM_ESP and COM_MULTIPORT compile for LINT. It might even work..
1999-05-09 20:35:02 +00:00
phk
895a3c3a4b
don't confuse units and devices.
1999-05-09 20:29:04 +00:00
peter
ff1720d290
For the ioctl that reads the pci configuration, look up the name and unit
...
on the fly so that we can see the driver assignment of new pci devices
as well in the 'pciconf -l' display.
1999-05-09 20:27:26 +00:00
peter
275481c707
GC unused variable in struct.
1999-05-09 20:25:01 +00:00
n_hibma
8e23ca2c50
Enable the support for a file interface on the HID driver for
...
easy testing of the HID reports that come back.
Submitted by: MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
1999-05-09 20:13:51 +00:00
n_hibma
f72c324781
Added Thrustmaster Fusion Digital Gamepad
1999-05-09 18:29:37 +00:00
peter
9e02d3d959
Missing revision markers.
1999-05-09 17:12:25 +00:00
peter
970b6faae9
Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:
...
#define COMPAT_PCI_DRIVER(name,data) DATA_SET(pcidevice_set,data)
.. to 2.2.x and 3.x if people think it's worth it. Driver writers can do
this if it's not defined. (The reason for this is that I'm trying to
progressively eliminate use of linker_sets where it hurts modularity and
runtime load capability, and these DATA_SET's keep getting in the way.)
1999-05-09 17:07:30 +00:00
peter
477a786cd6
Optimize out a couple of places where com_addr() is used twice in a row,
...
although this is pretty trivial. devclass_get_softc() is a tad more
expensive than the old com_addr() implementation. If Bruce is really
worried about the cost of this, it could always be changed so that the
softc pointer is stored in a local array again.
1999-05-09 16:56:38 +00:00
peter
010d2e3765
Argh, don't clobber the pci device list if there are multiple busses!
...
(An AGP counts as a PCI bus, it seems...)
This stopped 'pciconf -l' from working on AGP or PCI->PCI bridge systems.
1999-05-09 15:54:04 +00:00
peter
c2070b5bf5
Quiet a warning, put a #if 0 around some (I believe) unused static structs.
1999-05-09 13:21:06 +00:00
peter
57235f6f96
Move opt_sio.h options to conf/options and activate in isa/sio.c
1999-05-09 13:10:49 +00:00
phk
c667de5e40
Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference between
...
a major number for a dev_t.
1999-05-09 13:00:50 +00:00
phk
515ba194d0
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
1896e54e06
Fix two warnings.
1999-05-09 10:45:54 +00:00
phk
19aff8d571
siocngetc & putc can be staticized.
1999-05-09 10:28:50 +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
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
peter
dc1c167383
Trivial tweak to avoid a warning.
1999-05-08 21:36:03 +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
954985fd30
Use haveseen_ioport() which is now connected up to the resource manager.
1999-05-08 18:20:57 +00:00