Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 905 → Rev 927

/shark/trunk/drivers/bttv/shark_bttv26.c
46,7 → 46,7
 
if (res != 0) {
sys_shutdown_message("ERROR: Cannot initialize BTTV\n");
sys_end();
exit(1);
}
 
bttv_installed = TRUE;
/shark/trunk/drivers/oldsnd/dma.c
86,7 → 86,7
len_port = 0x07;
break;
default: cprintf("dma_setbuff channel error!!!\n");
sys_end();
exit(1);
return;
}
ph_addr = appl2linear(addr);
121,7 → 121,7
break;
/* It does not seem too much clean */
default: cprintf("16 bit DMA?????\n");
sys_end();
exit(1);
return;
}
ph_addr = appl2linear(addr);
/shark/trunk/drivers/oldsnd/sound.c
167,7 → 167,7
p_pl = task_create("sb_Player",proc_play, &m, NULL);
if (p_pl == NIL) {
cprintf("Sound.c: Cannot create sb_Player\n");
sys_end();
exit(1);
return ESRCH;
}
task_activate(p_pl);
250,7 → 250,7
p_sample = task_create("sb_Sampler",proc_sample, &m, NULL);
if (p_sample == NIL) {
cprintf("Sound.c: Cannot create sb_Sampler\n");
sys_end();
exit(1);
return ESRCH;
}
task_activate(p_sample);
325,7 → 325,7
if (p_sb == NIL) {
cprintf("Sound.c: Cannot create sb_EndDMA\n");
cprintf("errno=%d\n",errno);
sys_end();
exit(1);
return ESRCH;
}
//sb_dev.period = period;
/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... */
}
 
/shark/trunk/drivers/input/shark/shark_keyb.c
368,7 → 368,7
set_active_page(0);
set_visual_page(0);
//cputs("Ctrl-C pressed!\n");
sys_end();
exit(1);
}
 
/**** Start User Functions ****/
/shark/trunk/drivers/linuxc26/shark_linuxc26.c
53,7 → 53,7
res = shark_interrupt_server();
if (res != 0) {
printk("ERROR: CANNOT REGISTER LINUX COMPATIBILITY LAYER\n");
sys_end();
exit(1);
}
 
return 0;
/shark/trunk/drivers/linuxc26/waitqueue.c
105,7 → 105,7
{
printk(KERN_DEBUG "@get_current26 out of memory!!!\n");
//
// sys_abort?
// exit?
//
}
tsp->pid = exec_shadow;
/shark/trunk/drivers/linuxc26/shark_videodev.c
28,7 → 28,7
 
if (videodev_open_inode(num)) {
sys_shutdown_message("VIDEODEV26 ERROR: Cannot open the VideoDev driver\n");
sys_end();
exit(1);
}
 
return 0;
/shark/trunk/drivers/oldchar/keyb.c
20,11 → 20,11
 
/**
------------
CVS : $Id: keyb.c,v 1.2 2004-01-17 13:17:52 giacomo Exp $
CVS : $Id: keyb.c,v 1.3 2005-01-08 14:57:06 pj Exp $
 
File: $File$
Revision: $Revision: 1.2 $
Last update: $Date: 2004-01-17 13:17:52 $
Revision: $Revision: 1.3 $
Last update: $Date: 2005-01-08 14:57:06 $
------------
 
Author: Giuseppe Lipari
508,8 → 508,7
set_active_page(0);
set_visual_page(0);
cputs("Ctrl-C pressed!\n");
sys_end();
// exit(1);
exit(1);
}
 
/* This is the interface to application */
/shark/trunk/drivers/oldchar/8042.c
20,11 → 20,11
 
/**
------------
CVS : $Id: 8042.c,v 1.5 2004-03-09 08:49:13 giacomo Exp $
CVS : $Id: 8042.c,v 1.6 2005-01-08 14:57:06 pj Exp $
 
File: $File$
Revision: $Revision: 1.5 $
Last update: $Date: 2004-03-09 08:49:13 $
Revision: $Revision: 1.6 $
Last update: $Date: 2005-01-08 14:57:06 $
------------
 
8042.h
83,7 → 83,7
 
//#define __DEBUG_INIT__ 1
 
/* if defined: show messages during sys_end() */
/* if defined: show messages during exit */
//#define __TRACE_EXIT__ 1
 
/* if defined: trace ps/2 enable/disable */