Commit Graph

97 Commits

Author SHA1 Message Date
chris
fbc89911ed Fix location of some headers, IPAQ kernel now manages to make depend. 2002-02-08 10:37:16 +00:00
toshii
4e09455de8 Make jornada720 serial port work when it isn't used as a console. 2002-01-04 16:36:41 +00:00
thorpej
28466919a2 Use <machine/intr.h> rather than <machine/irqhandler.h> 2001-11-27 01:03:52 +00:00
thorpej
969599022a Use <arm/cpufunc.h>, not <machine/cpufunc.h>. 2001-11-23 19:36:48 +00:00
thorpej
fec02f1259 No need to pull in <machine/pte.h> directly. 2001-11-23 17:23:40 +00:00
thorpej
b393d0d3f7 Kill <machine/katelib.h>. Any place that still uses it should just
reference <arm/arm32/katelib.h> until such time as all use of this
file has been purged from the face of the earth.
2001-11-22 18:34:30 +00:00
lukem
99bccc3cab - pull in opt_kgdb.h where necessary
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
	KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
	DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for  options KGDB_DEVNAME="\"com\""
- use correct quotes for  options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +00:00
takemura
ca59965026 Renamed platid_search() to platid_search_data() and added new platid_search().
Platid_name() was re-implemented using platid_search().
2001-09-24 14:29:30 +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
pooka
58bcf84390 Add bs_notimpl_bs_mmap into the bus space struct to make this cope with
the recent ARM bus_space_mmap() change and hence make this compile.
2001-09-10 15:47:38 +00:00
ichiro
4c5c9a1509 add register of GPCLK/UART1 (SACOM1_BASE) 2001-08-01 06:43:50 +00:00
chris
9f04d8d670 A couple of tidy ups to pmap:
pmap_t -> struct pmap * in pmap.c and pmap.h
kernel_pmap -> pmap_kernel() everywhere.

Compiled and booted on riscpc and cats.
2001-07-28 18:12:43 +00:00
ichiro
073132a7b9 define GPIO alternate functions
They become effective by turning on GAFR.
2001-07-13 03:33:38 +00:00
ichiro
6244e7b3a1 add more MCP status register definition 2001-07-12 03:58:35 +00:00
ichiro
4e28fbd762 add SA-1110 MCP(Multimedia communications Port) register definition 2001-07-11 16:02:25 +00:00
ichiro
88874f0037 add MCP control register1
this resides within the same address space as PPC
2001-07-11 15:56:00 +00:00
ichiro
b5bb8c348f add MCP address register 2001-07-11 15:20:23 +00:00
toshii
ae6299f9d3 saip_sc (in struct sapcic_socket) is gone. 2001-07-11 03:54:19 +00:00
ichiro
034e3a0d6a moved sa11x0_lcd* to dev/ipaq_lcd* 2001-07-10 18:09:31 +00:00
toshii
124bde736e oops. two cookies are too much. use pcictag_cookie. 2001-07-10 17:35:15 +00:00
ichiro
e205409087 sapcic_socket shouldn't use ipaq_softc. use sapcic_cookie 2001-07-10 17:22:04 +00:00
ichiro
6952d8194a delete Extended-GPIOs mapping 2001-07-10 16:39:33 +00:00
ichiro
0d2e761def sa11x0_pcic* moved to arch/hpcarm/dev and renamed ipaqpcic* 2001-07-10 16:37:29 +00:00
ichiro
75f2a81776 sa11x0_softc -> ipaq_softc
because PCIC of sa11x0 moved to the bottom ipaqbus
2001-07-10 16:35:59 +00:00
ichiro
4a84e3e7bd Separation of SA-11x0 GPIOs and iPAQ specific GPIOs. 2001-07-10 14:58:28 +00:00
toshii
c90ac4b756 Sync with rev. 1.5 of sa11xx_pcicvar.h. 2001-07-09 06:20:31 +00:00
toshii
57755d7760 sapcic_socket shouldn't use sacc_softc, use opaque data type instead. 2001-07-09 05:19:05 +00:00
ichiro
89ebce9618 comment out: bus_space_write_2 2001-07-08 14:45:36 +00:00
ichiro
ec7a32a628 cosmetic change 2001-07-08 14:45:03 +00:00
ichiro
320adf2df7 comment out: bus_space_write_2 2001-07-08 14:43:52 +00:00
ichiro
0e7c688b67 add definition of EGPIO_LCD_INIT 2001-07-08 14:41:14 +00:00
ichiro
9e80e9aca3 fix and fill Extended-GPIO 2001-07-08 10:36:31 +00:00
ichiro
9c344c76c8 add LCD register definition 2001-07-08 06:38:59 +00:00
ichiro
66a6cc178d pcmcia support of SA1110 2001-07-07 15:53:24 +00:00
ichiro
f9d2eac504 Initialization of Extended GPIOs 2001-07-07 15:50:37 +00:00
ichiro
975265e67e add extended GPIOs register 2001-07-07 15:49:41 +00:00
toshii
5455a9ad87 Use platid based mechanism to select PCMCIA socket voltage. 2001-07-07 08:45:43 +00:00
ichiro
2ee26bb302 s/saip_softc/sa11x0_softc 2001-07-07 08:10:15 +00:00
ichiro
b1a5e525b8 mapping extended GPIOs
iPAQ: Extended GPIOs appears at address 0x41000000
2001-07-07 07:04:56 +00:00
ichiro
cd3fb67f14 bzero->memset, bcopy->memcpy 2001-07-07 06:29:13 +00:00
ichiro
07a7db71f2 using bus_space_tag for salcd 2001-07-02 13:52:29 +00:00
toshii
56b40cd78a Fix autoconf related botch: do printf("\n") in attach funcs rather than
in cfprint.
2001-06-29 17:22:50 +00:00
toshii
f1e3122487 Fix 3rd arg of config_search(). 2001-06-29 16:58:55 +00:00
toshii
5df8e31135 Probe SA1111's ID register. Fix 3rd arg of config_search(). 2001-06-29 16:58:17 +00:00
toshii
7b01bb9073 Add ID register location. 2001-06-29 16:54:55 +00:00
toshii
e5c43d9b98 Fix a nit. 2001-06-23 12:32:20 +00:00
toshii
6adb72bfb8 Speed optimization, inspired by recent sys/arch/arm/arm/blockio.S changes.
Among bus_space_{read,write}_multi, only bus_space_read_multi_2 is
optimized.  bus_space_write_multi_2 didn't gain speed with ldm.
bus_space_*_multi_{1,4} aren't heavily used anyway.
2001-06-23 10:19:04 +00:00
toshii
8128f45c37 Remove useless DEBUG code. 2001-06-22 01:29:26 +00:00
toshii
352aae04a4 Fix type for softintr handlers. 2001-06-20 02:21:58 +00:00
toshii
ccc8a74c00 Map PPC (peripheral pin controller) registers also. 2001-06-20 02:19:55 +00:00