NetBSD/landisk 20050809 版

  • wdc at obio 検出時に panic する件を適当に対処
  • button の ioctl 番号(?)修正 (これってどうやって決定すれば良いんだ?)

wdcprobe() を呼び出す前に wdc.reset を設定していないドライバは駄目ぽ。

[0]% find /sys/ -type f -name "*.c" | xargs -n 1 egrep -e "wdcprobe" /dev/null
/sys//arch/acorn32/mainbus/wdc_pioc.c:  res = wdcprobe(&ch);
/sys//arch/atari/dev/wdc_mb.c:  result = wdcprobe(&ch);
/sys//arch/cobalt/stand/boot/wdc.c:static int  wdcprobe(struct wdc_channel *chp);
/sys//arch/cobalt/stand/boot/wdc.c:wdcprobe(chp)
/sys//arch/cobalt/stand/boot/wdc.c:     if (wdcprobe(&sc->sc_channel) != 0)
/sys//arch/mac68k/obio/wdc_obio.c:              result = wdcprobe(&ch);
/sys//arch/playstation2/dev/wdc_spd.c:                  result = wdcprobe(&ch);
/sys//arch/prep/dev/wdc_obio.c: result = wdcprobe(&ch);
/sys//arch/landisk/dev/wdc_obio.c:      result = wdcprobe(&ch);
/sys//dev/ic/wdc.c:static int   wdcprobe1(struct ata_channel *, int);
/sys//dev/ic/wdc.c:     if (wdcprobe1(chp, 0) == 0) {
/sys//dev/ic/wdc.c:wdcprobe(struct ata_channel *chp)
/sys//dev/ic/wdc.c:     return (wdcprobe1(chp, 1));
/sys//dev/ic/wdc.c:wdcprobe1(struct ata_channel *chp, int poll)
/sys//dev/isa/wdc_isa.c:        result = wdcprobe(&ch);
/sys//dev/pci/pciide_common.c:          if (!wdcprobe(&cp->ata_channel)) {
/sys//dev/pci/pciide_common.c:          if (wdcprobe(&cp->ata_channel))