Commit Graph

334 Commits

Author SHA1 Message Date
drochner 2209ea5a8a remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 17:11:57 +00:00
bjh21 f22e7b01a3 NetBSD/acorn32 no longer has busmouse(4), so remove <machine/mouse.h>. 2004-03-13 19:45:11 +00:00
bjh21 e4247411fe Rename wsqms(4) to qms(4), since the "ws" is redundant now. While I'm here,
bundle it all into a single file, qms.c, replacing wsqms.c, wsqms_iomd.c,
and wsqmsvar.h.
2004-03-13 19:27:40 +00:00
bjh21 7974064199 Remove qms and opms. 2004-03-13 19:24:31 +00:00
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