sil24 cmd issue question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,
    Rencently I am writine a driver about sil3132, and reading kernel code about sil3132, and I have a question about issue cmd to sil3132.
    On the datasheet, it describe that two methods to issue cmd, direct and indirect. I have use indirect method that writes the physical address of the PRB into the Activation register corresponding to the selected slot. But the cmd didn't work wll, and error code is PLDCMDERRORPCIPERR  or PLDCMDERRORMASTERABORT. 
     I have init the device according to the datasheet,  correcting config the pci-e  space (Bus Master, Memory Space in PCI Command which is in PCI Header ), setting sil32 in 32-bit mode , and making sure the byte order( my cpu is big endian, but pci-e is little endian) written to Activation register.  Issue cmd with atandard ATA command PRB, and I am sure that all fields are correct configed. But there nothing happend, without any interrupt. I don't know what is the reasion. Then I use the direct method to issue the cmd, it's successfu and all information returned is correct.
     Can you give me some ideas about nature of the problem?

Thank You.
zh.
------------------
He who gathers crops in summer is a wise son, but he who sleeps during harvest is a disgraceful son.��.n��������+%������w��{.n�����{��'^�)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux