Subject: port-alpha/20128: sys/dev/tc/if_le_tc.c 1.15-1.16 changes break scsi detection of rx23 device
To: None <>
From: None <>
List: netbsd-bugs
Date: 01/30/2003 22:49:10
>Number:         20128
>Category:       port-alpha
>Synopsis:       With the above change the rx23 scsi dev (floppy) is no longer detected
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 30 13:50:00 PST 2003
>Release:        NetBSD 1.6_STABLE / 1.6_RC1 (and -current I guess)
System: NetBSD zentrum2 1.6_STABLE NetBSD 1.6_STABLE (ZENTRUM2) #28: Sun Jan 12 04:25:40 MET 2003 kilbi@dfgaxp:/amd/basis.lke/usr/src/sys/arch/alpha/compile/ZENTRUM2 alpha
Architecture: alpha
Machine: alpha
With the above mentioned changes to sys/dev/tc/if_le_tc.c (recent in
the 1.6 branch) my (additional) le1 device is initialized and works

  NetBSD 1.6_RC1 (ZENTRUM2) #0: Tue Jan 28 22:25:40 MET 2003
  DEC 3000 - M300X, 175MHz, s/n
  8192 byte page size, 1 processor.
  total memory = 256 MB
  (2048 KB reserved for PROM, 254 MB used by NetBSD)
  avail memory = 232 MB
  using 1638 buffers containing 13104 KB of memory
  mainbus0 (root)
  cpu0 at mainbus0: ID 0 (primary), 21064-1
  cpu0: Architecture extensions: 2<FIX>
  le1 at tc0 slot 1 offset 0x0: address 08:00:2b:93:4d:29
  le1: 32 receive buffers, 8 transmit buffers

but the formerly detected scsi device (a scsi floppy drive):

  tcds0 at tc0 slot 4 offset 0x0: TurboChannel Dual SCSI (baseboard)
  tcds0: fast mode set for chip 0
  asc0 at tcds0 chip 0: NCR53C94, 25MHz, SCSI ID 7
  scsibus0 at asc0: 8 targets, 8 luns per target
  sd1 at scsibus0 target 1 lun 0: <DEC, RX23     (C) DEC, 0070> SCSI1 0/direct removable
  sd1: drive offline
  sd1: async, 8-bit transfers

is no longer detected (which changes the numbering of all following
scsi disks :-/).
Just compile a kernel with sys/dev/tc/if_le_tc.c v1.15 or v1.16: With
v1.15 le1 doesn't work, but the rx23 is detected. With v1.16 le1
works, but the rx23 is not detected.
No idea.