aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/driver.php
diff options
context:
space:
mode:
author3D-I <eataly3d@gmail.com>2019-08-12 21:14:58 +0200
committer3D-I <eataly3d@gmail.com>2019-08-12 21:15:54 +0200
commit37de0f96d1c2f52fe8702aa3638cc0f02f577a78 (patch)
tree4f0955b93bcf908c484220f22f39d306b19ed273 /phpBB/phpbb/db/driver/driver.php
parent964c212f031ef7fcbd2e95d28218007830b5d184 (diff)
downloadforums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.tar
forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.tar.gz
forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.tar.bz2
forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.tar.xz
forums-37de0f96d1c2f52fe8702aa3638cc0f02f577a78.zip
[ticket/16080] Use placeholder
PHPBB3-16080
Diffstat (limited to 'phpBB/phpbb/db/driver/driver.php')
0 files changed, 0 insertions, 0 deletions
on>
authorGuillaume Cottenceau <gc@mandriva.com>2002-03-05 22:20:34 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-03-05 22:20:34 +0000
commit4b56b716e9c1db1d354754fcde2ae780efbe07d5 (patch)
tree93e4727fadd77ac9f66ac329f1b49f4dd7940a1b /mdk-stage1
parent8aae6742e2a3d39da694b5f226de087fcbbe2600 (diff)
downloaddrakx-4b56b716e9c1db1d354754fcde2ae780efbe07d5.tar
drakx-4b56b716e9c1db1d354754fcde2ae780efbe07d5.tar.gz
drakx-4b56b716e9c1db1d354754fcde2ae780efbe07d5.tar.bz2
drakx-4b56b716e9c1db1d354754fcde2ae780efbe07d5.tar.xz
drakx-4b56b716e9c1db1d354754fcde2ae780efbe07d5.zip
an old sucking PCI card needs oldskool
i82365 :-((, ugly patch
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/pcmcia_/probe.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mdk-stage1/pcmcia_/probe.c b/mdk-stage1/pcmcia_/probe.c
index b48c4544a..9877ad404 100644
--- a/mdk-stage1/pcmcia_/probe.c
+++ b/mdk-stage1/pcmcia_/probe.c
@@ -115,6 +115,8 @@ pci_id_t pci_id[] = {
};
#define PCI_COUNT (sizeof(pci_id)/sizeof(pci_id_t))
+char * driver = NULL;
+
static int pci_probe(void)
{
char s[256], *name = NULL;
@@ -133,6 +135,10 @@ static int pci_probe(void)
(device == pci_id[i].device)) break;
if (i < PCI_COUNT) {
name = pci_id[i].name;
+ if (pci_id[i].vendor == 0x1013 && pci_id[i].device == 0x1100)
+ driver = "i82365";
+ else
+ driver = "yenta_socket";
break;
}
}
@@ -497,7 +503,7 @@ int tcic_probe(void)
char * pcmcia_probe(void)
{
if (!pci_probe())
- return "yenta_socket"; // will only work for 2.4 with kernel pcmcia :-(
+ return driver;
else if (!i365_probe())
return "i82365";
else if (!tcic_probe())