Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 636 → Rev 927

/shark/trunk/drivers/net/include/linux/compatib.h
138,7 → 138,7
extern __inline__ void panic(const char *c)
{
cputs((char *)c);
sys_end();
exit(1);
}
 
/* below tuff added for rtl8139 net driver
/shark/trunk/drivers/net/eth.c
20,11 → 20,11
 
/**
------------
CVS : $Id: eth.c,v 1.10 2004-05-11 16:03:40 giacomo Exp $
CVS : $Id: eth.c,v 1.11 2005-01-08 14:57:06 pj Exp $
 
File: $File$
Revision: $Revision: 1.10 $
Last update: $Date: 2004-05-11 16:03:40 $
Revision: $Revision: 1.11 $
Last update: $Date: 2005-01-08 14:57:06 $
------------
**/
 
131,7 → 131,7
void dev_tint(struct device *dev)
{
printk(KERN_WARNING "Warning! dev_tint called. (Why?)\n");
sys_abort(201);
exit(201);
}
 
/*
145,7 → 145,7
// cprintf("DENTRO netif_rx, skbuf=%p\n",skb->data);
if (nettask_pid == NIL) {
printk(KERN_CRIT "Net receives packets, but the driver doesn't exist.\n");
sys_abort(300);
exit(300);
}
 
port_send(NetRxPort,skb,NON_BLOCK);
/shark/trunk/drivers/net/arp.c
20,11 → 20,11
 
/**
------------
CVS : $Id: arp.c,v 1.4 2004-05-11 14:30:48 giacomo Exp $
CVS : $Id: arp.c,v 1.5 2005-01-08 14:57:06 pj Exp $
 
File: $File$
Revision: $Revision: 1.4 $
Last update: $Date: 2004-05-11 14:30:48 $
Revision: $Revision: 1.5 $
Last update: $Date: 2005-01-08 14:57:06 $
------------
**/
 
140,7 → 140,7
}
if (j == -1) {
cprintf("ARP table overflow.\n");
sys_abort(AARPFULL);
exit(AARPFULL);
}
arpTable[j].valid = FALSE;
}
430,8 → 430,7
s = task_create("ArpRetry",arp_retry,&m,NULL);
if (s == NIL) {
kern_printf("Cannot create ArpRetry\n");
sys_end();
l1_exit(-1);
exit(1);
}
 
eth_setProtocol(ETH_ARP_TYPE,arp_server_recv);
446,7 → 445,7
 
if (sigaction(SIGARPFULL, &action, NULL) == -1) {
perror("Error initializing ARP signal...");
sys_abort(AARPFULL);
exit(AARPFULL);
}
 
task_activate(s);
/shark/trunk/drivers/net/misc.c
5,6 → 5,6
{
cprintf("Panic: stub called!!!\n");
 
sys_abort(200); /* Just a number... */
exit(200); /* Just a number... */
}