Re: 3c589 PCMCIA on A1200 - possible resolution to PR port-amiga/31134
Martin Åberg <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.amiga |
|---|---|
| Message-ID | <[email protected]> |
On 2/21/20 11:07 AM, Frank Wille wrote: > D-Link DFE-670TXD > And it still works after applying your patch! Good job! > I have uploaded a GENERIC kernel with your patch under > ftp://ftp.netbsd.org/pub/NetBSD/misc/phx/amiga/netbsd-pcmcia16.gz Thanks for testing and uploading the kernel! Another finding is that the patch allows for using "wdc at pcmcia", which I belive is 16-bit. I connected a PCMCIA to CompactFlash adapter, and got: [ 1.000005] pccard0 at mainbus0 [ 1.000005] pcmcia0 at pccard0 [ 1.000005] wdc1 at pcmcia0 function 0: <SanDisk, SDP, 5/3 0.6> [ 1.000005] wdc1: i/o mapped mode [ 1.000005] atabus1 at wdc1 channel 0 [ 4.420274] wd1: <SanDisk SDCFX-008G> [ 4.424320] wd1: drive supports 1-sector PIO transfers, LBA48 addressing [ 4.424320] wd1: 7629 MB, 15501 cyl, 16 head, 63 sec, 512 bytes/sect x 15625216 sectors [ 4.443019] wd1: drive supports PIO mode 44 views configured The attached disk was formatted on a different computer. It mounts, reads and writes all right. ami# mount_msdos /dev/wd1a /mnt ami# dd if=/dev/zero of=/mnt/myzero bs=16m count=1 1+0 records in 1+0 records out 16777216 bytes transferred in 10.054 secs (1668710 bytes/sec) ami# ls -l /mnt/myzero -rwxr-xr-x 1 root wheel 16777216 Feb 21 22:10 /mnt/myzero ami# cksum /mnt/myzero 4215202376 16777216 /mnt/myzero The / file system (ffs) is a DOM (disk on module) connected to the motherboard IDE connector: ami# dd if=/dev/zero of=/myzero bs=16m count=1 1+0 records in 1+0 records out 16777216 bytes transferred in 18.917 secs (886885 bytes/sec) ami# ls -l /myzero -rw-r--r-- 1 root wheel 16777216 Feb 21 22:10 /myzero ami# cksum /myzero 4215202376 16777216 /myzero Trying to use the IDE to CompactFlash adapter with the NetBSD 9.0 GENERIC kernel gives lots of read timeout in the kernel boot message and does not allow to mount the file system. Best Regards, Martin