Commit Graph

203549 Commits

Author SHA1 Message Date
drochner
1ca3ef385b remove some bloat:
-cardbus doesn't use multiple interrupt lines like PCI, and it doesn't
 use machanisms like interrupt line register and swizzling -- no need
 to carry around dummy information, this is all dealt with by the
 bridge
 (I'm asking myself how "rbus_ppb" can work -- a bridge attached to
 cardbus just can't work like a normal PCI bridge as far as interrupts
 are concerned. I thing that should be a hardware specific driver
 because behavior is not covered by a standard.)
-cardbus always uses 3.3V -- no need for a variable to keep track
 of the voltage
2011-08-01 11:20:26 +00:00
drochner
f54d17f2c0 add an experimental implementation of PCI MSIs (Message Signaled
Interrupts). Successfully tested with hdaudio and "wpi" wireless
ethernet.
notes:
-There seem to be buggy chips around which announce MSI support
 but don't correctly implement it. Thus the final word whether MSIs
 can be used should be by the driver.
-Only a single vector is supported. For multiple vectors, the IDT
 allocation code would have to be changed. (And we would possibly
 run into problems due to the limited number of vectors supported
 by the current code.)
-The code is "#if NIOAPIC > 0" because it uses the ioapic_edge
 interrupt stubs. These actually don't touch any ioapic, so this
 is somewhat a misnomer.
-MSIs can't be identified by a "pin" but only by a cpu/vector
 pair. Common intr code soesn't deal well with this yet.
-Drivers need to take care of saving/restoring MSI data in the device's
 config space on suspend/resume.
2011-08-01 11:08:03 +00:00
drochner
0ce8c54d89 if checking whether an interrupt is shared, don't compare pin numbers
if it is "-1" -- this is a hack to allow MSIs which don't have a concept
of pin numbers, and are generally not shared
(This doesn't give us sensible event names for statistics display. The
whole abstraction has more exceptions than regular cases, it should
be redesigned imho.)
2011-08-01 10:42:23 +00:00
drochner
ee07511cd0 modify parsing of device names so that it can deal with names which
have numbers is it, eg "i915drm*"
2011-08-01 10:33:26 +00:00
jmcneill
6edd5ebb16 Fix AR_SREV_MERLIN_20 and AR_SREV_MERLIN_20_OR_LATER macros to match
rev 2.1 as well as 2.0, from FreeBSD. Fixes 5GHz mode on my 9280.
2011-08-01 10:21:32 +00:00
mrg
32d2ab845e fix the zx@fhc attachment. 2011-08-01 10:18:23 +00:00
taca
98fbd2eb78 Update to 2011060800.
- IPv6 address was added to D.ROOT-SERVERS.NET.
2011-08-01 10:04:27 +00:00
mrg
a14d5855e1 use device_private(). thanks to jmcneill for pointing this out. 2011-08-01 08:36:39 +00:00
riz
a91ba62b09 Add an -m flag to mkubootimage, for specifying an alternate magic
value.
2011-08-01 06:16:35 +00:00
pgoyette
2fa51cd836 Ooopppsss - there were some other modules here that should not have been
committed.  Remove them.
2011-08-01 03:56:23 +00:00
pgoyette
4ad33d7af6 Add new spdmem(4) module 2011-08-01 03:51:55 +00:00
pgoyette
c3df63d89d Add build glue for modular spdmem(4) driver, and enable it 2011-08-01 03:51:05 +00:00
pgoyette
e3bc45f1ac Modularize the spdmem(4) driver 2011-08-01 03:49:52 +00:00
christos
3edabd2e8e Don't attempt to touch special targets; make -t would create .END in every
directory.
2011-08-01 02:13:21 +00:00
matt
1a16d9577d Support using MEMSIZE 2011-07-31 23:10:58 +00:00
jmcneill
7e89c84d93 x86_reset: If the FADT defines a reset register and ACPI was active, try
to use it to reset the system before attempting any other methods
2011-07-31 22:43:01 +00:00
jmcneill
2e5784d8be add Family14h (AMD Fusion) support 2011-07-31 22:04:07 +00:00
matt
e2a5604bd9 Note ralink support. 2011-07-31 20:33:05 +00:00
jakllsch
58cf20f9d6 simple_lock to mutex conversion. 2011-07-31 18:39:00 +00:00
jakllsch
ffb4d47223 The Fintek base address registers implement the bottom 3 bits as read/write,
but the address decoder in the chip ignores these three bits.  Do the same.
2011-07-31 18:23:46 +00:00
jym
5b7c93647d Fix typo in comment. 2011-07-31 18:00:54 +00:00
jmcneill
8037f64f1b build and install finsio module on i386 and amd64 2011-07-31 17:55:41 +00:00
jmcneill
c7c1db7e8e add finsio module glue 2011-07-31 17:54:01 +00:00
jmcneill
9f438526b6 modularize and recognize ASUS F8000 Super I/O chips 2011-07-31 17:53:26 +00:00
jakllsch
080ef1cab8 Restore original residue quirk proposed in PR#42225, it is necessary. 2011-07-31 16:32:02 +00:00
jmcneill
66ca8ad7c3 add smsc module glue 2011-07-31 16:19:21 +00:00
jmcneill
0d3a27d5dc modularize 2011-07-31 16:18:54 +00:00
jmcneill
afdad53ffc add module glue for dbcool 2011-07-31 16:05:28 +00:00
jmcneill
b27acdaa88 modularize 2011-07-31 16:05:01 +00:00
jmcneill
17204a8fdc module glue for sdtemp 2011-07-31 16:00:21 +00:00
jmcneill
4fc96f8387 add detach support, modularize, build with WARNS=4 2011-07-31 15:59:45 +00:00
jmcneill
6a11e87299 add rescan support 2011-07-31 15:58:25 +00:00
matt
30893a9102 Add support for a loongson2_subr.S. This is needed since that chip needs
special handling to manually flush the ITLB on TLB updates.
2011-07-31 15:39:28 +00:00
matt
e642dbad13 Add CPU_MIPS_LOONGSON2 flag (rather defining a CPU_ARCH_MIPS3_LOONGSON2).
This is much less intrusive and disruptive.
2011-07-31 15:36:28 +00:00
matt
8610b72b32 Add define for loongson2 DIAG register 2011-07-31 15:35:04 +00:00
uebayasi
c8c01f2329 Put back #include "ioconf.h" per popular demand. 2011-07-31 13:51:53 +00:00
tron
19ea17df48 Note import of Postfix 2.8.4. 2011-07-31 13:43:16 +00:00
uebayasi
7a93829794 Revert previous; s/kmem(9)/uvm_km(9)/ and comment why done so. Per request
from rmind@.
2011-07-31 13:41:30 +00:00
tron
64a8c34faa Resolve conflicts from last import. 2011-07-31 10:05:03 +00:00
tron
e148fd06c8 Import Postfix version 2.8.4. Changes since version 2.8.3:
- Performance: a high load of DSN success notification requests could
  slow down the queue manager. Solution: make the trace client
  asynchronous, just like the bounce and defer clients.
