History log of /haiku/src/add-ons/kernel/drivers/audio/ac97/es1370/es1370.c
Revision Date Author Comments
# f5e5891b 07-Apr-2024 PulkoMandy <pulkomandy@pulkomandy.tk>

es1370: enable -Werror

- use shared (updated) util.c for memory allocation
- disable functions that are currently not used (ac97 suopport)

Untested, I don't have the hardware.

Change-Id: I9c406e46af94dfc213cfa258c5f375da3c0c719d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7603
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Alexander von Gluck <alex@terarocket.io>


# 723c4270 31-Mar-2024 PulkoMandy <pulkomandy@pulkomandy.tk>

es1370: initialize the log only if the hardware is detected

Otherwise the logfile always exists on all Haiku installs. There is
nothing useful logged to it if no hardware is found.

Change-Id: I290cb0ac070256dbd2647d5fe36ab71f825600e8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7578
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 2e4840b4 17-Aug-2020 Michael Lotz <mmlr@mlotz.ch>

es1370: Fix print formats by using format macros.


# 5217ff8f 16-Aug-2020 Michael Lotz <mmlr@mlotz.ch>

es1370: Fix pointer arithmetic warning by adding a cast.


# 758661fe 16-Aug-2020 Michael Lotz <mmlr@mlotz.ch>

es1370: Always enable PCI bus mastering.

Makes the device work under QEMU with "-soundhw es1370".


# 8ea01001 01-Apr-2012 Jerome Duval <jerome.duval@gmail.com>

es1370: build fix


# 7d8c5773 08-May-2010 François Revol <revol@free.fr>

- use DRIVER_NAME in dprintf.
- unreserve the device in case init failed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36749 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 43088958 24-Sep-2009 Jérôme Duval <korli@users.berlios.de>

* handles correctly failures during setup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33278 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e9fab5ad 10-Sep-2009 Jérôme Duval <korli@users.berlios.de>

fixed es1370 build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33041 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7e26ad5a 01-Sep-2009 François Revol <revol@free.fr>

Add functions to the old-style PCI bus manager to reserve a device from an old-style driver for exclusive use. This should help making OSS and native audio drivers mutually exclusive. Used in es1370 and hda drivers as examples. OSS must still be fixed to use it too though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32899 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9fb04b90 02-Nov-2008 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added a few registerdefines for codec, added unmute mixer output. ES1370, SB PCI128 now produces sound on haiku over here.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28465 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ddcb4e52 28-Oct-2008 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

es1370 compiles on haiku now. no functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28356 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 400ba068 09-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Made sure load_driver_symbols() is not used anymore when building for Haiku;
it's a no-op, and I removed the prototype from KernelExport.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24875 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87ebb10a 30-Jul-2007 Jérôme Duval <korli@users.berlios.de>

ES1370 audio driver for QEmu, first version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21760 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8ea01001849eb30f8597b093bea38a9ef5af755c 01-Apr-2012 Jerome Duval <jerome.duval@gmail.com>

es1370: build fix


# 7d8c577325f98f737f8b10806c2ae9b579350227 08-May-2010 François Revol <revol@free.fr>

- use DRIVER_NAME in dprintf.
- unreserve the device in case init failed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36749 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 430889581a1d28a97d6ee2c8e2c02807dae28072 24-Sep-2009 Jérôme Duval <korli@users.berlios.de>

* handles correctly failures during setup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33278 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e9fab5adbcf03c7eb84829262ad3f13048fe15ca 10-Sep-2009 Jérôme Duval <korli@users.berlios.de>

fixed es1370 build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33041 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7e26ad5af7cb5f8308f6fb9688b2e8b49ad290cb 01-Sep-2009 François Revol <revol@free.fr>

Add functions to the old-style PCI bus manager to reserve a device from an old-style driver for exclusive use. This should help making OSS and native audio drivers mutually exclusive. Used in es1370 and hda drivers as examples. OSS must still be fixed to use it too though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32899 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9fb04b90668c8cd6d4224c8636f8085536b9a1de 02-Nov-2008 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

added a few registerdefines for codec, added unmute mixer output. ES1370, SB PCI128 now produces sound on haiku over here.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28465 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ddcb4e528c4c1dae7cd0a27331aac647cecb9866 28-Oct-2008 Rudolf Cornelissen <rudolf.cornelissen@gmail.com>

es1370 compiles on haiku now. no functional change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28356 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 400ba068e0971623161ea2f939fd5ede8e5af25c 09-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Made sure load_driver_symbols() is not used anymore when building for Haiku;
it's a no-op, and I removed the prototype from KernelExport.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24875 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 87ebb10a40fe95d39392af148eeb37c6f6922e02 30-Jul-2007 Jérôme Duval <korli@users.berlios.de>

ES1370 audio driver for QEmu, first version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21760 a95241bf-73f2-0310-859d-f6bbb57e9c96