Re: New ATA, HPT366 and UDMA66

1999-09-27 Thread Soren Schmidt

It seems Jeroen Ruigrok/Asmodai wrote:
 
 you know I have the possession of a development box with the HPT366,
 right? [well you should since I mailed you those timing-tables =P ]

I know :)

 Anyways, as soon as I have enough cash again I will buy an /66 disk
 and stuff it on the free controller. Feel free to pester me with
 patches ;)

Sure, but first I'd like to have one here to do the development on,
I really dont have the time to play it via mail/whatever until
it actually works...

-Soren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



New ATA, HPT366 and UDMA66

1999-09-26 Thread ktsin

Hi

I'm unable to get the new ATA driver to configure the HPT366 controller
to use busmastering DMA and to make the IBM 22GXP drive run at UDMA66.

Linux HPT366 driver supports busmastering DMA and UDMA66.

Does anybody know how to fix this?

Below is a portion of the output from dmesg:

ata-pci1: HighPoint HPT366 IDE controller irq 18 at device 19.0 on pci0
ata-pci1: Busmastering DMA not supported
   ^
ata2 at 0xd800 irq 18 on ata-pci1
ata-pci2: HighPoint HPT366 IDE controller irq 18 at device 19.1 on pci0
ata-pci2: Busmastering DMA not supported
   ^
atkbdc0: keyboard controller (i8042) at port 0x60-0x6f on isa0
atkbd0: AT Keyboard irq 1 on atkbdc0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: Generic ISA VGA at port 0x3b0-0x3df iomem 0xa-0xb on isa0
sc0: System console on isa0
sc0: VGA 16 virtual consoles, flags=0x200
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
unknown0: CTRL on isa0
pcm0: CS4235 at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 7 drq 1,0 on isa0
unknown1: GAME at port 0x200-0x207 on isa0
unknown2: MPU at port 0x330-0x331 irq 10 on isa0
ad0: Maxtor 86448D6/NAVXAF20 ATA-3 disk at ata0 as master
ad0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 0 depth queue, UDMA33
Creating DISK ad0
Creating DISK wd0
ad1: IBM-DJNA-371350/J76OA30K ATA-4 disk at ata2 as master
ad1: 12949MB (26520480 sectors), 26310 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 31 depth queue, PIO
  ^^^
Creating DISK ad1
Creating DISK wd1


Thanks,
kt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: New ATA, HPT366 and UDMA66

1999-09-26 Thread Foxfair Hu


On Mon, 27 Sep 1999 08:49:59 +0800 (SGT)
[EMAIL PROTECTED] wrote:

 Hi
 I'm unable to get the new ATA driver to configure the HPT366 controller
 to use busmastering DMA and to make the IBM 22GXP drive run at UDMA66.
 Linux HPT366 driver supports busmastering DMA and UDMA66.
 Does anybody know how to fix this?
 Below is a portion of the output from dmesg:
[]

  Check the commit message from -cvs :
=
sos 1999/09/24 05:36:11 PDT

  Modified files:
sys/dev/ata  ata-all.c ata-disk.c ata-disk.h 
 atapi-all.c atapi-all.h atapi-cd.c 
 atapi-cd.h 
  Log:
  Fix timeout handeling and add retry counts.
  Add HPT366 probe message (but no real support yet),
  Add CDR support for several diffenrent blocktypes, also close
  disk as a multisession CD.
  
  Revision  ChangesPath
  1.22  +5 -5  src/sys/dev/ata/ata-all.c
  1.27  +17 -1 src/sys/dev/ata/ata-disk.c
  1.12  +2 -1  src/sys/dev/ata/ata-disk.h
  1.16  +17 -2 src/sys/dev/ata/atapi-all.c
  1.11  +2 -1  src/sys/dev/ata/atapi-all.h
  1.18  +32 -27src/sys/dev/ata/atapi-cd.c
  1.7   +7 -7  src/sys/dev/ata/atapi-cd.h
===

  There is no UDMA66 support for HPT366 controller now in FreeBSD. Good
  news is it just works fine/rocky in UDMA33 and you can use it in this
  mode.

  I think the supporting code is under the progress now.
  
 Thanks,
 kt
 

Cheers,
-Foxfair.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: New ATA, HPT366 and UDMA66

1999-09-26 Thread Soren Schmidt

It seems Jason Young wrote:
 
 I looked at this yesterday (we just got one in). The HighPoint controller
 has some specific initialization needs, just like the Promise controller.
 
 The Linux code doesn't seem terribly twisted, although I didn't have
 enough caffiene handy to try and interpret the logic and add it into the
 new ATA driver. 
 
 I wonder if Soren (sorry, I don't know how to persuade my machine to spell
 your name correctly) would be interested in one so that he could work on
 supporting it? I would be happy to send one.. email me privately. 

I have the docs, and have been promised that an Abit HotRot controller be 
sent to me, but I havn't received it yet. So if you can get one out the
door asap that would be just fine (I really dont trust that other controller
to appear anytime soon...), just wrap it in neutral brown paper and
it should pass customs just fine :)

My snail mail addresss is:

Soren Schmidt
Soparken 61,  Klokkerholm
DK9320 Hjallerup
Denmark

-Soren (and yes today I'm on a 7bit line too :) )




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message