summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa
Commit message (Collapse)AuthorAgeFilesLines
* Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify thephk1999-04-251-1/+3
| | | | | | timecounter as well Asked for by: bde, jhay
* Add $Id: $billf1999-04-241-0/+2
|
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-243-2/+14
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* Changed the type of id_port from short into int to avoid wrongkato1999-04-241-2/+2
| | | | | | | conversion from short to unsigned long which is an argument of bus_alloc_resource. Since the value -1 is used to indicate no port reousece, id_port need to be signed (suggested by Doug Rabson and Peter Wemm.)
* Back out parts of rev 1.4; making isa.c preserve the hints across apeter1999-04-241-14/+15
| | | | release made it unneeded.
* Revert part of 1.9; we don't need to reset the port after release now thatpeter1999-04-241-2/+1
| | | | the isa bus doesn't clear the hints at that point.
* Don't clear the hints on release, just the resource containers.peter1999-04-241-7/+1
|
* - PC98 doesn't support 16bits bus I/F of adv deriver.kato1999-04-241-1/+16
| | | | | | - PC98 has the bs driver. Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
* staticize.gibbs1999-04-231-2/+2
|
* Make the register_intr() glue actually have a chance of working...peter1999-04-232-4/+6
|
* Return the port size from the probe.peter1999-04-221-2/+3
| | | | | "ppc0 at port 0x378 irq 7 drq 3 on isa0" becomes "ppc0 at port 0x378-0x37f irq 7 drq 3 on isa0"
* oops, SMP was missing includes for a typedef.peter1999-04-211-2/+2
|
* Stage 1 of a cleanup of the i386 interrupt registration mechanism.peter1999-04-218-110/+893
| | | | | | | Interrupts under the new scheme are managed by the i386 nexus with the awareness of the resource manager. There is further room for optimizing the interfaces still. All the users of register_intr()/intr_create() should be gone, with the exception of pcic and i386/isa/clock.c.
* Make pcvt compile and run again after find_display() is gone as part ofhm1999-04-204-109/+23
| | | | the new-bus changes. Also fix several compiler warnings.
* Always reset the isa hints after releasing the resources after probe,peter1999-04-191-16/+16
| | | | | | | because the act of doing the release kills the hints(!). A quirk of the wrapper caused it to reset all the settings, except perhaps for the memory address. I've tested this with a real SMC 8013EPC - which uses shared memory addresses - it seems to work OK.
* The missing prototype for isa_wrap_old_drivers() was bugging me..peter1999-04-191-1/+2
|
* Fix a potential hang situation.luoqi1999-04-191-1/+2
| | | | PR: i386/2108
* Don't do (1 << irq) to get an interrupt mask when irq = -1.peter1999-04-191-4/+6
| | | | Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
* Fix a braino from last commit.peter1999-04-191-4/+0
|
* Fix some confusion between physical and virtual addresses when recordingdfr1999-04-191-5/+13
| | | | the driver's choice of memory window.
* Set ifq_maxlen to eliminate "zp0 XXX: driver didn't set ifq_maxlen"imp1999-04-191-1/+2
| | | | | | | message on boot. I know this driver is depricated, but I need to use it for a little while.
* Make the bt isa driver work..peter1999-04-181-5/+11
| | | | | | | | | | | - 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!)
* Implement an EISA new-bus framework. The old driver probe mechanismpeter1999-04-182-74/+128
| | | | | | | | | 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>
* Remove i386-specific psm.c - it's now in sys/isa/psm.cpeter1999-04-181-2267/+0
|
* These two have been replaced with isa/sio* in the generic isa area.peter1999-04-182-3063/+0
|
* Set ifq_maxlen to IFQ_MAXLENpaul1999-04-181-2/+2
|
* Set ifq_maxlen to number of transmit descriptors.paul1999-04-181-1/+2
|
* The changes to vm_page.c have broken the assumption that mallocingpaul1999-04-181-13/+24
| | | | | early will result in memory below 16M so now we need to explicitly use contigmalloc to get low physical memory.
* Wrap the pcm driver for old isa probes.peter1999-04-171-2/+7
| | | | Correct #ifdef typo for sbxvi (Thanks Brian!)
* Allocate space for struct isa_device's, not for pointers thereto.bde1999-04-171-2/+2
| | | | This fixes memory corruption that caused calls to address 0 here.
* We use the generic isa version now.peter1999-04-172-170/+0
|
* We now use the generic isa version..peter1999-04-171-74/+0
|
* vga_isa.c is now generic, not i386 specific (src/sys/isa/vga_isa.c)peter1999-04-171-2241/+0
|
* As a temporary anti-foot-shooting measure, don't let the user attachpeter1999-04-161-1/+5
| | | | the atkbd device to isa, as was in the old (and 3.x) GENERIC config.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-1618-1597/+2464
| | | | | | | | | | | | | | | | | | 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
* Generate intrnames[] dynamically. This should be new-bus friendly.bde1999-04-146-242/+182
| | | | Old version reviewed by: se
* Build the functionality of the wdc_p hack into the ide_pci.c code.peter1999-04-133-28/+6
| | | | | | | | | | | | All it did was match a specific device ID and turn on a quirk for the wdc driver. Incidently, at line 1462 there is a return that prevents the generic ide_pci code from trying to look at the device. I'd be interested to know if we can take out the return and let the generic code "see" it. I've left the return in because that's the way it worked before. (Be sure to rerun config after cvsup or you'll get undefined files!)
* Shoot the LKM support in the old wd/wdc/atapi driver set in the head andpeter1999-04-137-658/+33
| | | | | | | | | | | | | | | | | perform a cleanup/unifdef sweep over it to tidy things up. The atapi code is permanently attached to the wd driver and is always probed. I will add an extra option bit in the flags to disable an atapi probe on either the master or slave if needed, if people want this. Remember, this driver is destined to die some time. It's possible that it will loose all atapi support down the track and only be used for dumb non-ATA disks and all ata/atapi devices will be handled by the new ata system. ATAPI, ATAPI_STATIC and CMD640 are no longer options, all are implicit. Previously discussed with: sos
* Move initialization of SWI's in the tty|net|bio masks from isa.c intopeter1999-04-112-12/+6
| | | | the static initializers in ipl.s.
* Correct prototype for wdstarteivind1999-04-111-1/+1
|
* Staticize.eivind1999-04-116-12/+12
|
* Random text after #endif changed to comment.eivind1999-04-111-1/+1
|
* When trying to enable or disable an interrupt not described by the mp table,tegge1999-04-101-3/+7
| | | | just return instead of dereferencing a null pointer.
* Test CF after a btrl operation instead of testing ZF (which is undefined).tegge1999-04-101-2/+2
|
* o sys/i386/include/soundcard.hkato1999-04-081-3/+2
| | | | | | | | | Reduce synth_info.name lenght for binary compatibility. o sys/i386/isa/sound/mpu401.c Reduce mpu device number info to avoid overflow of mpu_synth_info.name. Submitted by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
* failled spell-checkphk1999-04-061-2/+2
|
* Use reference counted PHOLD/PRELE rather than the P_PHYSIO flag.peter1999-04-061-3/+3
|
* Include nss.h only when PC98 is defined.kato1999-04-031-0/+2
| | | | Pointed out by: "Pierre Y. Dampure" <pierre.dampure@k2c.co.uk>
* We don't need to splbio() around biodone().phk1999-04-021-3/+1
|
* Add back cxswitch() it was used afterall.phk1999-04-021-0/+22
|
OpenPOWER on IntegriCloud