Commit Graph

235 Commits

Author SHA1 Message Date
augustss
a66509ebd5 Some more Sharp MM20 fixup code that I forgot to commit in the first round. 2004-11-21 22:00:00 +00:00
augustss
e93cdd6905 Add a gross hack to route the ECHI interrupt on the Sharp MM20.
You can read the long and sad story about the BIOS in a comment.
2004-10-21 17:12:41 +00:00
drochner
46289e1fef Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
2004-08-30 15:05:15 +00:00
mrg
5ced3fb6e0 implement ICH-based Intel SpeedStep(TM), based on both the linux and
freebsd drivers for the same.  if found and supported, export a
"machdep.speedstep_state" sysctl that can be set to "0" (low) or "1"
(high).

tested on a dell inspiron 8500 (supported, working) and a dual P4
system (supports ichlpcib not speedstep, comes up properly disabled.)
2004-07-31 17:32:31 +00:00
mycroft
6ad727416a Attempt to handle unknown ServerWorks chips, although I wouldn't bet on it
working cleanly.
2004-07-05 19:15:05 +00:00
mycroft
58a7151020 Update Serverworks chip names, and add a few more. 2004-07-04 05:53:55 +00:00
mycroft
88bac700e0 Be more careful about what ServerWorks devices we attempt to map PCI buses
behind.
This should address PR 21458 and PR 25670.
2004-07-04 04:55:18 +00:00
kochi
b616cd6b52 don't use large stuff on stack.
(char devinfo[256] -> char *devinfo)
2004-05-03 07:08:46 +00:00
kochi
32cdfb5cac Enhance debug output for ICHx (with PIIX_DEBUG)
from Masanori Kanaoka
2004-05-01 06:35:10 +00:00
christos
4eac397f2f Add code to deal with the losing Libretto L2/L3 pcibios. From Masanori
Kanaoka. I've been sitting on this code for 3 years, and have not done
anything better with it. It is ugly, it needs to be handled better, but
it is better to have it #ifdef'ed out rather than nothing.
2004-04-30 02:45:37 +00:00
christos
f117f546d1 Deal with edge versus level interrupts properly. From Masanori Kanaoka. 2004-04-30 02:44:03 +00:00
uwe
33c262357e Adapt to pci_devinfo signature change. 2004-04-24 15:09:54 +00:00
itojun
6123043789 pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region
2004-04-23 21:13:05 +00:00
kochi
e80850866a de __P, ANSIfy PCIBIOS related files. 2004-04-11 06:00:25 +00:00
kochi
ee2683e797 Support for PIRQ[E-H], found in recent intel south bridges
(ICH2 and later), which fixes PR/23700.
The changes are from Hiroyuki Bessho and Masanori Kanaoka in PR/23700
with a little modification of interrupt router lookup from mine.
2004-04-04 16:06:09 +00:00
kochi
41ea3c2a77 add one more PCI ID (ICH4-M). 2004-04-04 15:16:38 +00:00
jwise
bffc53d606 Fix grammar in error message. 2004-03-29 15:57:28 +00:00
minoura
88f55c570c Fix typo. 2004-03-15 05:31:46 +00:00
minoura
17724e2968 Stop the timer explicitly before initialization.
Apparently certain BIOS requires this.  Noted by yamt.
2004-03-15 01:23:49 +00:00
minoura
b332b550b9 Add Intel ICHn PCI-LPC bridge driver.
It is a pcib, but with sysmon watchdog support.
2004-03-14 08:04:38 +00:00
jdolecek
b1d292e1be add yet another ServerWorks variant
from PR port-i386/24570 by Ray Phillips
2004-02-27 09:01:26 +00:00
uebayasi
5d41e06074 Update some URLs. 2004-02-19 12:23:47 +00:00
keihan
29c72c57f0 netbsd.org -> NetBSD.org
All "netbsd.org" is now gone from src/sys/arch.
2003-12-04 13:05:15 +00:00
mycroft
6ad04f2a27 XXX: gcc 2003-10-28 23:04:26 +00:00
christos
7f7c7b7d99 Back out the libretto related hacks I accidentally committed. They are
in CVS in case one wants them :-)
2003-10-27 04:10:43 +00:00
christos
b92846c162 Fix uninitialized variable warnings. 2003-10-25 21:34:07 +00:00
christos
65235b9eb5 Fix uninitialized variable warnings 2003-10-25 18:40:37 +00:00
dyoung
b491c05ae7 Add the 82801EB LPC, which provides the PCI Interrupt Router on
the Dell PowerEdge 400SC.
2003-10-13 05:19:19 +00:00
drochner
27c7714f95 syntax error in comment 2003-09-17 11:57:34 +00:00
fvdl
5a759ef06c Move the bulk of pci_intr_string into a seperate intr_string function. Use
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.
2003-09-06 17:44:36 +00:00
tron
aae64118ef Add missing blank line.
Don't treat pointers as boolean values.
2003-08-28 10:58:37 +00:00
tron
57c82d6312 Add support for i865G integrated graphics support to agp(4). Patches
contributed by Michael D. Allen in PR port-i386/22600.
2003-08-26 17:33:22 +00:00
hannken
bbf46d4085 Add support for i855 agp. From FreeBSD.
Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-07-20 18:56:32 +00:00
lukem
ace607b862 add __KERNEL_RCSID() 2003-07-14 22:13:09 +00:00
tron
896fd5c944 Add hardware random number generator support for Intel 865 and
875P chipsets.
2003-07-06 07:24:31 +00:00
fvdl
7dd7f8baa2 Handle 64bit DMA addresses on PCI for platforms that can (currently only
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
scw
3e475eb186 From PR port-i386/20464, by Yoshihisa Nakagawa: Match i845G AGP bridge. 2003-04-16 07:37:09 +00:00
perry
773de18a27 Recognize VT82C596A
Patch from Christopher SEKIYA in PR port-i386/21013
2003-04-05 16:03:48 +00:00
thorpej
b4fe782331 Use PAGE_SIZE rather than NBPG. 2003-04-01 20:48:27 +00:00
fvdl
b7b9aa9909 Moved to x86/pci. 2003-02-27 00:30:21 +00:00
fvdl
ab4edb55ec Adapt for i386/x86 change. 2003-02-26 22:21:19 +00:00
jdolecek
1b76f8f55f One more ServerWorks host bridge, seen on Dell PowerEdge server
fix provided in PR port-i386/20333 by Sverre Froyen
2003-02-14 14:26:51 +00:00
jdolecek
1677351fab match anything which claims to be PCI-EISA bridge
the explicit check for Intel PCI-EISA bridge was left in, just in case
it wouldn't identify itself as PCI-EISA bridge

fixes PR kern/9589 by Johan Danielsson
2003-02-08 12:00:36 +00:00
simonb
b4509098d5 Put the storage class first. 2003-01-20 01:25:04 +00:00
fvdl
5692526bb6 Remove duplicate assignment. 2003-01-14 11:13:25 +00:00
fvdl
d928619394 Add a couple more ServerWorks host bridges that explicitly need IO space
enabled.
2003-01-14 10:56:53 +00:00
thorpej
1132348b98 Use aprint_normal() for cfprint routines. 2003-01-01 01:24:19 +00:00
explorer
4b995bb9a4 fix for my sony laptop, which doesn't quite follow spec 2002-12-30 21:55:05 +00:00
fvdl
ae4b76c8d3 New interrupt code. The basic idea behind it is to hide the differences
in interrupt controllers in struct pic, and try to keep as much
common code as possible. At the lowest (asm) level, this is done
with CPP macros.

The main structure is now struct intrsource, describing an established
interrupt line, of any kind (soft/hard local apic/legacy apic/IO apic).
For quick masking, there may be a maximum of 32 sources per CPU.
Sources can be assigned to any CPU in the MP case, though currently they
all go to the boot CPU.
2002-11-22 15:23:35 +00:00
thorpej
b000f2251b * Add "struct device" to the softc.
* Add missing notice.

Problems pointed out by Jonathan Stone.
2002-10-17 22:03:40 +00:00