diff options
author | 2013-07-16 22:31:15 +0000 | |
---|---|---|
committer | 2013-07-16 22:31:15 +0000 | |
commit | c30d52ae182e7c23a9ed1e03a4cb98f4c74678a4 (patch) | |
tree | 52284784e5ba3398961c861c95cb505922db71ce | |
parent | Add support for BUS_INTR_ESTABLISH_MPSAFE. This makes the previous commit (diff) | |
download | wireguard-openbsd-c30d52ae182e7c23a9ed1e03a4cb98f4c74678a4.tar.xz wireguard-openbsd-c30d52ae182e7c23a9ed1e03a4cb98f4c74678a4.zip |
Enable jfb-style acceleration on XVR-600.
-rw-r--r-- | sys/arch/sparc64/dev/ifb.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/ifb.c b/sys/arch/sparc64/dev/ifb.c index 366195b0adf..16b5e44698d 100644 --- a/sys/arch/sparc64/dev/ifb.c +++ b/sys/arch/sparc64/dev/ifb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifb.c,v 1.20 2013/07/15 18:28:46 miod Exp $ */ +/* $OpenBSD: ifb.c,v 1.21 2013/07/16 22:31:15 miod Exp $ */ /* * Copyright (c) 2007, 2008, 2009 Miodrag Vallat. @@ -536,7 +536,10 @@ ifb_accel_identify(const char *name) if (strcmp(name, "SUNW,XVR-1200") == 0) return IFB_ACCEL_JFB; /* jfb */ - /* XVR-500 is bobcat, XVR-600 is xvr600 */ + if (strcmp(name, "SUNW,XVR-600") == 0) + return IFB_ACCEL_JFB; /* xvr600 */ + + /* XVR-500 is bobcat */ return IFB_ACCEL_NONE; } |