#!/bin/sh
echo "=== DF-2397 hardware gate ==="
ls /dev/agpgart 2>&1 || echo "  /dev/agpgart absent"
pciconf -l 2>&1 | grep -iE "agp|0x0302" || echo "  no AGP bridge"
kldstat 2>&1 | grep -i agp || echo "  no agp module loaded"
echo "==> AGP_* ioctls need /dev/agpgart (absent); no AGP hardware on guest."
exit 0
