--- /tmp/pcilynx.c Sat Jan 26 04:10:39 2002 +++ ./drivers/ieee1394/pcilynx.c Sat Jan 26 04:15:43 2002 @@ -641,7 +641,7 @@ static int mem_open(struct inode *inode, struct file *file) { - int cid = MINOR(inode->i_rdev); + int cid = minor(inode->i_rdev); enum { t_rom, t_aux, t_ram } type; struct memdata *md; @@ -1517,7 +1517,7 @@ lynx->state = is_host; if (num_of_cards < MAX_NUM_OF_CARDS) - cards[num_of_cards++] = host->hostdata; + cards[num_of_cards++] = *(host->hostdata); else FAIL("Too many cards[ %d ]... Impossible...\n", num_of_cards);