- The local(8) delivery agent ignored table lookup errors in
  mailbox_command_maps, mailbox_transport_maps, fallback_transport_maps
  and (while bouncing mail to alias) alias owner lookup.
- Workaround: dbl.spamhaus.org rejects lookups with "No IP queries" even
  if the name has an alphanumerical prefix. We play safe, and skip both
  RHSBL and RHSWL queries for names ending in a numerical suffix.
- The "sendmail -t" command reported "protocol error" instead of "file
  too large", "no space left on device" etc.
- The Postfix Milter client reported a temporary error instead of
  "file too large" in three cases.
2011-07-31 10:01:44 +00:00
kiyohara
56e955160b s/MULTIPROCESOR/MULTIPROCESSOR/. 2011-07-31 10:00:52 +00:00
plunky
84e06c949d revert previous, actually cleanup the *_asn1-template.c files
in Makefile.rules.inc. They are generated when -one-code-file
is passed.
2011-07-31 09:58:19 +00:00
tron
d14af506f7 Automatically determine and print out the release tag for the import. 2011-07-31 09:54:57 +00:00
plunky
7d2b0ea36f Clean up intermediate asn1 template files
(this should reeally be fixed in <${HEIMBASE}/Makefile.rules.inc>
but I don't see where since they are not generated for all asn1 sources)
2011-07-31 06:49:03 +00:00
plunky
d38e8168f4 cleanup vars.texi 2011-07-31 06:43:56 +00:00
dholland
bd78871af0 Fix pserialize set lists. Hi rmind! 2011-07-31 03:48:49 +00:00
matt
4564466a06 Don't define LINK_EH_SPEC if it's already defined (from netbsd*.h) 2011-07-31 03:43:33 +00:00
martin
eef17f7b6c Make uvmspace_exec() deal with procs that have no vmspace (yet) at all.
Greatly simplifies the upcoming posix_spawn implementation.
2011-07-30 20:05:46 +00:00
jmcneill
ebd9aba013 PR# port-i386/18818: cannot enter ddb with usb keyboard
- ohci: when polling, make sure sc_eintrs has the OHCI_WDH flag set
  otherwise ohci_intr1 won't actually read data
- usbdi: kick the host controller by calling its soft_intr callback when
  switching out of polling mode too

DDB with a USB keyboard works for me now with ohci.
2011-07-30 20:05:36 +00:00
martin
95377927e5 Get rid of #ifdef __sparc__ in uvm code - as noted by cgd back 1996,
now that we have __HAVE_CPU_VMSPACE_EXEC/cpu_vmspace_exec().
2011-07-30 19:29:12 +00:00