Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9309
b: refs/heads/master
c: 8e5d17e
h: refs/heads/master
i:
  9307: 14bb42d
v: v3
  • Loading branch information
Dominik Brodowski committed Sep 26, 2005
1 parent ef18d5e commit 06468a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a413c09094e4df714c274690928dcf8125daf7e8
refs/heads/master: 8e5d17ebe41eb98a538ef13aad36da5136701aab
5 changes: 3 additions & 2 deletions trunk/drivers/pcmcia/yenta_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -987,11 +987,12 @@ static void yenta_config_init(struct yenta_socket *socket)
{
u16 bridge;
struct pci_dev *dev = socket->dev;
struct pci_bus_region region;

pci_set_power_state(socket->dev, 0);
pcibios_resource_to_bus(socket->dev, &region, &dev->resource[0]);

config_writel(socket, CB_LEGACY_MODE_BASE, 0);
config_writel(socket, PCI_BASE_ADDRESS_0, dev->resource[0].start);
config_writel(socket, PCI_BASE_ADDRESS_0, region.start);
config_writew(socket, PCI_COMMAND,
PCI_COMMAND_IO |
PCI_COMMAND_MEMORY |
Expand Down

0 comments on commit 06468a7

Please sign in to comment.