Commit Graph

1913 Commits

Author SHA1 Message Date
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
heas a60b59cc89 Map the ffb's DAC register space and add support for video "blanking"
(aka WSDISPLAYIO_{S,G}VIDEO).
2004-05-21 21:45:04 +00:00
heas de28b23591 ffb wsdisplay type should be sunffb/SUNFFB 2004-05-21 19:21:31 +00:00
martin 479d5e8fca We need sigdebug and sigpid not only for COMPAT_16, but also SVR4 and
SunOS, so move it to a more generic place and fix the ifdefs.
Fixes PR port-sparc64/25650.
2004-05-20 11:36:43 +00:00
heas d07b682ed3 add DAC command/value register offsets 2004-05-20 01:50:43 +00:00
petrov 45a1b56bc0 De-_P()fy, remove not MULTIPROCESSOR defines for sparc64_ipi_xxx. 2004-05-20 00:56:12 +00:00
petrov 1f82a4c90e ifdef protection for sparc64_ipi_ function calls. 2004-05-20 00:52:58 +00:00
kleink 7b3b647647 Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
christos 4ad27a5358 add COMPAT_20 2004-05-02 03:13:34 +00:00
kleink 0e5d242328 Update for new pci_devinfo(9) signature. 2004-04-24 15:49:00 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
petrov d9120c091a Clean-up unused defines and variables. 2004-04-09 19:41:57 +00:00
nakayama 1de145799e Revert a part of rev. 1.44.
OF_getprop can get only the first "reg" property with a statically
allocated buffer, but prom_getprop cannot.
This should fix a "kernel trap 30: data access exception" when you
invoke a pcictl(8).
2004-04-04 11:53:40 +00:00