Commit Graph

1925 Commits

Author SHA1 Message Date
mrg 7f549a8679 allow the LED blinker to be disabled via do_blink. 2004-09-29 04:45:05 +00:00
yamt d2fe4b34bb move some per-cpu data definitions to MI place so that they can be modified
without touching all ports.  discussed on tech-kern@.
2004-09-22 11:32:02 +00:00
skrll f7155e40f6 There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe
2004-09-17 14:11:20 +00:00
jdolecek 3ea04717bf do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed 2004-09-14 16:51:57 +00:00
drochner 11ff62378b add "joy" 2004-09-13 17:26:28 +00:00
drochner b1ce7363e0 clean up the questionable use of sabtty_match() as submatch function
(with no useful contents), and implement a real submatch function instead
2004-09-13 14:32:38 +00:00
drochner 6c73a9561e nothing attaches to a "sabtty", so there is no need for an
interface attribute
2004-09-13 14:29:38 +00:00
manu 6e3c639957 IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
2004-09-04 23:29:44 +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
thorpej 6c08646cb8 Garbage-collect pagemove(); nothing use it anymore (YAY!!!) 2004-08-28 22:12:40 +00:00
jdolecek 64969161df use uvm_grow() to update stack segment size on stack page fault instead
of MD code
2004-08-28 17:53:00 +00:00
itohy 318777e22f Add njs to some generic config files (I tested on i386 and sparc64). 2004-08-26 14:33:01 +00:00
drochner c67a72f6ff make PCI devices attachable/detachable (as far as the particular drivers
allow), and allow to rescan a bus selectively (ie only the device/
function I'm looking at)
2004-08-17 23:20:10 +00:00
mrg 7ce2791a3b add commented entries for the magma and spif sbus multiport serial/parallel
cards (they're not tested afaik.)
2004-08-01 10:51:33 +00:00
martin 3012afd03f Allow bigger time skips (root fs vs. rtc), only warn if we skip more
than two days backward (same as old behaviour) or more than two years
forward. I have lots of test machines I don't power on every two days.
XXX - this should be handled more consistent across the different
ports. While here, move the default time -- in the unlikely event that
we have neither rtc nor file system time -- to this millenium.
2004-08-01 08:02:55 +00:00
drochner 4f2a6309fe give the special PCI bus enumerator a sparc64_ prefix and make the
PCI_MACHDEP_ENUMERATE_BUS macro point to it
2004-07-29 16:53:15 +00:00
pk 8539b88f6e _sbus_bus_map: check for the existence of `ranges' in the tag before using them. 2004-07-28 19:15:47 +00:00
mrg 5df9a04912 Hauke Fath's port of the openbsd SUNW,spif driver from PR#26061.
the driver was originally written by Jason L. Wright.

XXX: i haven't tested this on sparc64 at all...
2004-07-24 12:37:20 +00:00
nakayama 1d66d17d9d Change interrupt pending list end value to -1, to avoid linking an
interrupt handler twice.

It may fix "sleep forever" bug.
2004-07-24 12:04:32 +00:00
heas 420275788e Collect and save the FFB DAC version, which will be needed for the h/w cursor
since the Elite3d's logic is reversed.  From FreeBSD.
Fix comments in wsdisplay_accessops initialisation.
2004-07-19 01:04:35 +00:00
heas 381b4b602e Add comments for a few of the FFB registers.
From FreeBSD.
2004-07-19 01:00:48 +00:00
heas f509a0a9b2 If we are serial console, insert a delay just after switching from prom
i/o functions to talking to the sab directly, allowing any residual prom
output to drain.  There does not appear to be a prom "flush" function.

Adresses PR 26226.
2004-07-19 00:28:42 +00:00
heas 9fb2efa68d Use aprint_normal consistently. 2004-07-17 21:23:10 +00:00
atatat f68a9f1ff2 Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
2004-07-15 03:53:44 +00:00
drochner 96623fecad also add <machine/joystick.h> to alpha and amd64, to allow compilation
of certain multimedia applications
2004-07-07 18:03:51 +00:00
petrov f109401e45 _bus_dmamap_load_mbuf: check and process pmap_extract failure. 2004-07-02 07:39:07 +00:00
petrov 5a324adab2 Remove unused var, correct formats. 2004-07-02 02:50:25 +00:00
petrov a021a66c36 Added UPA_MID definitions and macros(similar to FreeBSD).
Added membar_store, membar_load macros.
No need to set %asi _after_ alternate space use in corresponding functions.
Enable(unifdef) casa functions for __arch64__.
2004-07-01 22:59:16 +00:00
heas 66307fc36e typo in define name, littie -> little 2004-07-01 14:57:46 +00:00
heas ae5ea826a2 The DAC registers do not need to be mapped linearly and thus should not. 2004-07-01 14:54:13 +00:00
petrov ef4d3a19c3 iommu_dvma_load_raw: reserve extra dvma page. Fixes PR #13654. 2004-07-01 06:40:36 +00:00
pk 9d70d77aae sbus_attach: use bus_space_tag_allocate();
sbus_bus_map: use bus_space_translate_generic();
sbus_bus_addr: use BUS_ADDR().
2004-06-30 21:37:49 +00:00
pk 889aa9f444 Introduce bus_space_tag_alloc() for the common parts of bus tag allocation. 2004-06-30 21:16:38 +00:00
pk e839b8dccb Provide bus_space_translate_address_generic(), a helper function to
translate a local bus address to an address on the parent bus.
2004-06-28 10:17:01 +00:00
pk 736c085516 Add openprom range property to the bus space tag. 2004-06-28 09:32:14 +00:00
abs bd8eb3b5ed Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
martin 44eda0ad6b Add missing ; in inline assembler for 32bit kernels 2004-06-24 19:42:27 +00:00
itojun 596aec9a47 have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
2004-06-22 14:09:49 +00:00
christos c22e4ed8cd ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM 2004-06-18 15:02:29 +00:00
martin d0c69e4d18 Fix small glitches to make SMP kernels compile again. 2004-06-18 12:51:39 +00:00
petrov 8b0935d09f Define mp_pause(resume)_cpus needed for callprom. 2004-06-18 00:05:05 +00:00
petrov ac26f9468c clean-up, reformat __asm statements. 2004-06-17 19:35:14 +00:00
petrov 3c80c1c781 pci_find_ino: support pci-pci bridges. 2004-06-11 03:52:00 +00:00
seb c97029b2ee Add cnmagic(9) support: previously only <Break> was supported to break
into the debugger or ROM monitor from the console.
Note that <Break> is still the default.

Thanks to martin@ for testing.
Approved by petrov@.
2004-06-10 12:11:19 +00:00
martin 86494c7fd4 Add pseudo-device ptm. 2004-06-09 20:25:54 +00:00
thorpej e33c2bb5d5 Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
2004-06-04 04:45:49 +00:00
petrov 9b8bcb0518 Add DIAGNOSTIC in iommu_dvmamap_load if pmap_extract fails. 2004-06-03 06:17:05 +00:00
martin 1cb74de1d2 From Peter Eisch: do not try to recover msgbuf on E450s, it fails just
like on E250s.
2004-06-02 20:23:35 +00:00
martin b1998403bc Back to SIZEOF_HEADERS. 2004-05-24 07:20:26 +00:00
martin aacd0f5586 Use 1024 instead of SIZEOF_HEADERS for now. 2004-05-23 01:15:05 +00:00