BusLogic BT-958 SCSI Host Adapter

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

BusLogic BT-958 SCSI Host Adapter

Post by SpyderTL »

I'm having a hard time finding any datasheets for the BusLogic BT-958 SCSI adapter. Here's what I've got so far:

Vendor: Mylex / BusLogic
PCI VendorID: 0x104B
PCI DeviceID: 0x1040

Linux Driver Source: http://www.cs.fsu.edu/~baker/devices/lx ... BusLogic.h

It is also emulated by VirtualBox, which is what I'm using for testing.

I can piece together some information from the linux driver source code, but a proper spec sheet would make my life a lot easier.

Thanks in advance...
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: BusLogic BT-958 SCSI Host Adapter

Post by Brynet-Inc »

Look for the "Multi-Master Ultra SCSI Host Adapters for PCI Systems" manual.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: BusLogic BT-958 SCSI Host Adapter

Post by SpyderTL »

I found the users manual, which shows how to install the card and configure it, but nothing that shows PCI registers or memory addresses. Still searching...
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: BusLogic BT-958 SCSI Host Adapter

Post by Brynet-Inc »

SpyderTL wrote:I found the users manual, which shows how to install the card and configure it, but nothing that shows PCI registers or memory addresses. Still searching...
http://lmgtfy.com/?q=%22Multi-Master+Ul ... Systems%22
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: BusLogic BT-958 SCSI Host Adapter

Post by SpyderTL »

:shock:

I guess I deserve that... :roll:

Thanks.
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: BusLogic BT-958 SCSI Host Adapter

Post by SpyderTL »

I would just like to point out that if you go to Bing.com, and search for "Multi-Master Ultra SCSI Host Adapters for PCI Systems", you totally don't get the PDF you are looking for as the very first result.

Maybe it's time to switch my default search engine back to Google... :mrgreen:
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: BusLogic BT-958 SCSI Host Adapter

Post by Brynet-Inc »

SpyderTL wrote:I would just like to point out that if you go to Bing.com, and search for "Multi-Master Ultra SCSI Host Adapters for PCI Systems", you totally don't get the PDF you are looking for as the very first result.

Maybe it's time to switch my default search engine back to Google... :mrgreen:
Who the heck uses Bing? Except perhaps fictional characters on American television...
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re: BusLogic BT-958 SCSI Host Adapter

Post by bubach »

Brynet-Inc wrote:Who the heck uses Bing? Except perhaps fictional characters on American television...
I find it funny when the product placements are way to obvious. Anyone else noticed the sudden increase in Windows 8 usage on lots of TV-shows? :lol:
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: BusLogic BT-958 SCSI Host Adapter

Post by Brynet-Inc »

bubach wrote:
Brynet-Inc wrote:Who the heck uses Bing? Except perhaps fictional characters on American television...
I find it funny when the product placements are way to obvious. Anyone else noticed the sudden increase in Windows 8 usage on lots of TV-shows? :lol:
Yes. I see lots of Windows phones. It's nice to know that when the world is ending, they still have the time to stay up on the latest trends.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
BenLunt
Member
Member
Posts: 941
Joined: Sat Nov 22, 2014 6:33 pm
Location: USA
Contact:

Re: BusLogic BT-958 SCSI Host Adapter

Post by BenLunt »

Forgive me for waking an old post, but I believe my questions are relevant.

SpyderTL, how did you do on your Buslogic SCSI driver? Were you able to read (and write) from an (emulated) disk?

I have been working on my implementation and have a working start. I have retrieved all the information needed, set up the controller, and can send and receive SCSI commands. However, I cannot get the controller to fire an interrupt. I currently poll the INTERRUPT register for command completion.

I am now working on making it an interrupt based callback and cannot get the (Virtualbox) controller to fire an interrupt.
- I retrieved the IRQ LINE from the PCI Config space as IRQ 11.
- I have interrupt 11 on the PIC8259 unmasked.
- After a Buslogic (BT-958D) hard reset, the interrupts are enabled.
- I have cleared the interrupt bit using a write to the Buslogic CONTROL register.
- I have verified that my system IRQ handler allows interrupts and can see all interrupts (via debug messages) for other devices.
- I have polled that the Buslogic INTERRUPT register does indeed have bit 7 set, meaning an interrupt should have been sent to the PCI bus, which is then sent to the CPU.
- Whether it matters or not, I have verified that the irq_ch in the CONFIG reply as well as in the AUTOSCSI reply match for IRQ 11.

I want to say that the VirtualBox emulation is in error, but with a bit of research, I have found that it works on quite a few modern distros of *nix based systems as well as Win95 (with a modification). I think this modification was that you have to send the BUSLOGIC_MOD_IOADDR (0x95) command to disable the Legacy ISA Port I/O so that Win95 doesn't see two controllers, one at 0x33? and another at the PCI address.

Anyway, I am just wondering if anyone has a working BT-958D Buslogic Interrupt based driver for VirtualBox. This way I can eliminate the question of whether it is my code or VirtualBox.

Thank you,
Ben

- http://www.fysnet.net/osdesign_book_series.htm
Post Reply