phk
563f9088be
Use NODEV instead of -1
1999-05-10 18:10:08 +00:00
dfr
e65cf80c48
Add missing suspend/resume methods.
1999-05-10 17:56:23 +00:00
des
b4d631fafd
MFS: indent-assisted style cleanup.
1999-05-10 15:25:50 +00:00
peter
ccd104020f
#include "pci.h" for the build dir, not <pci.h>
1999-05-10 14:12:26 +00:00
dfr
56809581f0
Adjust console stuff now that makedev is no longer a macro.
1999-05-10 14:01:35 +00:00
bde
fcb48c4f62
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
97ed47bb7b
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
7e5bffb837
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
bead07be56
Add #if (NSMBUS>0) checks around smbus/iicbus i2c bus code.
1999-05-10 10:08:05 +00:00
peter
0259e8cd95
#if 0 some unused code (debug?) to quiet a warning.
1999-05-10 00:20:46 +00:00
peter
1b1bfd57f3
#ifdef BRIDGE around a goto label used by the bridge code to silcence a
...
warning.
1999-05-09 23:24:47 +00:00
peter
77f650ef5f
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
f8c4605317
Make COM_ESP and COM_MULTIPORT compile for LINT. It might even work..
1999-05-09 20:35:02 +00:00
phk
c1234a50af
don't confuse units and devices.
1999-05-09 20:29:04 +00:00
peter
ee315610d1
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
c2f59244d6
GC unused variable in struct.
1999-05-09 20:25:01 +00:00
n_hibma
ee4d1deb7c
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
dae3d761e5
Added Thrustmaster Fusion Digital Gamepad
1999-05-09 18:29:37 +00:00
peter
905ee53485
Missing revision markers.
1999-05-09 17:12:25 +00:00
peter
41b420910c
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
4889b510f0
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
263e0071ef
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
5182d28347
Quiet a warning, put a #if 0 around some (I believe) unused static structs.
1999-05-09 13:21:06 +00:00
peter
cecd2635d9
Move opt_sio.h options to conf/options and activate in isa/sio.c
1999-05-09 13:10:49 +00:00
phk
e05bc3b49a
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
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
phk
20c48466e9
siocngetc & putc can be staticized.
1999-05-09 10:28:50 +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
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
peter
ed3598a09e
Trivial tweak to avoid a warning.
1999-05-08 21:36:03 +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
aa5b4a8cac
Use haveseen_ioport() which is now connected up to the resource manager.
1999-05-08 18:20:57 +00:00
peter
79e6cf2881
GC unused #define id_physid id_scsiid
1999-05-08 18:13:15 +00:00
peter
b5681f7e40
GC pci_bushigh() - no longer used.
1999-05-08 18:09:53 +00:00
peter
a6e693e377
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
kjc
2193f1d434
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
des
d2156fab80
A little closer to style(9).
1999-05-08 11:51:51 +00:00
phk
bac74fbd54
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
phk
500e41bd71
I got tired of seeing all the cdevsw[major(foo)] all over the place.
...
Made a new (inline) function devsw(dev_t dev) and substituted it.
Changed to the BDEV variant to this format as well: bdevsw(dev_t dev)
DEVFS will eventually benefit from this change too.
1999-05-08 06:40:31 +00:00
grog
ed62d1c685
Make Vinum compile correctly without VINUMDEBUG
...
Tripped-over-by: Thomas Stromberg <tstromberg@rtci.com>
1999-05-08 02:50:44 +00:00
mckusick
6106d6252c
Get rid of extern declarations on gdb stuff so systems compiled without
...
DDB will compile. Warn users that try to use GDB without specifying a GDB
port in their configuration file.
1999-05-07 23:08:23 +00:00
mjacob
f00b96b7b7
fix it so it compiles on alpha again
1999-05-07 17:52:01 +00:00
peter
3bb7e80a90
GC stray static prototypes for physread/physwrite which don't exist
...
statically and cause compile warnings.
1999-05-07 16:37:06 +00:00
phk
693dd58bb3
Continue where Julian left off in July 1998:
...
Virtualize bdevsw[] from cdevsw. bdevsw() is now an (inline)
function.
Join CDEV_MODULE and BDEV_MODULE to DEV_MODULE (please pay attention
to the order of the cmaj/bmaj arguments!)
Join CDEV_DRIVER_MODULE and BDEV_DRIVER_MODULE to DEV_DRIVER_MODULE
(ditto!)
(Next step will be to convert all bdev dev_t's to cdev dev_t's
before they get to do any damage^H^H^H^H^H^Hwork in the kernel.)
1999-05-07 10:11:40 +00:00
grog
4f6fff14ba
Include opt_vinum.h to get the VINUMDEBUG definition as early as
...
possible. This fixed a problem building LINT.
Tripped-over-by: phk
1999-05-07 08:08:02 +00:00
grog
598e074404
Convert to use physread() and physwrite().
...
Advertised-by: phk
1999-05-07 08:07:09 +00:00