Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
13790041
Commit
13790041
authored
17 years ago
by
Peter Denison
Browse files
Options
Downloads
Patches
Plain Diff
Remove ssb patch that was part of previous tree pull
SVN-Revision: 7737
parent
86e1d197
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
target/linux/brcm47xx-2.6/patches-2.6.22/220-ssb_pci_deps.patch
+0
-41
0 additions, 41 deletions
.../linux/brcm47xx-2.6/patches-2.6.22/220-ssb_pci_deps.patch
with
0 additions
and
41 deletions
target/linux/brcm47xx-2.6/patches-2.6.22/220-ssb_pci_deps.patch
deleted
100644 → 0
+
0
−
41
View file @
86e1d197
From: Michael Buesch <mb@bu3sch.de>
Date: Fri, 22 Jun 2007 22:13:00 +0000 (+0200)
Subject: bcm43xx-mac80211: Fix build for PCI-less systems.
X-Git-Url: http://bu3sch.de/gitweb?p=wireless-dev.git;a=commitdiff_plain;h=edd2b9cc18cf2eb15ea35d34af556b614f07114b
bcm43xx-mac80211: Fix build for PCI-less systems.
pci_iomap() and pci_iounmap() are not available if PCI
support is disabled.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
---
diff --git a/drivers/ssb/scan.c b/drivers/ssb/scan.c
index feaf1e5..b5d909c 100644
--- a/drivers/ssb/scan.c
+++ b/drivers/ssb/scan.c
@@ -202,7 +202,11 @@
void ssb_iounmap(struct ssb_bus *bus)
iounmap(bus->mmio);
break;
case SSB_BUSTYPE_PCI:
+#ifdef CONFIG_SSB_PCIHOST
pci_iounmap(bus->host_pci, bus->mmio);
+#else
+ assert(0); /* Can't reach this code. */
+#endif
break;
}
bus->mmio = NULL;
@@ -222,7 +226,11 @@
static void __iomem * ssb_ioremap(struct ssb_bus *bus,
mmio = ioremap(baseaddr, SSB_CORE_SIZE);
break;
case SSB_BUSTYPE_PCI:
+#ifdef CONFIG_SSB_PCIHOST
mmio = pci_iomap(bus->host_pci, 0, ~0UL);
+#else
+ assert(0); /* Can't reach this code. */
+#endif
break;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment