bjh21
b8d9d01177
Rename arch/acorn32/dev/wskbdmap_mfii.c to arch/acorn32/dev/wskbdmap_mfii_rpc.c
...
to avoid config(8) confusion with dev/pckbport/wskbdmap_mfii.c.
2004-03-13 19:20:50 +00:00
bjh21
21d0142c1d
Remove all use of busmouse(4), instead using wsmouse everywhere, even in
...
kernels that don't use wscons otherwise. The X server released with 1.6
should be able to cope with this.
2004-03-13 18:25:25 +00:00
bjh21
33be6cb335
Add support for iomdkbc, pckbd, and pms. Don't enable pckbd in any default
...
config because the X server shipped with 1.6 didn't support it, and it seems
rude to break people's X servers when they upgrade their kernels.
2004-03-13 17:59:00 +00:00
wiz
d20841bb64
Uppercase CPU, plural is CPUs.
2004-02-13 11:36:08 +00:00
bjh21
5efebff42a
Remove the "beep" driver. Its function is largely subsumed by a
...
combination of audio(4), wskbd(4) and audiobell(). Proposed a week
ago on port-acorn32 with no reaction whatever.
2004-01-25 13:46:59 +00:00
bjh21
d25f64bd25
Add commented-out entries to attach atppc and friends at pioc.
...
While I'm here, remove entries for pioc children that never exist.
2004-01-22 13:27:07 +00:00
bjh21
cbd3cc0528
Add support for using ppbus(4) on acorn32. Only tested to the extent that it
...
attaches correctly.
2004-01-22 13:25:51 +00:00
jdolecek
6c14651ea0
cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
...
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
is included there too; dev/ic/lpt.c is not included if ppbus is
configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
glue moved to conf/files and dev/pci/files.pci respectively; remove
device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
glue
2004-01-20 19:58:00 +00:00
bjh21
a332903327
Remove sysbeep device.
2004-01-17 21:52:02 +00:00
bjh21
13d0914a93
Use audiobell for system beeps on acorn32 when vidcaudio(4) is compiled in.
...
Remove the vestigal sysbeep device and replace it with the same kind of
mechanism that pckbd(4) uses to find the bell, which is just as ugly, but
more standard. Adapt beep(4) to the new world (though I'm not sure it
deserves to live).
2004-01-17 21:49:24 +00:00
chris
fc4ee7d742
Tidy up a few things:
...
Get rid of the static bus tag, instead move it into the softc.
Update to ThorpeJ's recent variable renaming for ATA things.
De-__P and KNF prototypes, also make attach and probe static.
Add RCSID.
Add a copyright for myself.
2004-01-04 13:49:49 +00:00
thorpej
a963286f8d
More wdc_channel structure member namespace cleanup:
...
- channel -> ch_channel
- wdc -> ch_wdc
2004-01-03 22:56:52 +00:00
chris
300943f949
Tidy up the code, add a copyright block for myself. Sprinkle a few
...
comments, de-_P things.
2004-01-03 16:37:41 +00:00
chris
637bdaa1f9
Add a kernel for eb7500atx board.
2004-01-03 14:50:03 +00:00
chris
48afc0a2fc
Add conf framework support for riscstation. Add a rsbus as this allows
...
acccesses with addresses shifted by the amount specified in the cookie.
Also make the inclusion of the wscons file the resposibility of whoever
includes files.iomd. (found while attempting to checking riscstation
support into evbarm)
2004-01-03 14:46:17 +00:00
chris
31513e4110
First part of support for the eb7500atx board from simtec:
...
http://www.simtec.co.uk/products/EB7500ATX/
also available with RISC-OS as a RiscStation:
http://www.riscstation.co.uk/html/products.html
This is basic bootstrap with support for ide and networking, currently only
tested with booting from ABLE, and not RISC-OS.
I would have placed it into evbarm, but iomd doesn't appear to use the same
interrupt files as evbarm. I'll check it into here for now, until iomd
uses the common interrupt code.
2004-01-03 14:31:28 +00:00
thorpej
5bd80d8373
Rename "struct channel_softc" to "struct wdc_channel".
2004-01-03 01:50:52 +00:00
thorpej
527c829fa0
Rename:
...
- wdc_xfer to ata_xfer
- channel_queue to ata_queue
and move them to <dev/ata/atavar.h> so they can be used by non-wdc ATA
controllers. Clean up the member names of these structures while at it.
2004-01-01 17:18:53 +00:00
chris
0415feb0e4
Correct entries for IRQ_NEVENT1 and IRQ_NEVENT2. They were both out by one.
...
This now means a disk is detected on my RiscStation board.
2004-01-01 15:51:48 +00:00
bjh21
8ed8ec9577
Add a little comment explaining how to convert between RISC OS and hardware
...
CMOS addresses, since the old one's been lost.
2003-12-31 18:49:00 +00:00
thorpej
b5b951b13e
Simplify allocation of the channel queue.
2003-12-31 02:41:22 +00:00
jmc
695a2a2f9f
Change reference at bottom from sys/dev/majors to sys/conf/majors to match
...
reality
2003-12-10 02:04:00 +00:00
bjh21
b5479325d6
Correct typo in last.
2003-12-06 20:00:12 +00:00
bjh21
cdfcb25142
Fix tiny formatting glitches.
2003-12-06 17:39:30 +00:00
bjh21
870dad0f43
Update for new world of indirect wdc registers.
2003-12-02 23:47:20 +00:00
bjh21
f68440c42d
Remove a spurious commented-out line.
2003-11-23 15:28:03 +00:00
bjh21
b6c0709c09
Rename os_CLI() and xos_CLI() to os_cli() and xos_cli() for consistency with
...
everything else.
2003-11-23 15:24:20 +00:00
bjh21
6ed8fd9689
Remove spurious whitespace.
2003-11-23 14:13:42 +00:00
bjh21
d8b0dd8a97
Create the "machine" and "arm" links directly from the .BEGIN rule, rather
...
than in dependencies of it, since .BEGIN is apparently only special for
its commands, not its dependencies. This should get boot26, and probably
boot32, compiling again.
2003-11-23 13:34:07 +00:00
gavan
f6aee98e0f
Save arguments passed into scratch registers, rather than scratch
...
registers into arguments passed.
Avoids corruption of anything pointed to by r3 and r4 on entry to
os_get_env, and allows pass-by-reference values to be returned.
2003-11-19 00:11:55 +00:00
gavan
de7bc02bb2
Mark module as 32-bit compatible
2003-11-18 22:46:33 +00:00
wiz
ee1b406595
Spell address with two d's. Inspired by similar changes in OpenBSD,
...
originating from Jonathon Gray and forwarded by jmc@openbsd.
2003-11-10 08:51:51 +00:00
scw
aee833c0ee
Add "options ARM32_DISABLE_ALIGNMENT_FAULTS" to forcibly disable
...
alignment fault checking if necessary.
This option gets the acorn32 port working again.
XXX: Richard Earnshaw suggested enabling alignment faults for
XXX: userland only on acorn32. Need to investigate this.
2003-11-05 12:53:15 +00:00
lukem
f85d2d1c14
Use ${HOST_SH} instead of `sh'.
...
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
jdolecek
821f341675
add necessary majors for miscellaneous devices, such as missing
...
wscons/scsi/isdn devices
2003-10-24 08:18:36 +00:00
he
536bcfc87a
Adapt to the new wdcattach() signature.
2003-10-19 19:29:50 +00:00
he
d37f50098a
Adapt to the new wdcattach() signature.
2003-10-19 18:49:25 +00:00
lukem
7d84b90c92
Use one 'atabus* at ata?' instead of multiple 'atabus* at FOOide? channel ?'
...
Use 'atapibus* at atapi?' instead of 'atapibus* at atabus?'
2003-10-18 08:30:12 +00:00
jdolecek
0979ebaa1c
g/c major for 'netsmb' and mark the slot free - it has never been used
2003-10-11 07:54:26 +00:00
christos
0fa70c1f22
fix syntax errors (hi manuel)
2003-10-11 03:04:34 +00:00
jdolecek
ef5bb330f5
reassing majors for crypto and pf to use the newly defined MI major
...
range
2003-10-10 22:42:39 +00:00
jdolecek
4e915c9ccd
update the comment - the space for machine-dependant majors
...
is reduced to 0-143
follows discussion on tech-kern
2003-10-10 21:21:25 +00:00
bouyer
7719e83c8b
Following Matt Thomas's request, rename ata attribute to ata_hl, and
...
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.
2003-10-08 20:57:59 +00:00
bouyer
923e187eb7
Adapt for wdcattach() prototype change.
2003-10-08 11:01:16 +00:00
bouyer
adb3f1c3c5
Add atabus
2003-10-08 11:00:38 +00:00
simonb
970b12080e
Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
...
against them.
2003-10-08 01:40:22 +00:00
jdolecek
e6286b949a
Add some framework for MI assignment of device majors - add sys/dev/majors
...
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.
Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.
Follows recent discussion on tech-kern@
2003-10-05 08:04:24 +00:00
thorpej
2652188cc4
New generic I2C framework. Supports bit-bang and "intelligent" I2C
...
interface controllers (of varying intelligence levels).
Contributed by Wasabi Systems, Inc. Primarily written by Steve Woodford,
with some modification by me.
2003-09-30 00:35:30 +00:00
nathanw
4d59420344
Move __cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED to machine/types.h
...
so that they can be used in a namespace-friendly way.
2003-09-26 22:45:41 +00:00
mycroft
eefae40298
Hide the use of config_interrupts() in one place.
2003-09-25 19:29:48 +00:00
mycroft
ba50df223e
Take a stab at making this compile, at least.
2003-09-24 07:15:52 +00:00
matt
c280e763ef
Adapt to new wdcattach calling conventions.
2003-09-21 15:11:04 +00:00
matt
749adf24a9
Fix GCC 3.3.1 nits.
2003-09-21 15:10:05 +00:00
matt
f9188e9265
Fix some GCC3.3.1 nits (-ffreestanding, #include <lib/libkern/libkern.h>)
2003-09-21 14:17:13 +00:00
mycroft
d40837608f
1) Use config_interrupts() to attach IDE and ATAPI drives. This eliminates
...
most polling.
2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path
(it's gratuitous) and simplify the code by calling pciide_map_compat_intr(),
*_set_modes() and wdc_print_modes() from central locations.
3) Add a register writability and register ghost test to eliminate phantom
drives more quickly.
2003-09-19 21:35:56 +00:00
chris
cfb7a98211
Add COMPAT_16 to most arm based kernels. Mainly in preperation for doing
...
SA_SIGINFO work.
2003-09-13 13:30:01 +00:00
itojun
4440262659
create /dev/crypto
2003-08-22 05:06:22 +00:00
he
b6643fd4d3
Adapt to const-ification of first arg of open function in fs_ops.
2003-08-21 23:15:18 +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
bjh21
6407c43a48
Descend into stand so boot32 gets built.
2003-08-02 17:57:35 +00:00
itojun
3f14c71f75
reserve cdev major # for PF. ok'ed by technical-exec
2003-07-27 14:17:57 +00:00
reinoud
4080bf9381
First step towards more KNF; but most of all hopefully solving PR
...
acorn32/15850
2003-07-20 07:08:45 +00:00
lukem
1b7326b581
use __KERNEL_RCSID() in a consistent manner
2003-07-14 22:48:19 +00:00
lukem
de043b8788
use __KERNEL_RCSID(0, instead of RCSID( in the kernel
2003-07-14 15:17:13 +00:00
martin
d505b18964
Make sure to include opt_foo.h if a defflag option FOO is used.
2003-06-23 11:00:59 +00:00
drochner
1a03e79900
don't #include <sys/dkstat.h> where it is (appearently) unused
2003-06-18 08:58:34 +00:00
thorpej
452a8fdae2
Rename IPL_IMP -> IPL_VM.
2003-06-16 20:00:56 +00:00
thorpej
0eff671820
Also pass a type argument to comcnattach() and com_kgdb_attach().
...
comspeed() (and thus cominit()) may need this information.
2003-06-14 17:01:06 +00:00
reinoud
9af716fd9a
Make smbfs work on NetBSD/acorn32 ! it missed an entry in majors.acorn32
...
and an entry in the MAKEDEV
2003-06-08 20:12:33 +00:00
reinoud
ebf458470d
New version of the AKF60 monitor definition file.
2003-06-04 23:24:56 +00:00
reinoud
af73cdf2ea
Cleanup DRAM video memory allocation. This needed to be done anyway and it
...
also ought to solve bootproblems with the A7000(+) family.
As an extra benefit, the surplus memory of the screen is returned to the
memorypool.
2003-06-03 12:53:47 +00:00
thorpej
d5bcde54a7
Move KERNEL_VM_SIZE into the C files where its used.
2003-05-22 05:47:04 +00:00
thorpej
1963a8521c
Use virtual_avail and virtual_end to compute the size of the available
...
kernel VM space for VM_MAX_KERNEL_BUF, and move the definition into
generic ARM code.
2003-05-22 05:25:48 +00:00
thorpej
361d0454ce
Move KERNEL_VM_BASE inside where it is used (it won't be there for long).
2003-05-21 22:48:20 +00:00
thorpej
23a378ef93
Remove one last old pmap remnant.
2003-05-21 17:37:57 +00:00
thorpej
f7307b5d21
Fully switch acorn32 to the new pmap; it has been confirmed to work.
2003-05-21 17:17:50 +00:00
thorpej
bbba90a2fb
Don't expose KERNEL_TEXT_BASE outside of board-specific code. This gives
...
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.
2003-05-03 18:25:28 +00:00
wiz
1ffa7b76c4
DMA, not dma nor Dma.
2003-05-03 18:10:37 +00:00
thorpej
aae7e372b7
Reduce differences between ARM32_NEW_VM_LAYOUT and not; always pass
...
the start and end of the kernel managed virtual address space to
pmap_bootstrap() in the new pmap.
2003-05-03 03:49:03 +00:00
thorpej
4eeee795e8
Eliminate PTE_BASE and the PT-PT completely in the ARM32_PMAP_NEW case.
...
Also in the ARM32_PMAP_NEW case, reclaim the USPACE-bytes of wasted space
at the top of the user address that hasn't been needed for a very very
long time.
2003-05-02 23:22:33 +00:00
thorpej
7de2c299a2
Don't define APTE_BASE if ARM32_PMAP_NEW is defined; the new pmap
...
doesn't use it.
2003-04-28 01:34:28 +00:00
chris
eff844e738
Add support for ARM32_PMAP_NEW. Note that due to changes to how the l1
...
table is handled the podulebus mappings are now done at initarm, rather
than in the podulebus code. While I'm not happy with this it does work,
perhaps there's a better way to do it?
Not enableing by default I've not got enough cards to check the podulebus
change hasn't broken something (works with my rapide and with my network
podule)
2003-04-26 19:35:02 +00:00
ragge
d8c8fa8111
Add pseudo-device ksyms.
2003-04-26 14:10:04 +00:00
ragge
69a66687f8
Call ksyms_init() instead of ddb_init() in case of
...
NKSYMS || defined(DDB) || defined(LKM)
2003-04-26 11:05:05 +00:00
ragge
766d04f56a
Add ksyms device major.
2003-04-25 21:10:46 +00:00
bjh21
6a8eedfd87
KNF doesn't apply to Reinoud -- back out my last two changes.
2003-04-20 18:50:38 +00:00
bjh21
b196917760
KNF
2003-04-20 15:57:12 +00:00
bjh21
610cdc7b39
Create a symlink to sys/arch/arm/include alongside the one to
...
sys/arch/${MACHINE}/include.
2003-04-20 14:37:59 +00:00
bjh21
ef40902514
80 columns, dammit!
2003-04-20 14:21:13 +00:00
bjh21
6141355bbc
Fix format string mismatch.
2003-04-19 19:55:07 +00:00
thorpej
0871fe346f
Use PAGE_SIZE rather than NBPG.
2003-04-09 01:54:42 +00:00
thorpej
cc2c493bc4
Use PAGE_SIZE rather than NBPG.
2003-04-02 07:35:54 +00:00
thorpej
720768a1f5
Use PAGE_SIZE rather than NBPG.
2003-04-01 23:47:01 +00:00
thorpej
89a25a097c
Use PAGE_SIZE rather than NBPG.
2003-04-01 02:13:53 +00:00
perseant
eab869e1c0
Make BRIDGE_IPF an option, and document it. Add it (commented) to GENERIC.
...
Let brconfig tell whether the bridge is using the ipfilter hook, or not.
2003-02-27 19:22:36 +00:00
thorpej
20c4b7b844
Change pcb32_pagedir to a paddr_t (after all, it's used as a paddr_t
...
everywhere in the code).
2003-02-23 23:40:01 +00:00
chris
343db78b58
Add NEVENT1 and 2 as interrupt lines. Simtec docs for their 7500 board
...
refer to them as such (as does the ARM 7500FE pdf)
2003-02-08 17:45:49 +00:00
perry
4c5a18c475
correct grammar and use use
2003-02-04 23:40:21 +00:00
thorpej
c050d9efe1
Fix printf format from daddr_t changes.
2003-01-31 02:05:41 +00:00
bouyer
4bce909c04
bzero the part of the buffer used to pad the packet to
...
ETHER_MIN_LEN - ETHER_CRC_LEN.
2003-01-20 14:59:27 +00:00