Re: disable 64-bit dma for one PCI slot only?

2011-07-18 Thread YongHyeon PYUN
On Mon, Jul 18, 2011 at 03:06:40PM -0600, Scott Long wrote:
 On Jul 18, 2011, at 12:02 PM, John Baldwin wrote:
  On Friday, July 15, 2011 6:07:31 pm Mark McConnell wrote:
  Dear folks,
  
  I have two LSI raid cards, one of which (SCSI 320-I) supports 
  64-bit DMA when 4GB+ of DDR is present and another which 
  does not (SATA 150-D) .  Consquently I've disabled 64-bit 
  addressing for amr devices.
  
  I would like to disable 64-bit addressing for the SATA card, but 
  permit it for the SCSI card.  Is this possible?
  
  You'd have to hack the driver perhaps to only disable 64-bit DMA for 
  certain 
  PCI IDs.  It probably already does this?
  
 
 The driver already had a table for determining 64bit DMA based on the PCI ID. 
  I guess there's a mistake in the table for this particular card.  I think 
 that changing the following line to remove the AMR_ID_DO_SG64 flag will fix 
 the problem:
 
 {0x1000, 0x1960, AMR_ID_QUARTZ | AMR_ID_DO_SG64 | AMR_ID_PROBE_SIG},
 
 Actually, what's probably going on is that the driver is only looking at the 
 vendor and device id's, and is ignoring the subvendor and subdevice id's that 
 would give it a better clue on the exact hardware in use.  Fixing the driver 
 to look at all 64bits of id info (and take into account wildcards where 
 needed) would be a good project, if anyone is interested.
 
 Btw, I *HATE* the chip and card identifiers used in pciconf.  Can we 
 change it to emit the standard (sub)vendor/(sub)device terminology?
 

+1

 Scott
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: Realtek 8111e on 8.2-RELEASE

2011-06-03 Thread YongHyeon PYUN
On Sat, Jun 04, 2011 at 01:56:15AM +0800, Ken Chen wrote:
 Hello,
 
 Anyone tried Realtek 8111e on 8.2-RELEASE? Realtek8111e should be supported,
 but I got following message:
 
 re0: RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gibabit Ethernet port
 0xe800-0xe8ff mem 0xfdfff000-0xfdff,
 0xfdff8000-0xfdffbfff irq 17 at device 0.0 on pci2
 re0: Using 1 MSI messages
 re0: Chip rev. 0x2c80
 re0: MAC rev. 0x
 re0: Unknown H/W revision: 0%2c80
 device_attach:re0 attach returned 6
 
 
 Any suggestion? Thanks a lot!

Updating to latest stable/8 will solve the issue.
Or
1. Download two files at the following URL
http://people.freebsd.org/~yongari/re/8.2R/if_re.c
http://people.freebsd.org/~yongari/re/8.2R/if_rlreg.h
2. Copy downloaded if_re.c to /usr/src/sys/dev/re directory
3. Copy downloaded if_rlreg.h to /usr/src/sys/pci directory
4. Rebuild kernel and reboot.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


<    1   2