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 - тока не спрашивайте почему в такой древней - работа...