Hi, everybody.
Pleeeeese HLP!!!
I write PCI device driver for bridge controller PCI-VME bus in freeBSD 2.2.
And firs run function probe():
static char* probe(tag, type).
Whuy probe() don't work for my vendorID and deviceID (bridge controller and videoadapter). But probe() work with network adapters.
Example:
#define TUNDRA_UNIVERSE 0x000010e3ul
......
static char *
alx_probe (pcici_t tag, pcidi_t type)
{
switch \(type\) \{
case TUNDRA_UNIVERSE: /* TUNDRA_NIVERSE - is constant device ID*/
return\("Tundra Universe||"\); /* - probe is successful*/
\};
return \(\(char *\)0\); /*probe error*/
}
.......
for Russian
����� ����� �������� ����������� ��������� (��� ��� - ����� ��� � ����� �� �����) � ���, ��� ��� ������� ����� PCI-VME ( �� � ��� ���������� ����) �� ������� ������ ��� ���������� � prob �� deviceID � vendorID, �� ����� ���������� ����� ���������� ��� ������� ����� ��� ����������� (��� �� ��������� � IDE) �� ���������� �������� �����.
������� ���� ��� freeBSD2.2 - ���� �� ����������� ������ � ����� ������� - ������...