pq2ads.c

来自「底层驱动开发」· C语言 代码 · 共 27 行

C
27
字号
/* * arch/ppc/platforms/pq2ads.c * * PQ2ADS platform support * * Author: Kumar Gala <kumar.gala@freescale.com> * Derived from: est8260_setup.c by Allen Curtis * * Copyright 2004 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute  it and/or modify it * under  the terms of  the GNU General  Public License as published by the * Free Software Foundation;  either version 2 of the  License, or (at your * option) any later version. */#include <linux/init.h>#include <asm/mpc8260.h>void __initm82xx_board_setup(void){	/* Enable the 2nd UART port */	*(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_RS232_EN2;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?