aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* During probe, the page lockdown code in dpt_control.c does someJordan K. Hubbard1999-05-111-2/+4
| | | | | | | | | | | | | | | | bad math: it does not handle page-boundary conditions, and will not end up mapping all of the requested addresses. This will cause a panic: page fault during probe on some systems. I have a machine that will panic every time (when using the dpt driver) on kernel probe when there are 5 drives installed. When there are 4 drives, it is fine. Fix is to always allocate/deallocate an extra page. There is also a bonus splx() fix on an early error return. Submitted by: Mark J. Taylor <mtaylor@cybernet.com> PR: 9367 Notes: svn path=/head/; revision=47009
* Add another kludge to the card identification probe. It appears thatWarner Losh1999-05-111-4/+7
| | | | | | | | | | | | | some aha 1542B cards will return 0x7f for the unimplemented GEOMETRY register. This is a good 3.2 candidate. PR: 11469 Submitted by: Thomas David Rivers Notes: svn path=/head/; revision=46997
* Use the probe priority mechanism to make sure the chip* probes do notPeter Wemm1999-05-111-3/+2
| | | | | | | | | | | | | | | | displace a real driver. Revert rev 1.109. Pick up a few things from elsewhere (a couple of SiS id's). As an *experiment*, have the chip* driver claim (for reporting purposes) IDE controllers if there isn't another PCI-aware ide or ata driver to grab them. I've exported the match function since it could be used from the ata-all.c code replacing ata_pcimatch() - but I have not touched the ata code. I'd like to catch a few more devices this way, including USB and other bridges etc. Notes: svn path=/head/; revision=46993
* A large set of changes to handle dual bus adapters.Matt Jacob1999-05-111-50/+106
| | | | Notes: svn path=/head/; revision=46972
* Some massive thwunking in initialization to handle dual bus adapters. MoreMatt Jacob1999-05-111-312/+601
| | | | | | | | | | 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. Notes: svn path=/head/; revision=46971
* Add in SCSI_QFULL definitions. Add in local storage for second SIM forMatt Jacob1999-05-111-2/+10
| | | | | | | dual bus adapters. Add in XS_CHANNEL macro to get at it. Notes: svn path=/head/; revision=46970
* Clean up some sprintfs. Add in a SCSI_QFULL an XS_CHANNEL definitionMatt Jacob1999-05-111-5/+9
| | | | | | | for 2.X versions. Disable fast posting for FC. Notes: svn path=/head/; revision=46969
* Roll core minor number. Re-layout a lot of SCSI fields to accomodate multipleMatt Jacob1999-05-111-21/+23
| | | | | | | bus adapters. Notes: svn path=/head/; revision=46968
* Clean up some macros. Add in ISP 1080/1240 NVRAM layout definitions.Matt Jacob1999-05-111-8/+128
| | | | Notes: svn path=/head/; revision=46967
* add a couple of missing commandsMatt Jacob1999-05-111-5/+5
| | | | Notes: svn path=/head/; revision=46966
* Fixed reset handling for motor off resets. I first fixed this togetherBruce Evans1999-05-111-2/+3
| | | | | | | | | | 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. Notes: svn path=/head/; revision=46965
* Clean up 2.2.X support (which might have to be cleaned up againMatt Jacob1999-05-111-30/+53
| | | | | | | | | 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). Notes: svn path=/head/; revision=46964
* Fix a bogon which stopped Vinum from recognizing half its keywords.Greg Lehey1999-05-111-1/+1
| | | | Notes: svn path=/head/; revision=46960
* roll ISP 1080/1240 f/wMatt Jacob1999-05-111-1571/+1575
| | | | Notes: svn path=/head/; revision=46954
* Allow configuration of up to 256 network interfaces per physical interface -Mike Spengler1999-05-102-6/+6
| | | | | | | just like the docs say it should. Notes: svn path=/head/; revision=46936
* Enable PCI bus master during attach in case the BIOS hasn't done it for us.Mike Spengler1999-05-102-49/+63
| | | | Notes: svn path=/head/; revision=46935
* Set the bus master bit.Paul Richards1999-05-101-4/+11
| | | | | | | Submitted by: Ted Faber Notes: svn path=/head/; revision=46934
* Use NODEV instead of -1Poul-Henning Kamp1999-05-101-4/+4
| | | | Notes: svn path=/head/; revision=46920
* Add missing suspend/resume methods.Doug Rabson1999-05-101-1/+3
| | | | Notes: svn path=/head/; revision=46917
* MFS: indent-assisted style cleanup.Dag-Erling Smørgrav1999-05-101-30/+27
| | | | Notes: svn path=/head/; revision=46899
* #include "pci.h" for the build dir, not <pci.h>Peter Wemm1999-05-101-2/+2
| | | | Notes: svn path=/head/; revision=46896
* Adjust console stuff now that makedev is no longer a macro.Doug Rabson1999-05-102-4/+6
| | | | Notes: svn path=/head/; revision=46894
* Detect PCI device IDs for latest boards. Simplified the ID comparisons.Bruce Evans1999-05-101-5/+4
| | | | | | | Submitted by: Ivan Passos <ivan@cyclades.com> (rewritten by me) Notes: svn path=/head/; revision=46879
* Support LifeView FlyVideo 98 cards. Use EEPROM for card autodetection.UseRoger Hardiman1999-05-101-63/+180
| | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=46877
* Update card type to support GPIO maskRoger Hardiman1999-05-101-5/+7
| | | | | | | Add NSMBUS checks around smbus/iicbus i2c bus code. Notes: svn path=/head/; revision=46876
* Add #if (NSMBUS>0) checks around smbus/iicbus i2c bus code.Roger Hardiman1999-05-101-4/+7
| | | | Notes: svn path=/head/; revision=46875
* #if 0 some unused code (debug?) to quiet a warning.Peter Wemm1999-05-101-2/+5
| | | | Notes: svn path=/head/; revision=46851
* #ifdef BRIDGE around a goto label used by the bridge code to silcence aPeter Wemm1999-05-092-2/+6
| | | | | | | warning. Notes: svn path=/head/; revision=46845
* Remove hackish foot protection.. If you ask for an atkbd on an isa busPeter Wemm1999-05-092-34/+2
| | | | | | | | rather than on the keyboard controller, you will get it.. (and shoot your feet) Notes: svn path=/head/; revision=46836
* Make COM_ESP and COM_MULTIPORT compile for LINT. It might even work..Peter Wemm1999-05-091-6/+6
| | | | Notes: svn path=/head/; revision=46834
* don't confuse units and devices.Poul-Henning Kamp1999-05-091-6/+4
| | | | Notes: svn path=/head/; revision=46833
* For the ioctl that reads the pci configuration, look up the name and unitPeter Wemm1999-05-091-16/+14
| | | | | | | | on the fly so that we can see the driver assignment of new pci devices as well in the 'pciconf -l' display. Notes: svn path=/head/; revision=46832
* GC unused variable in struct.Peter Wemm1999-05-091-2/+1
| | | | Notes: svn path=/head/; revision=46831
* Enable the support for a file interface on the HID driver forNick Hibma1999-05-091-1/+22
| | | | | | | | | easy testing of the HID reports that come back. Submitted by: MAEKAWA Masahide <bishop@rr.iij4u.or.jp> Notes: svn path=/head/; revision=46829
* Added Thrustmaster Fusion Digital GamepadNick Hibma1999-05-092-0/+16
| | | | Notes: svn path=/head/; revision=46819
* Missing revision markers.Peter Wemm1999-05-092-0/+3
| | | | Notes: svn path=/head/; revision=46814
* Simplify the COMPAT_PCI_DRIVER/DATA_SET hack. We can add:Peter Wemm1999-05-0920-104/+26
| | | | | | | | | | | #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.) Notes: svn path=/head/; revision=46813
* Optimize out a couple of places where com_addr() is used twice in a row,Peter Wemm1999-05-091-27/+9
| | | | | | | | | | 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. Notes: svn path=/head/; revision=46809
* Argh, don't clobber the pci device list if there are multiple busses!Peter Wemm1999-05-091-5/+2
| | | | | | | | (An AGP counts as a PCI bus, it seems...) This stopped 'pciconf -l' from working on AGP or PCI->PCI bridge systems. Notes: svn path=/head/; revision=46801
* Quiet a warning, put a #if 0 around some (I believe) unused static structs.Peter Wemm1999-05-092-0/+4
| | | | Notes: svn path=/head/; revision=46797
* Move opt_sio.h options to conf/options and activate in isa/sio.cPeter Wemm1999-05-091-2/+2
| | | | Notes: svn path=/head/; revision=46794
* Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference betweenPoul-Henning Kamp1999-05-097-11/+11
| | | | | | | a major number for a dev_t. Notes: svn path=/head/; revision=46792
* add some amount of sanity to the way the gdb stuff finds its device.Poul-Henning Kamp1999-05-091-9/+10
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=46783
* Fix two warnings.Peter Wemm1999-05-091-1/+5
| | | | Notes: svn path=/head/; revision=46782
* siocngetc & putc can be staticized.Poul-Henning Kamp1999-05-091-7/+3
| | | | Notes: svn path=/head/; revision=46779
* Don't confuse cursor keys with numpad keys when composing a char code.Kazutaka YOKOTA1999-05-092-10/+10
| | | | | | | PR: kern/10988 Notes: svn path=/head/; revision=46765
* Minor tweak after the introduction of new-bus to i386; properlyKazutaka YOKOTA1999-05-092-28/+28
| | | | | | | check "disabled" and "flags" probe hints. Notes: svn path=/head/; revision=46764
* Revive APM hooking code for i386 arch now that the same source file isKazutaka YOKOTA1999-05-091-3/+8
| | | | | | | | used for both i386 and alpha (the code was in sys/i386/isa/psm.c, but was disabled when ported to alpha.) Notes: svn path=/head/; revision=46763
* Move the declaration of the interrupt type from the driver structureDoug Rabson1999-05-0837-97/+65
| | | | | | | to the BUS_SETUP_INTR call. Notes: svn path=/head/; revision=46743
* Trivial tweak to avoid a warning.Peter Wemm1999-05-081-0/+2
| | | | Notes: svn path=/head/; revision=46738