ata tagged queuing support question

2003-07-24 Thread mitrohin a.s.
helo.

ata-disk.c

/* use tagged queueing if allowed and supported */
#if 0 /* disable tags for now */
if (ata_tags  ad_tagsupported(adp)) {
adp-num_tags = atadev-param-queuelen;
adp-flags |= AD_F_TAG_ENABLED;
adp-device-channel-flags |= ATA_QUEUED;
if (ata_command(atadev, ATA_C_SETFEATURES,
0, 0, ATA_C_F_DIS_RELIRQ, ATA_WAIT_INTR))
ata_prtdev(atadev, disabling release interrupt failed\n);
if (ata_command(atadev, ATA_C_SETFEATURES,
0, 0, ATA_C_F_DIS_SRVIRQ, ATA_WAIT_INTR))
ata_prtdev(atadev, disabling service interrupt failed\n);
}
#endif

tagged queueing broken in -current? i have IBM ICxAV drives and want 
to use this feature. can i enable this block?

/swp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ata tagged queuing support question

2003-07-24 Thread mitrohin a.s.
On Thu, Jul 24, 2003 at 03:26:53PM +0200, Soeren Schmidt wrote:
 It seems mitrohin a.s. wrote:
  ata-disk.c
  
  /* use tagged queueing if allowed and supported */
  #if 0 /* disable tags for now */
  if (ata_tags  ad_tagsupported(adp)) {
  adp-num_tags = atadev-param-queuelen;
  adp-flags |= AD_F_TAG_ENABLED;
  adp-device-channel-flags |= ATA_QUEUED;
  if (ata_command(atadev, ATA_C_SETFEATURES,
  0, 0, ATA_C_F_DIS_RELIRQ, ATA_WAIT_INTR))
  ata_prtdev(atadev, disabling release interrupt failed\n);
  if (ata_command(atadev, ATA_C_SETFEATURES,
  0, 0, ATA_C_F_DIS_SRVIRQ, ATA_WAIT_INTR))
  ata_prtdev(atadev, disabling service interrupt failed\n);
  }
  #endif
  
  tagged queueing broken in -current? i have IBM ICxAV drives and want 
  to use this feature. can i enable this block?
 
 It doesn't work for now, and question is if it will ever be enabled
 again as it causes more problems than it solves.
 
 -S?ren

thanks...
/swp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ata tagged queuing support question

2003-07-24 Thread mitrohin a.s.
On Thu, Jul 24, 2003 at 04:08:01PM +0200, Marcin Dalecki wrote:
 tagged queueing broken in -current? i have IBM ICxAV drives and want 
 to use this feature. can i enable this block?
 
 Don't. It's very frequently broken by *hardware* and not worth the trouble
 in terms of performance.

hmm... but RELENG_4 enable this...
/swp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]