dcons.c (130585) | dcons.c (130640) |
---|---|
1/* 2 * Copyright (C) 2003 3 * Hidetoshi Shimokawa. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * $Id: dcons.c,v 1.65 2003/10/24 03:24:55 simokawa Exp $ | 1/* 2 * Copyright (C) 2003 3 * Hidetoshi Shimokawa. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * $Id: dcons.c,v 1.65 2003/10/24 03:24:55 simokawa Exp $ |
35 * $FreeBSD: head/sys/dev/dcons/dcons.c 130585 2004-06-16 09:47:26Z phk $ | 35 * $FreeBSD: head/sys/dev/dcons/dcons.c 130640 2004-06-17 17:16:53Z phk $ |
36 */ 37 38#include <sys/param.h> 39#include <sys/kernel.h> 40#include <sys/module.h> 41#include <sys/systm.h> 42#include <sys/types.h> 43#include <sys/conf.h> --- 549 unchanged lines hidden (view full) --- 593 break; 594 case MOD_UNLOAD: 595 printf("dcons: unload\n"); 596 callout_stop(&dcons_callout); 597#if DDB && DCONS_FORCE_GDB 598#if CONS_NODEV 599 gdb_arg = NULL; 600#else | 36 */ 37 38#include <sys/param.h> 39#include <sys/kernel.h> 40#include <sys/module.h> 41#include <sys/systm.h> 42#include <sys/types.h> 43#include <sys/conf.h> --- 549 unchanged lines hidden (view full) --- 593 break; 594 case MOD_UNLOAD: 595 printf("dcons: unload\n"); 596 callout_stop(&dcons_callout); 597#if DDB && DCONS_FORCE_GDB 598#if CONS_NODEV 599 gdb_arg = NULL; 600#else |
601 gdbdev = NODEV; | 601 gdbdev = NULL; |
602#endif 603#endif 604#if __FreeBSD_version >= 500000 605 cnremove(&dcons_consdev); 606#endif 607 dcons_detach(DCONS_CON); 608 dcons_detach(DCONS_GDB); 609 dg.buf->magic = 0; --- 12 unchanged lines hidden --- | 602#endif 603#endif 604#if __FreeBSD_version >= 500000 605 cnremove(&dcons_consdev); 606#endif 607 dcons_detach(DCONS_CON); 608 dcons_detach(DCONS_GDB); 609 dg.buf->magic = 0; --- 12 unchanged lines hidden --- |