martin
f801cd463b
Rename EBUS_PADDR_FROM_REG uses to EBUS_ADDR_FROM_REG.
2002-03-01 11:51:00 +00:00
eeh
93ead6c5e0
Fix pr sparc64/15633: datafault at tlp_start causes panic
...
Also clean up some additional 32-bit kernel printf issues.
2002-02-21 02:42:27 +00:00
martin
1b4393c5db
Cast/format fix to make this build on 32bit kernels.
2002-02-12 20:50:47 +00:00
eeh
424177d21b
Provide more info in psycho_ue.
2002-02-08 20:04:14 +00:00
eeh
bfba946595
Handle the case where a DMA operation wraps from the end of a page to the
...
beginning of the same page properly by double-mapping that page.
2002-02-08 20:03:45 +00:00
eeh
4daea20c93
Move a brace so this will compile w/o DEBUG.
2002-02-08 00:47:04 +00:00
eeh
92ef550481
Overhaul iommu_dvmamap_load_raw().
2002-02-07 21:35:26 +00:00
jdolecek
ff8305bbac
Switch to MI dev/md_root.c for archs which don't have any special
...
memory disk hooks (i.e. everything except atari).
2002-01-21 21:56:57 +00:00
eeh
79cc3b0d73
Set the interrupt retry timer to 0xff.
2002-01-14 16:30:31 +00:00
pooka
bbee62e254
declare variable used only with BLINK inside #ifdef BLINK to avoid
...
unused variable warning
2001-10-23 20:59:42 +00:00
mrg
da8425b96f
clean up ebus:
...
- kill dead dma code
- remove icky self->dv_parent casts
audiocs @ ebus doesn't crash anymore, but it doesn't appear to work
yet either...
2001-10-22 08:09:46 +00:00
mrg
8243634795
this has moved to dev/ebus
2001-10-22 08:04:56 +00:00
mrg
bf444e34ac
kill a dead driver. the floppy driver will be shared with sparc anyway...
2001-10-22 08:03:01 +00:00
mrg
abcb6203a8
implement `options BLINK' for sparc64 for ebus & sbus. tested on a U2
...
(sbus) and a U5 (ebus).
2001-10-22 07:31:41 +00:00
mrg
f9358dee8b
use <dev/ebus/ebusreg.h>
2001-10-22 07:06:20 +00:00
thorpej
397a84f51a
Fix the semantics of __PCI_DEV_FUNCORDER so that they're actually useful:
...
If __PCI_DEV_FUNCORDER is defined, don't do the song-and-dance to check if
a device is multi-function; machdep code is going to tell us exactly which
functions to probe.
Note this required changing how pci_func_devorder() works in the
sparc64 PCI machdep code; now the "curnode" is assumed to point
to the bus, rather than some function (typically 0) on the device,
just as pci_bus_devorder() makes that assumption.
All this should allow the PCI code to actually locate the second
HME device on a Sun Netra t1, which is at 3,1 -- previously, the
PCI code would have missed it because there is no device at 3,0.
(Sun deserves a brick to the head for this one -- this seems clearly
out of line with the PCI spec.)
2001-10-17 22:16:41 +00:00
thorpej
b8c7d53f1c
Fix a typo in a DIAGNOSTIC check.
2001-10-17 18:43:04 +00:00
eeh
0bda325da0
Clear the dmamap inside splhigh() protection.
2001-10-08 19:24:20 +00:00
eeh
bb99dc52c7
Manage both streaming caches on psycho/psycho+.
2001-10-07 20:30:40 +00:00
eeh
0e60a3377b
Remove bsd_openprom.h, which is only for compatibility with the sparc port.
2001-10-05 21:53:56 +00:00
thorpej
34dbd19c49
Delete this file; nothing includes it, and it is simply an (incomplete)
...
copy of <dev/pci/ppbreg.h> anyway.
2001-10-05 17:53:36 +00:00
eeh
cd58dffb9d
Handle the situation where console input and console output go to different
...
devices. (N.B. The com driver does not handle different instances as input
and output devices, so this only works for two different drivers.)
2001-10-02 20:19:33 +00:00
chs
80373b7e54
don't depend on other headers to include sys/proc.h for us.
2001-09-28 11:59:51 +00:00
eeh
98ecb5b215
getprop* -> PROM_getprop*
2001-09-26 20:53:05 +00:00
eeh
766a9b8c9c
Change bus_space_mmap() signature to the official one.
2001-09-24 23:49:31 +00:00
eeh
6138deb0d4
Handle DMA boundaries a bit better.
2001-09-21 03:04:09 +00:00
thorpej
e38a2e561a
machine/fbio.h -> dev/sun/fbio.h
2001-09-19 18:10:32 +00:00
mrg
002ddf2283
in pci_conf_read() and pci_conf_write(), convert all printf()'s to only
...
occur if SPDB_CONF (and hence DEBUG). also convert the panic in
pci_conf_write() to a SPDB_CONF warning and a return.
this cleans up pcictl(8) support.
2001-09-15 19:32:14 +00:00
eeh
a7283de29c
Be a bit more elaborate with UE DMA errors.
2001-09-15 07:10:04 +00:00
eeh
388726b340
Added iommu_extract() for debug purposes.
...
Anyone caught using it for anything other than debug will be shot.
2001-09-15 06:55:50 +00:00
chris
0e7661f023
Update pmap_update to now take the updated pmap as an argument.
...
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.
Currently this is a no-op on most platforms, so they should see no difference.
Reviewed by Jason.
2001-09-10 21:19:08 +00:00
eeh
574892a487
Get rid of spurious OF_getprop().
2001-09-10 16:27:53 +00:00
eeh
9d636228e1
Sun Blade 100 support (and some psycho fixes from Jason Wright).
2001-09-10 16:17:06 +00:00
eeh
5783dd5873
instance-to-path works on instances not nodes.
2001-08-31 17:10:54 +00:00
eeh
b14bf2ceef
Fix incorrect parentheses.
2001-08-28 14:51:28 +00:00
eeh
1007ef1595
Fix backwards compare. (From Jason Wright)
2001-08-23 16:14:12 +00:00
eeh
4b569fc269
Fix bug involving small, non-contiguous dma segments.
...
From Manuel Bouyer.
2001-08-06 22:02:58 +00:00
eeh
7950c7dffd
Don't match ebus nodes not called "ebus" like the ones on hme cards.
2001-07-25 03:49:54 +00:00
eeh
64a9c222c0
Use OF_getprop instead of getprop.
2001-07-24 19:27:10 +00:00
eeh
cc6781a464
Get rid of a bunch of obsolete files.
2001-07-23 18:21:26 +00:00
eeh
1fead733d9
PCI overhaul.
2001-07-20 00:07:12 +00:00
eeh
7e8421fa5b
Also attach apropriate devices named "serial".
2001-07-19 23:55:50 +00:00
wiz
cc0b68092e
Correct various misspellings of 'transfer' and inflected forms.
2001-07-08 18:06:42 +00:00
eeh
55e676fb15
Remove another unused file.
2001-06-25 23:07:03 +00:00
eeh
47b3df529a
Remove unused file.
2001-06-25 21:28:03 +00:00
simonb
e5bd00e48d
For ports that wire up pciide in compatibility mode, have
...
them define __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH
in pci_machdep.h and pciide_map_compat_intr() only calls
pciide_machdep_compat_intr_establish() if that preprocessor
define exists.
Ports that don't need to do this no longer need to supply a
dummy function.
2001-06-08 04:48:54 +00:00
mrg
46762d3560
fix lint exposed by GCC 3.0 20010604 (prerelease).
2001-06-04 20:56:51 +00:00
lukem
d84d2c6c85
add missing #include "opt_kgdb.h"
2001-05-30 15:24:23 +00:00
chs
11a9651c8f
replace vm_page_t with struct vm_page *.
2001-05-26 21:27:10 +00:00
mrg
2f3c8dae5a
correct some comments. <80 char debug statements.
2001-05-18 22:01:57 +00:00