Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting11.git;a=commitdiff;h=0da92e17446c8d51c37f6c0f477d214d9fbf49ed
commit 0da92e17446c8d51c37f6c0f477d214d9fbf49ed Author: James Buren <[email protected]> Date: Mon May 13 07:25:10 2013 -0500 crystalhd-20110314-23-x86_64 * rebuild with kernel 3.9 * add patch for kernel 3.8 changes diff --git a/source/xmultimedia/crystalhd/FrugalBuild b/source/xmultimedia/crystalhd/FrugalBuild index 3c070ad..5fefe42 100644 --- a/source/xmultimedia/crystalhd/FrugalBuild +++ b/source/xmultimedia/crystalhd/FrugalBuild @@ -3,7 +3,7 @@ pkgname=crystalhd pkgver=20110314 -pkgrel=22 +pkgrel=23 _name="Broadcom Crystal HD 70012/70015" pkgdesc="Kernel module and firmware for $_name." url="http://linuxtv.org" @@ -15,11 +15,13 @@ source=(http://ftp.frugalware.org/pub/other/sources/$pkgname/$pkgname-$pkgver.ta kernel-module-headers.patch \ kernel-module-makefile.patch \ kernel-module-udev.patch \ + kernel-3.8.patch \ fixes.patch) sha1sums=('85c4a045deeebdcebeb0b3b6cb674e0d1c774538' \ 'cddd94c608a1ff5621ef5b67c0cc611337bb38b9' \ '6c7c30537f0dede06bcb1d488a051fb982e6f4f5' \ '546ccf18830df825edfca19b8ee700fefe280082' \ + 'e5f034a098a6ce6fae2c810a0d8ff8fd16845e1d' \ 'ebd51f71f32903cf47ec2552f3687964001f72a4') Finclude kernel-module diff --git a/source/xmultimedia/crystalhd/kernel-3.8.patch b/source/xmultimedia/crystalhd/kernel-3.8.patch new file mode 100644 index 0000000..9b64e55 --- /dev/null +++ b/source/xmultimedia/crystalhd/kernel-3.8.patch @@ -0,0 +1,87 @@ +diff -ur a/driver/linux/crystalhd_cmds.c b/driver/linux/crystalhd_cmds.c +--- a/driver/linux/crystalhd_cmds.c 2011-03-14 15:02:54.000000000 -0500 ++++ b/driver/linux/crystalhd_cmds.c 2013-05-13 07:22:19.147377741 -0500 +@@ -1093,7 +1093,7 @@ + * + * Called at the time of driver load. + */ +-BC_STATUS __devinit crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx, ++BC_STATUS crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx, + struct crystalhd_adp *adp) + { + struct device *dev = &adp->pdev->dev; +@@ -1136,7 +1136,7 @@ + * + * Called at the time of driver un-load. + */ +-BC_STATUS __devexit crystalhd_delete_cmd_context(struct crystalhd_cmd *ctx) ++BC_STATUS crystalhd_delete_cmd_context(struct crystalhd_cmd *ctx) + { + dev_dbg(chddev(), "Deleting Command context..\n"); + +diff -ur a/driver/linux/crystalhd_lnx.c b/driver/linux/crystalhd_lnx.c +--- a/driver/linux/crystalhd_lnx.c 2011-03-14 15:02:54.000000000 -0500 ++++ b/driver/linux/crystalhd_lnx.c 2013-05-13 07:22:49.876376598 -0500 +@@ -431,7 +431,7 @@ + .llseek = noop_llseek, + }; + +-static int __devinit chd_dec_init_chdev(struct crystalhd_adp *adp) ++static int chd_dec_init_chdev(struct crystalhd_adp *adp) + { + struct device *xdev = &adp->pdev->dev; + struct device *dev; +@@ -498,7 +498,7 @@ + return rc; + } + +-static void __devexit chd_dec_release_chdev(struct crystalhd_adp *adp) ++static void chd_dec_release_chdev(struct crystalhd_adp *adp) + { + crystalhd_ioctl_data *temp = NULL; + if (!adp) +@@ -523,7 +523,7 @@ + /*crystalhd_delete_elem_pool(adp); */ + } + +-static int __devinit chd_pci_reserve_mem(struct crystalhd_adp *pinfo) ++static int chd_pci_reserve_mem(struct crystalhd_adp *pinfo) + { + struct device *dev = &pinfo->pdev->dev; + int rc; +@@ -582,7 +582,7 @@ + return 0; + } + +-static void __devexit chd_pci_release_mem(struct crystalhd_adp *pinfo) ++static void chd_pci_release_mem(struct crystalhd_adp *pinfo) + { + if (!pinfo) + return; +@@ -597,7 +597,7 @@ + } + + +-static void __devexit chd_dec_pci_remove(struct pci_dev *pdev) ++static void chd_dec_pci_remove(struct pci_dev *pdev) + { + struct crystalhd_adp *pinfo; + BC_STATUS sts = BC_STS_SUCCESS; +@@ -625,7 +625,7 @@ + g_adp_info = NULL; + } + +-static int __devinit chd_dec_pci_probe(struct pci_dev *pdev, ++static int chd_dec_pci_probe(struct pci_dev *pdev, + const struct pci_device_id *entry) + { + struct device *dev = &pdev->dev; +@@ -815,7 +815,7 @@ + static struct pci_driver bc_chd_driver = { + .name = "crystalhd", + .probe = chd_dec_pci_probe, +- .remove = __devexit_p(chd_dec_pci_remove), ++ .remove = chd_dec_pci_remove, + .id_table = chd_dec_pci_id_table, + .suspend = chd_dec_pci_suspend, + .resume = chd_dec_pci_resume _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
