scw
5801c73162
- Remove ixpsip_bs_tag (ixp425_sip_io.c). It just duplicated some of
...
the functionality of ixp425_bs_tag.
- Add missing stream_{read,write}_1 ops to ixp425_bs_tag.
- Re-work the delay() implementation to use the free-running Time-
Stamp counter. This removes the need to bootstrap TMR0 early on.
2003-11-16 12:41:03 +00:00
scw
f77bf2bb0c
Enable/Restore alignment fault state on interrupt handler entry/exit.
2003-11-05 21:10:59 +00:00
scw
e9cd075343
It makes more sense to map the expansion bus registers in ixpsip
...
instead of the pci bridge driver.
2003-11-02 21:24:39 +00:00
scw
21f388f6e0
Add generic read/write region 1 ops.
2003-11-02 21:20:32 +00:00
thorpej
920b229e72
"bogus pin" -> "bogus device" in last change.
2003-10-31 01:12:06 +00:00
matt
b9e31106e8
Stop some (bogus) gcc unitialized variable warning.
2003-10-30 22:04:39 +00:00
matt
a72426fa60
Fix (real) uninitialized error. (Someone familiar with this should see
...
if is really an error).
2003-10-30 22:03:46 +00:00
chs
b42acb8d26
uninitialized variable.
2003-10-28 15:31:33 +00:00
scw
41e7743573
Map the expansion bus registers.
2003-10-23 09:32:17 +00:00
scw
0df102009a
Add a few more register definitions.
2003-10-23 09:29:36 +00:00
scw
3a414f559e
Use pmap_enter() instead of pmap_kenter_pa() as the former automatically
...
ensures the mapping is cache-inhibited, so we don't have to frob the PTE
directly.
2003-10-23 09:25:44 +00:00
scw
0047ff3f6e
Ok, I give up for now. There's no easy/reliable way to deal with
...
these spurious interrupts.
2003-10-08 19:46:12 +00:00
scw
677ee2fdbf
Simplify the last change to just check for spurious GPIO interrupts.
2003-10-08 19:39:40 +00:00
scw
ecc5fec473
If no interrupt handler claims to have dealt with a level-triggered
...
GPIO interrupt, check the GPIO interrupt status register after clearing
it down to see if the interrupt source has disappeared. If it does,
assume it was a spurious event. Otherwise, panic.
2003-10-08 19:31:17 +00:00
scw
fb2c521159
Make it easier to support different types of IXP425 board:
...
- Move board-specific PCI/GPIO initialisation to its rightful place.
- Handle clearing down latched GPIO interrupts in a board-independent way.
- Use MI com(4) driver for on-chip UARTs.
- Misc. tidying up.
Tested on IXDP425.
2003-10-08 14:55:04 +00:00
thorpej
d322684f55
Add support for the i80312 and i80321 I2C controllers.
2003-10-06 16:06:05 +00:00
thorpej
df011fda1d
Make sure to pass mod/ref seeds with PMAP_WIRED.
2003-10-06 15:43:35 +00:00
thorpej
388386eef7
Make sure to pass mod/ref seeds with PMAP_WIRED.
2003-10-06 00:40:36 +00:00
bsh
81227d1ae1
avoid compile error with GCC3, and add some comments.
2003-10-03 07:24:05 +00:00
ichiro
066497ec38
add comment and delete unused definition
2003-09-25 14:48:16 +00:00
ichiro
663ccee1cc
pci bus support
2003-09-25 14:11:18 +00:00
matt
6bf111a80e
Fix GCC 3.3.1 nits.
2003-09-21 19:32:37 +00:00
bsh
02087c6497
make this compile again. (arm32_bus_dma_tag._cookie)
2003-08-07 16:58:35 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
ichiro
208a93d254
fix dont reset register when every interrupt.
...
pointed by Shoichi Miyake port-arm/22392
2003-08-07 13:32:27 +00:00
thorpej
adef1b7dab
Add PBIU register bits.
2003-07-28 16:53:31 +00:00
thorpej
472c98cf7a
Fix think'o in last. Pointed out by Izumi Tsutsui.
2003-07-27 04:52:28 +00:00
thorpej
ca601a7747
Flesh out inittodr() and resettodr().
2003-07-26 05:51:11 +00:00
bsh
5d7bb2a528
$Id$ -> $NetBSD$
2003-07-23 09:26:15 +00:00
lukem
08716eae82
__KERNEL_RCSID()
2003-07-15 00:24:37 +00:00
dogcow
ccd442eae3
gcc 3.2 complained about the missing __volatile and extra tokens after #endif.
2003-07-05 06:53:08 +00:00
ichiro
c2cac1cbd8
add sdram configration register
2003-07-02 14:03:52 +00:00
ichiro
38e0b1c5c5
use struct pmap_devmap
2003-07-02 11:02:28 +00:00
ichiro
25096a1afe
backout to recent changes w/o lwp changes
2003-07-02 10:40:46 +00:00
thorpej
22c08fe417
PCI-X requires that that devices updated their PCIXSR on every
...
config write with the device number specified in AD[15:11]. If
we don't set this field when issuing a Type 0 cycle, each device
could end of thinking it is at device 0, which can cause a number
of problems. Doing this unconditionally should be OK when only
PCI devices are present.
2003-06-30 15:27:12 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
ichiro
4eee2aed2e
struct proc * -> struct lwp *
...
ixp425_com:
add some status flags
2003-06-29 10:51:29 +00:00
bsh
1928d3ed36
enable BTUART
2003-06-18 09:40:06 +00:00
bsh
ddb2467dd1
make this compile again:
...
+ we don't have struct pxa2x0_softc anymore.
+ call pxa2x0_clkman_config() to provide clock to LCDC block.
2003-06-17 09:43:14 +00:00
bsh
3c87cee70f
white space nit.
2003-06-17 09:32:38 +00:00
thorpej
452a8fdae2
Rename IPL_IMP -> IPL_VM.
2003-06-16 20:00:56 +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
thorpej
5ae120da7b
Introduce a new "type" field in the softc which is used to indicate
...
the general UART type. Currently, we have "normal", "hayesp" and
"pxa2x0" types. Replace the corresponding hw flags with the new type
values.
2003-06-14 16:25:52 +00:00
scw
e9bb3437d0
- Correct a couple of comments.
...
- Set AC97_MODR to the right value.
- Add AC97_FEFIE.
2003-06-11 20:43:01 +00:00
scw
12b4852056
Gah, fix previous. s/defopt/defflag/
2003-06-06 19:56:59 +00:00
scw
72ab47548b
Add entries for byte-wide {read,write,set} region.
2003-06-06 09:05:42 +00:00
scw
233a67b251
- Rearrange the PXA2x0 support code to better support attaching
...
child drivers such as interrupt and gpio controllers.
- Add a function to probe SDRAM size at boot time.
- Add a function to configure the Clock Manager's CKEN settings.
- Add an INTC driver.
- Add a GPIO driver.
- Add attach glue for the PXA2x0's "almost" 16550-compatible uarts.
- Tweak the LCD driver to use the GPIO driver's services for setting
up GPIO pin function.
2003-06-05 13:48:26 +00:00
ichiro
079fe66132
delete unneed bit for uart initialize.
...
and bug fix mistaken function
2003-06-03 14:13:30 +00:00
ichiro
bedffd532c
fix interrupt number
...
swap uart0 and uart1
2003-06-03 09:20:20 +00:00
ichiro
745355a88e
add pci configuration register and commands
2003-06-02 10:40:52 +00:00