Commit Graph

269 Commits

Author SHA1 Message Date
matt 7ce6450eac Add a merged <pcb.h> for arm26/arm32. 2001-09-03 19:20:27 +00:00
matt 9b16bbab9f Move constab from conf.c to autoconf.c (since conf.c is going away shortly). 2001-09-03 05:02:18 +00:00
matt cc353c4912 Sync hpcarm & arm32 conf.c (this entails shifting the i4b major numbers
up by one on arm32 and and adding notdef entries on hpcarm).
2001-09-03 01:33:38 +00:00
chris 37fb92dcab Remove unused entries from the pcb. This is with a long term view of merging the arm26 and arm32 pcb's. 2001-08-27 11:39:43 +00:00
jdolecek c495131fe3 Move _insque()/_remque() to libkern. Once remaining uses would
be converted to <sys/queue.h> macros, _insque()/_remque() would be eliminated
altogether.
2001-08-12 08:35:31 +00:00
chris 191de4d242 Checking a whole host of pmap changes:
Improved locking (not that we actually use it on a uniprocessor, but one day :)
Removed unneeded splvm's
tweaked pmap_clean_page code to only flush the cache if the page is mapped in the current pmap  (based on diff from richard E)
Adopted pv entry allocation mechanism from i386.
Laid framework for returning ptp's when we've finished with them rather than holding onto them till the process exits.
ptp's are now allocated with a uvm object for the pmap, means that we can walk a list to free them off in pmap_release, until they get freed off by pmap_remove.

Also implemented a page zeroing function when the processor is idling.  Note that hpcarm may wish to disable this.

I believe this code to be stable, if anyone has any problems please shout up.
2001-08-11 13:20:19 +00:00
ichiro 9ada1599ca implement rx/tx protocol routine of atmel microcontroller. 2001-08-02 18:51:00 +00:00
toshii 5424e08a49 Change the start address to load the kernel. We have 768k more free
memory now.
2001-08-02 14:45:40 +00:00
toshii 7aac1bef3b Don't assume KERNEL_TEXT_BASE >= 0xc0080000. 2001-08-02 14:42:08 +00:00
ichiro d9f2bbf31f add initialization of GPDR pin direction to ipaqpcic_init(sc).
add judgment of complete of the Card (SAPCIC_STATUS_READY)
2001-08-01 13:18:44 +00:00
ichiro 1af1e2f9eb implement a atmelgpio.c
this is initial version, only frame.
2001-08-01 07:59:43 +00:00
ichiro e1eef3118a add entry of Atmel microcontroller and uda1341 codec 2001-08-01 07:03:45 +00:00
ichiro a179a1a6b1 i mistake
reverse a change
2001-08-01 07:02:54 +00:00
ichiro 1b56a92cf9 add entry of Atmel microcontroller and uda1341 codec 2001-08-01 06:59:17 +00:00
ichiro 4c5c9a1509 add register of GPCLK/UART1 (SACOM1_BASE) 2001-08-01 06:43:50 +00:00
ichiro 286cc764db add more register of DUAL PCMCIA SLEEVE for iPAQ 2001-08-01 06:14:31 +00:00
ichiro 1af74c304d iPAQ uses Atmel microcontroller to service a few peripheral devices
(Touch panel, Battery status, button events, and others status)
2001-07-31 21:33:03 +00:00
toshii 9221ef3b13 Make hpcarm kernel build after arm/arm32 file move. 2001-07-29 15:21:33 +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
takemura 64b6b76a21 You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e.
little endian like order, however, usage of 'HPCFB_SWAP_*' was widely
misunderstood because it reminded you of 'RI_BSWAP' in raster operation.
Please note that 'RI_BSWAP' indicate that frame buffer byte order is different
from natural order of system while 'HPCFB_REVORDER_*' is independent of
system byte order.
2001-07-22 09:56:39 +00:00
hpeyerl 7ef32026cd make slash, backslash, question, and pipe (bar?) keys work on US Jornada
keyboard.

