Commit Graph

65 Commits

Author SHA1 Message Date
thorpej
b75a007d9f Add trailing ; to CFATTACH_DECL. 2002-10-02 16:51:16 +00:00
thorpej
71adb76f75 Use CFATTACH_DECL(). 2002-09-30 21:57:46 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
bjh21
681c52938e Regen (many new podules). 2002-05-23 22:01:14 +00:00
bjh21
e3d123e4e4 Add all the product IDs from <arm/xcb.h> on RISC iX 1.2. There are several
places where they disagree with our list (and reality).  In those cases,
I've kept the old value and added a comment.  The RISC iX list stops at
ID 181 (0xb5).
2002-05-23 22:00:49 +00:00
bjh21
f402b4faa2 Regen (sorting). 2002-05-22 23:46:53 +00:00
bjh21
2a1092efaa Sort the Wild Vision parallel card into order. 2002-05-22 23:46:36 +00:00
bjh21
1e170f49cd Regen (merge of RISC iX manufacturers list). 2002-05-22 23:27:16 +00:00
bjh21
35010db489 Merge in the list of manufacturer IDs from <arm/xcb.h> on RISC iX 1.2.
Where they differ with what we've had historically, I've kept our value
and added a comment.  The RISC iX list stops at 65 (0x41).
2002-05-22 23:23:23 +00:00
bjh21
205186731b Substantial overhaul of podule IDs. Unlike on PCI or USB, podule IDs are
assigned by RISCOS Ltd (and were assigned by Acorn) to be unique across all
manufacturers.  This means that associating each one with a manufacturer (and
checking the manufacturer when attaching) is bogus.  Thus, we don't do that
any more.

