From 2659cc85530c18d9e3c86f79ed498433008fead7 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Fri, 23 Sep 2005 21:40:34 +0000 Subject: addition O2Micro registers needed to make certain chipsets work (atheros seems to be one of them). from linux via Leonardo Chiquitto Filho --- sys/dev/pci/pccbbreg.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/pccbbreg.h b/sys/dev/pci/pccbbreg.h index f5730f02306..d86c4dba852 100644 --- a/sys/dev/pci/pccbbreg.h +++ b/sys/dev/pci/pccbbreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pccbbreg.h,v 1.5 2005/09/19 19:04:19 fgsch Exp $ */ +/* $OpenBSD: pccbbreg.h,v 1.6 2005/09/23 21:40:33 fgsch Exp $ */ /* $NetBSD: pccbbreg.h,v 1.5 2000/06/07 09:02:47 haya Exp $ */ /* * Copyright (c) 1999 HAYAKAWA Koichi. All rights reserved. @@ -194,6 +194,14 @@ # define TOPIC100_PMCSR_MASK 0x00000003 # define TOPIC100_PMCSR_D0 0x0 +/* + * Addition O2Micro registers + */ +#define O2MICRO_RESERVED1 0x94 +#define O2MICRO_RESERVED2 0xD4 +#define O2MICRO_RES_READ_PREFETCH 0x02 +#define O2MICRO_RES_WRITE_BURST 0x08 + /* socket event register (CB_SOCKET_EVENT) elements */ #define CB_SOCKET_EVENT_CSTS 0x01 /* CARDSTS event occurs */ #define CB_SOCKET_EVENT_CD 0x06 /* CD event occurs */ -- cgit v1.2.3