Subject: CVS commit: src/sys/dev/pci/bktr
To: None <source-changes@netbsd.org>
From: Martin J. Laubach <mjl@netbsd.org>
List: source-changes
Date: 01/10/2003 03:38:54
Module Name:	src
Committed By:	mjl
Date:		Fri Jan 10 01:38:54 UTC 2003

Modified Files:
	src/sys/dev/pci/bktr: bktr_card.c bktr_core.c bktr_os.c bktr_reg.h

Log Message:
Make this work on big endian platforms (mostly from OpenBSD):
Uploaded scripts work better if they are little endian, as the
card's engine expects, so convert to le first.

Also clean up attach routine a bit (use pa_id and PCI_REVISION
instead of fetching it ourselves).

This makes the driver work on my macppc G4, it can decode and
display video and tuner input. Sound does not seem to work, but
this may be my wonky formac bktr-for-macintosh card.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/dev/pci/bktr/bktr_card.c
cvs rdiff -r1.26 -r1.27 src/sys/dev/pci/bktr/bktr_core.c
cvs rdiff -r1.33 -r1.34 src/sys/dev/pci/bktr/bktr_os.c
cvs rdiff -r1.11 -r1.12 src/sys/dev/pci/bktr/bktr_reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.