This should have the pleasant side-effect of getting APDL IDE interfaces
working, since they're just ICS ones with a different manufacturer ID.
2002-05-22 22:43:13 +00:00
bjh21
6d59ad5ec5 Add podule_readcmos(), for getting the CMOS configuration for a podule.
Only implemented on acorn26 for now, but the acorn32 implementation should
be pretty much identical.
2002-05-22 22:13:12 +00:00
bjh21
b741178a9b Regen: RISC Developments IDE, FaxPack. 2002-05-19 22:34:07 +00:00
bjh21
b6c3ea4d91 Add a few Wakefield acquisitions:
Computer Concepts FaxPack
RISC Developments 8-bit IDE interface
Note about Oak EtherO card, which seems to share an ID with their SCSI card.
2002-05-19 22:29:57 +00:00
bjh21
ca682b8433 Remove "This file is part of NetBSD/arm26" comment. 2002-03-29 17:27:34 +00:00
bjh21
f248dd79bd Regen: Computer Concepts ROM/RAM podule. 2002-03-29 00:18:24 +00:00
bjh21
57fa77924c Add Computer Concepts ROM/RAM podule.
Also reverse the order of "ROM" and "RAM" in the description of the
Acorn podule to match.  Acorn just call it a ROM podule, but that's
inaccurate.
2002-03-29 00:16:51 +00:00
bjh21
96dda214b4 Avoid "unused variable" warnings in the NCR5380_USE_BUS_SPACE case. 2002-03-24 14:56:01 +00:00
bjh21
4aec2a6382 Regen: Morley user/analogue. 2002-03-09 13:45:13 +00:00
bjh21
903ce8c1e3 Add Morley user/analogue podule. 2002-03-09 13:44:09 +00:00
bjh21
53fbe7ac5d Correct a few comments and constant names in the light of the actual
documentation for this card (which I seem to have).
2001-12-21 22:33:28 +00:00
bjh21
5aee55caae New file, describing what little I know of the layout of the Oak SCSI card. 2001-12-04 18:40:14 +00:00
bjh21
1208c816b3 Add (#ifdef'ed out) code to support the PDMA hardware on the Oak SCSI card.
Unfortunately, this code seems not to work at present.  I don't yet know why.
2001-12-02 14:49:32 +00:00
lukem
071697f107 fix RCSID 2001-11-13 13:32:34 +00:00
lukem
9ab2c47148 cleanup RCSID (to be consistent with use in rest of kernel) 2001-11-13 07:23:15 +00:00
bjh21
1e0b1b7373 *sigh* and return 0 if we don't match the podule.
Need more coffee...
2001-07-04 16:36:52 +00:00
bjh21
bd4a0aae1b Remember to include <dev/podulebus/powerromreg.h>. 2001-07-04 16:35:20 +00:00
bjh21
e02efcb8cc Add support for Oak and HCCS SCSI cards fitted with PowerROMs. Since this
depends on podloader support, it won't work on arm32 yet.
2001-07-04 15:01:08 +00:00
bjh21
fd74cdde9d Remove mistaken commit of "ethsc" reference. 2001-07-04 14:33:43 +00:00
bjh21
b8a09ee766 Add dummy "podloader" functions on arm32, and move their declarations to the MI
header file.  This should allow MI drivers to use the podloader functions,
though obviously they'll have to be able to cope if podulebus_initloader()
fails.
2001-07-04 13:58:04 +00:00
bjh21
0be64cc691 Move "podulebus" and "podloader" declarations up into files.podulebus. 2001-07-04 13:49:24 +00:00
bjh21
ddc6e8e6ad I've got an 8-bit Ether3, so I've discovered that the address mapping is
non-linear.  Comment it here so I don't forget.
2001-06-15 00:28:01 +00:00
bjh21
bb5ca33de4 Add a driver for the HCCS IDE interface I got at Wakefield. Like the D.T.
Software one (dtide), it doesn't generate interrupts, so we run it in polled
mode.
2001-06-13 18:31:43 +00:00
bjh21
18c4c9eab3 Update to use the new support for IRQ-less IDE controllers.
Also generally re-work to do channel attachment in a loop, since that saves on
code size.
2001-06-13 18:29:40 +00:00
bjh21
cb6b68a931 Mention where I got the information for writing the driver. 2001-06-12 11:52:03 +00:00
bjh21
f6f3c9b35f Add a hefty comment about the stray IR bug, so I don't forget it. 2001-06-12 11:49:18 +00:00
bjh21
e609865bbc Correct reference to dtide.c, and don't bother with the "channel" locator to
dtide, since ata provides that anyway.
2001-06-08 22:33:59 +00:00
bjh21
ca2047f7c6 Adapt the dtide driver to the MI podulebus framework, and move it to its new
home.  It still doesn't actually work, but that's a SMOP.
2001-06-08 20:13:24 +00:00
bjh21
837afd713e Regen 2001-06-08 20:09:07 +00:00
bjh21
e918a481e5 Move D.T. Software to their rightful place in the list, and correct the product
ID for their IDE interface.  I've no idea where 0x00ae came from.
2001-06-08 20:08:35 +00:00
bjh21
947699688a Create hcscreg.h, and put a couple of magic numbers in there. 2001-06-02 20:13:50 +00:00
bjh21
fd7e9d6d32 Clean up hcsc_match: Don't check the manufacturer ID, since podule IDs are
unique anyway.  Do check whether the description starts with "SCSI", since
HCCS used the same ID for their IDE podule.
2001-06-02 12:07:34 +00:00
bjh21
e9ff9b9d73 Enable disconnect/reselect (now that it works) and parity checking. 2001-06-02 11:43:40 +00:00
bjh21
c5260261ba Use the pseudo-DMA facilities of the HCCS SCSI podule. Code largely derived
from the pc532 "ncr" driver.

This gets me up to 300 KB/s from /dev/rsd0a on my A310.  I think
bus_space_{read,write}_multi_1 and copy{in,out} are the bottlenecks now.
2001-05-28 22:54:10 +00:00
bjh21
5cc459efcc Quick hack of a driver for the HCCS 8-bit SCSI podule, based on the Oak driver.
Tested to the extent that it finds my disc.
2001-05-26 23:01:19 +00:00
bjh21
ebf4596009 regen 2001-05-26 21:48:31 +00:00
bjh21
eb6eb503f1 Fix typo in last commit. 2001-05-26 21:48:21 +00:00
bjh21
7b0faa44c9 regen 2001-05-26 21:47:30 +00:00
bjh21
d5ecc6c516 Add the 8-bit podules I got at Wakefield (except the A3000 Nexus,
which seems not to work).
2001-05-26 21:47:09 +00:00
bjh21
ab0637016a Support NCR5380_USE_BUS_SPACE.
Add comments explaining the card a bit (and how badly we support it).
Add in-core RCSID.
2001-05-26 20:53:53 +00:00
bjh21
c7a388d937 Turn "oak" into an MI podulebus driver. Tested on my new A310. 2001-05-26 17:49:46 +00:00