toshii
ff71a021ca
There is no /usr/include/hpcarm/disklabel_acorn.h.
2001-04-06 11:10:57 +00:00
toshii
3180bc6ac6
Fix a couple of bugs including kernel_pt_table[] range overflow.
...
I thought some incompatiblity with gcc-2.95.3 prevented booting,
but the actual reason was this silly overflow.
2001-04-06 05:38:01 +00:00
toshii
fe9328ad71
Reorder so that basic devices attach first.
2001-03-31 13:49:44 +00:00
toshii
2303009aeb
Add SA11[01]0 DMA controller register definitions.
...
(I forgot to commit this a week ago.)
2001-03-31 13:13:22 +00:00
toshii
4f12f94c95
Protect spl changing functions from interrupts.
2001-03-31 12:53:59 +00:00
toshii
c1244a5828
Remove cons_init(com), which prevents compiling in com_pcmcia.c.
2001-03-31 12:52:31 +00:00
toshii
02811d05f2
Fix a bug which caused interrupt loss.
2001-03-31 12:49:21 +00:00
toshii
2efdaff40e
Set hardware interrupt masks in sa11x0_intr_{establish,disestablish}.
2001-03-31 12:48:10 +00:00
toshii
129f529148
Back out most of rev 1.4 so that it compiles again.
2001-03-31 12:36:53 +00:00
toshii
dfddb1e107
Increase spl_masks[] size by one and set the extra element to 0.
...
irq_entry accesses here.
2001-03-31 12:22:37 +00:00
toshii
221f247a25
Add some missing functionality.
...
- wait READY signal in enable function
- use tsleep for large delays
- implement disable function
2001-03-27 18:06:39 +00:00
lukem
20ba07f2fe
- add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy",
...
and use appropriately
- create more helper macros:
. cdev__xyz_init(c,n), such as cdev__ocri_init() for
/* open, close, read, ioctl */, etc.
. cdev__xRy_init(c,n), where nullop is used instead of enodev to dummy out
method `R' and the comments now read /* xxx (read) yyy */ instead
. cdev__xyz_t_init(c,n,t) - as per cdev__xyz_init, but sets d_type = t
as well
- use seltrue instead of dev_noimpl(poll,*), as (IIRC) cdevsw.d_poll should
always DTRT WRT returning a valid result. (a few devices previously
incorrectly returned ENODEV)
- use dev_noimpl(stop,enodev) instead of dev_noimpl(stop,nullop) if tty
== 0, because it doesn't matter if dev_type_stop isn't implemented in that
case, and it allows the use of the cdev__xyz_init macros. certain ports
(sparc,sparc64,x68k) used the nullop method for dev_type_stop in a few
drivers, whereas everything else uses enodev
- ensure that the comments are accurate WRT the behaviour of a given entry
2001-03-26 12:33:22 +00:00
toshii
d2f3ad2de2
Support machdep.booted_kernel sysctl.
2001-03-23 11:10:10 +00:00
toshii
7ed6dadd10
Handle bootargs passed by hpcboot.
...
Change stack pointer initialization.
2001-03-23 08:58:14 +00:00
toshii
2d6322c3be
Handle ELF symbol table.
2001-03-22 03:45:39 +00:00
lukem
9f60674a47
now that duplicated stuff has been moved to sys/conf.h, remove unnecessary
...
defs for: lpt, joy, pc
2001-03-21 23:42:14 +00:00
toshii
7e9512010c
Oops. I forgot this line.
2001-03-21 17:43:39 +00:00
toshii
4b32677535
Map DMA controller and disable its DMA channels.
2001-03-21 17:42:37 +00:00
toshii
f8dab8e69a
Make card insertion/removal work.
...
XXX powerdown and {io,mem}_unmap are still missing.
2001-03-21 16:16:35 +00:00
toshii
7c429e90c2
Handle interrupt polarity.
2001-03-21 16:08:34 +00:00
toshii
f1b9737b90
Fix nit.
2001-03-21 14:48:30 +00:00
toshii
d16849a006
Make this compile again.
2001-03-21 14:40:00 +00:00
toshii
1f21d8b280
hpcarm kernel is ELF.
2001-03-20 18:01:49 +00:00
chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
toshii
c08eec9f47
Use hpc/hpc/disksubr.c.
2001-03-14 14:47:40 +00:00
bjh21
aebf9049d4
Update to use install_coproc_handler_static(), since install_coproc_handler()
...
isn't safe this early.
XXX hpcarm should use db_machine_init() to do this.
2001-03-13 20:52:48 +00:00
toshii
1bb261e173
Fix interrupt handling somewhat so that break signal gets DDB.
2001-03-12 03:27:18 +00:00
toshii
ffe630e7c3
Sync with sa11x0_reg.h rev 1.4.
2001-03-11 14:37:03 +00:00
ichiro
ea4611b0cd
add ExtendedGPIO desc of iPAQ H3600
2001-03-11 07:27:36 +00:00
ichiro
2cb44b8020
add h3600 and jornada720 gpio port and irq
2001-03-11 06:00:42 +00:00
toshii
a9e9b871de
Add sacc, sacpcic, and sagpcic.
2001-03-10 19:05:40 +00:00
toshii
f14e35f58e
Driver code for SA11x1 based PCMCIA devices.
2001-03-10 19:01:27 +00:00
toshii
79d31f6571
Common driver code for SA11x0 PCMCIA function.
2001-03-10 19:00:39 +00:00
toshii
57abc92eeb
This file is no longer used. PCMCIA driver code is divided into
...
sa11xx_pcic*, sa11x0_pcic* and sa11x1_pcic*.
2001-03-10 18:59:22 +00:00
toshii
2d36b2225d
Support SA1111 companion chip.
2001-03-10 18:50:37 +00:00
toshii
356943c6c4
Fix nit. Read functions were actually writing. :-(
2001-03-10 17:32:14 +00:00
toshii
3a52278a23
Map GPIO registers in saip.
2001-03-10 15:34:38 +00:00
toshii
4c08e34e90
hpcarm/hpcarm/ast.c is no longer.
2001-03-10 14:10:51 +00:00
toshii
b2cb6de80e
Use sa11x0_bs_tag instead of mainbus_bs_tag.
2001-03-10 13:34:34 +00:00
toshii
a62d9f6fa0
Handle the offset argument in bus_space_{read,write}* correctly.
2001-03-10 13:29:38 +00:00
toshii
4333644371
Copy bus_space_map() function from arm/mainbus/mainbus_io.c.
2001-03-10 13:27:53 +00:00
toshii
9224009c5d
Fix bugs in delay().
...
- it could wait infinitely.
- large roundoff error.
2001-03-09 18:55:29 +00:00
toshii
aa76b5208c
Make it compile again after arm, arm32 changes.
2001-03-09 12:13:15 +00:00
matt
b7cd0eeaac
Move arm32/arm32/ast.c to arm/arm32/ast.c
2001-03-06 07:52:35 +00:00
bjh21
83b8de43dd
Move undefined.c from sys/arch/{arm32/arm32,hpcarm/hpcarm} to sys/arch/arm/arm
...
in preparation for making it usable on arm26 as well.
2001-03-05 23:06:14 +00:00
toshii
850f81157a
Fix an error printf format.
2001-03-05 07:11:18 +00:00
bjh21
25ec015449
Merge setregs() from sys/arch/arm32/arm32/machdep.c,
...
sys/arch/hpcarm/hpcarm/machdep.c and sys/arch/arm26/arm26/vm_machdep.c
into sys/arch/arm/arm/arm_machdep.c.
2001-03-04 23:25:00 +00:00
bjh21
aa34be4532
Make "options ARMFPE" work again.
...
Mostly due to Richard Earnshaw.
2001-03-04 14:32:12 +00:00
bjh21
0bf382d920
Remove redundant cdev_decl(cpu).
2001-03-04 14:14:23 +00:00
matt
b575ca9f67
Remove local copies of these since they are now shared and are
...
in arm/arm32
2001-03-04 08:29:22 +00:00