We still don't have {}[]`~ since these require the 'fn' key modifier. Same
with num-lock, caps-lock or funky british currency symbols.
2001-07-20 04:28:50 +00:00
wiz 1bc6d2cee9 Fix typo (`information' has an 'r'). 2001-07-19 16:13:00 +00:00
hpeyerl 949c8eb434 "infomation" -> "information" 2001-07-16 22:01:38 +00:00
ichiro 5cbb157eb8 initial commit UDA1341 CODEC 2001-07-15 20:19:31 +00:00
ichiro e5e13da17f Mapping the SSP registers 2001-07-15 17:18:53 +00:00
ichiro 5bc60be08a add handle of sc_ssph 2001-07-15 17:12:11 +00:00
ichiro fed0a40ba6 add definition I/Opins of UDA1341 2001-07-15 13:29:38 +00:00
ichiro cf1c37c9aa UDA1341TS economy audio CODEC for portable applications.
This is used for iPAQ CODEC.
2001-07-15 08:34:36 +00:00
ichiro 60f2ec7ec1 enable extended gpio operation 2001-07-15 00:30:17 +00:00
matt 24a2b394aa Make <sysarch.h> valid for all arm platforms. Adjust/remove port-specific
includes as required.
2001-07-14 00:23:09 +00:00
ichiro 2d93d462a3 The definiton which overlapped was erased. 2001-07-13 06:54:35 +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 83030a0348 cosmetic change, add more comment,
delete unused include file
2001-07-11 00:10:04 +00:00
ichiro 987e5b28ea I delete unused include file 2001-07-11 00:05:55 +00:00
ichiro 834543dabc ipaqlcd attach to ipaqbus 2001-07-10 18:10:46 +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 f8f0c9040d I missed to add bus_space_tag_t mapping 2001-07-10 17:24:35 +00:00
ichiro dcd782fb65 use sapcic_cookie 2001-07-10 17:23:18 +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 50ac712dbc add ipaqbus and ipaqpcic 2001-07-10 16:34:08 +00:00
ichiro f408349001 add iPAQ virtual bus and PCIC of iPAQ 2001-07-10 16:31:52 +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
abs 01b024cd5b Standardise TCP_COMPAT_42 as commented out, grouped with other COMPAT options,
and with the comment '4.2BSD TCP/IP bug compat. Not recommended'
Add commented out 'TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG'
(All hail amiga and atari which make some attempt to automate the
multiplicity of config files...)
2001-07-08 16:32:12 +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 a8696d3a73 Extended GPIO address is 0x49000000. 2001-07-08 03:33:42 +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 ff7d26d2ed KASSERT current_intr_depth == 0 before uvm_fault. 2001-06-29 02:43:56 +00:00
toshii 84408cfa2e Catch up long ago arm32 change: vm_offset_t -> {p,v}addr_t. 2001-06-29 02:40:28 +00:00
toshii 8a0e9b17a0 Use ld -X instead of -x, to keep local symbols for DDB.
XXX does other arm ports need this change?
2001-06-29 02:38:32 +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 446833d1b1 Enable a bunch of PCMCIA network cards. They cannot be tested before
enabling.
2001-06-23 10:05:11 +00:00
toshii c9b6aeb4f9 Add jornada720 keyboard device. 2001-06-23 09:28:59 +00:00
toshii 912e831053 Remove obsolete BOOTINFO_FB_* workaround. 2001-06-23 09:25:17 +00:00
toshii b57d496dee Add support for jornada720 keyboard and some LCD parameter controls.
The code is somewhat incomplete, but is quite functional.
2001-06-23 09:20:05 +00:00
toshii e671a13d47 Move sed1356_softc definition to a header file. Setup a backlight
power control hook.
2001-06-23 09:13:06 +00:00
toshii 90b62cfa61 Don't include <machine/autoconf.h>, which should not be necessary.
Moreover, hpcarm doesn't have such a header file.
2001-06-22 14:38:44 +00:00
toshii 8128f45c37 Remove useless DEBUG code. 2001-06-22 01:29:26 +00:00
toshii 8b8a1cfa73 Define __HAVE_GENERIC_SOFT_INTERRUPTS, and nuke traditional softserial and
softclock.
2001-06-20 02:34:26 +00:00
toshii 9663b23e37 Add IPL_SOFT* interrupt levels.
XXX These's no point in having two copies of intr masks (spl_masks and
XXX imask).  This needs to be fixed.
2001-06-20 02:30:47 +00:00
toshii 9159944a03 Add IPL_SOFT* interrupt levels.
Fix type for softintr handlers.
2001-06-20 02:26:30 +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
toshii b0f168f8ce GC dead codes. 2001-06-20 02:18:06 +00:00
toshii 681b3193ca Make sacom generic soft interrupts ready. 2001-06-20 02:16:49 +00:00
wiz ac951736bc `response', not `responce' 2001-06-19 13:45:52 +00:00
wiz 3f9984fc90 `existent', not `existant' 2001-06-19 13:42:07 +00:00
bjh21 cb36bacea5 Merge arm32/dev/bus_space_notimpl.S and hpcarm/hpcarm/bus_space_notimpl.S
into arm/arm/bus_space_notimpl.S.  They were identical anyway.

This file has no excuse for being in assembler, but I'll leave that for another
day.
2001-06-18 22:26:15 +00:00
bjh21 80c5d7ab99 Move <arm/arm32/bus.h> to <arm/bus.h>, since it looks like it's going to be
necessary on arm26 as well.
2001-06-18 21:37:32 +00:00
toshii bf923a99b8 Don't set HPCFB_SWAP_BYTE (if little endian). 2001-06-16 12:53:05 +00:00
toshii d69d2974a4 Sprinkle some volatile keywords around inline asm so that the optimizer
doesn't reorder critical section codes.
2001-06-07 02:38:59 +00:00
bjh21 6a32761143 Now that cpu_dataabt_fixup() can fail, print slightly more useful information
(address and disassembly of the instruction that aborted) when it does so.
2001-06-02 22:48:40 +00:00
chs 821ec03ed9 replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00