Subject: The ghost of MicroDrive
To: ML tech-kern@netbsd <tech-kern@netbsd.org>
From: TAKEMURA Shin <takemura@netbsd.org>
List: tech-kern
Date: 01/07/2001 00:23:33
I've made some hack on the driver of pcmcia IDE controller to
eliminate the ghost of IBM MicroDrive. So you will not find the
ghost any more on current kernel.

before:
        wdc1 at pcmcia0 function 0 port 0x14000400-0x1400040f
        wd0 at wdc1 channel 0 drive 0: <IBM-DMDM-10340>
        wd0: drive supports 16-sector PIO transfers, LBA addressing
        wd0: 342 MB, 695 cyl, 16 head, 63 sec, 512 bytes/sect x 700560
sectors
        wd1 at wdc1 channel 0 drive 1: <ST506>
        wd1: drive supports 1-sector PIO transfers, chs addressing
        wd1: 69632 KB, 1024 cyl, 8 head, 17 sec, 512 bytes/sect x 139264
sectors

after:
        wdc1 at pcmcia0 function 0 port 0x14000400-0x1400040f
        wd0 at wdc1 channel 0 drive 0: <IBM-DMDM-10340>
        wd0: drive supports 16-sector PIO transfers, LBA addressing
        wd0: 342 MB, 695 cyl, 16 head, 63 sec, 512 bytes/sect x 700560
sectors

It disables all second drive on pcmcia IDE by force. If you have
any problem, please let me know.

Takemura