Commit Graph

1586 Commits

Author SHA1 Message Date
pgoyette
65d9dac7ee sc->sc_parent was removed because it was never used, so don't bother
trying to set it.
2008-10-09 03:11:29 +00:00
pgoyette
379328cb93 Remove chip-specific drivers for ADT7463, ADT7467, and ADM1030; these
have been superseded by the dbcool(4) driver.
2008-10-07 19:32:29 +00:00
pgoyette
7a91225cc4 Move all platforms to new dbCool driver in preparation for removal of
chip-specific drivers
2008-10-07 12:43:31 +00:00
macallan
8133f9d1ce fix bus_spacification botch
from Marco Trillo in PR39696
2008-10-05 05:01:08 +00:00
pgoyette
d5697e7834 Add dbcool ki2c attachment for macppc 2008-10-02 00:55:43 +00:00
macallan
8bcef57bb4 Use access functions to mess with FCRs, GPIOs etc. in order to avoid
multiple mappings of obio's register space.
This needs testing.
2008-09-26 04:06:59 +00:00
macallan
9a3f01e80e add some register definitions 2008-09-26 03:40:26 +00:00
macallan
ac4ac77b12 get rid of heathrow_FCR 2008-09-26 03:39:59 +00:00
macallan
b8ae2bc305 use access functions to mess with obio's registers 2008-09-26 03:38:25 +00:00
macallan
e3856204b9 use min(255, blah) to cap volume instead of masking the upper bits out 2008-09-26 03:20:30 +00:00
macallan
58c0e446a1 Provide access functions for mac-io registers in order to get rid of
private mappings some drivers use which won't work anymore in the new
post-ppcoea-renovation world order.
2008-09-26 03:19:05 +00:00
macallan
cc43cb490b get rid if some mistyped magic number, spotted by Marco Trillo
While there map only the space we actually need.
Needs to be tested on actual hardware.
2008-09-10 00:33:12 +00:00
jmcneill
ebf54f79dc Add support for keylargo-style mediabays, as found in eg. PowerBook3,1 2008-08-28 04:05:50 +00:00
jmcneill
5297b0caca PR#39414: No audio from awacs on PowerBook G3 (Firewire/Pismo)
Don't enable parallel output on PowerBook3,1 models.
2008-08-27 14:31:46 +00:00
macallan
88d57c1556 add options OPENPIC_DISTRIBUTE 2008-08-26 16:55:48 +00:00
macallan
a26fbe2eae add battery and smartbat at pmu 2008-08-26 16:27:07 +00:00
macallan
600cca055e throw out some obsolete PIC_ options, explain why ofb is disabled 2008-08-26 16:24:45 +00:00
macallan
deb7150174 add spdmem(4) 2008-08-26 16:20:17 +00:00
macallan
43538d7982 throw out options OPENPIC
Now the G5 kernel builds again with new style PIC code enabled
2008-08-26 16:18:49 +00:00
macallan
a872905132 let ibmcpc pull in openpic stuff 2008-08-26 16:17:14 +00:00
macallan
1f157c8247 add memory at mainbus, for spdmem 2008-08-26 16:14:45 +00:00
macallan
2211ccf058 add spdmem(4) support
From Marco Trillo
2008-08-26 16:11:18 +00:00
tsutsui
e147fd9260 - remove duplicated and commented out nadb device entries
(with some tweaks on comments for them)
- enable sgsmix0 at iic0 for beige G3 machines

Suggested by macallan@ on port-macppc.
2008-08-15 14:41:26 +00:00
macallan
7f91f2bd1b actually implement smart battery support
From Magnus Henoch.
This needs more testing, especially on older PowerBooks which may have more thanone battery.
2008-08-12 17:16:16 +00:00
tls
fca9d633b9 Add accept filters to GENERIC kernels where they exist. 2008-08-10 15:31:20 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
macallan
df34d2042b Fix remaining register offset shifting left over from proper bus_space-ification
done a while ago. From Marco Trillo.
This should fix PR 39176.
2008-07-28 16:54:49 +00:00
macallan
9403c29e8e actually initialize sc_dmacmd and get rid of getnodebypci() - use
pcidev_to_ofdev() instead
noticed by Marco Trillo, tested on my iBook G4
2008-07-02 03:20:19 +00:00
cegger
2dace40230 use device_lookup_private to get softc 2008-06-13 11:54:31 +00:00
tsutsui
6b0322861b Add options COMPAT_40 to files which have options COMPAT_30. 2008-05-30 20:10:01 +00:00
chs
b2e9f679cb recognize the variant found in the last model of powermac G5. 2008-05-25 16:00:11 +00:00
hauke
f5ede5dc2e Added driver for the Creative Systems Inc. Hurdler CPI parallel printer card.
Timecounter support for the Z8536 counters A + B is not complete, yet.

Reviewed by Martin Husemann.
2008-05-22 19:49:43 +00:00
macallan
e369394198 sprinkle static 2008-05-16 03:49:54 +00:00
macallan
0a9283467c struct device * -> device_t 2008-05-16 03:11:09 +00:00
macallan
b6c6870c6d struct device * -> device_t 2008-05-16 02:41:50 +00:00
macallan
f147f68f57 listen to PMF volume control events
With this volume vontrol via keyboard works on my iBook G4.
2008-05-15 20:11:00 +00:00
macallan
7d61890be8 struct device -> device_t 2008-05-15 19:47:09 +00:00
macallan
757fd24b0c nuke license clause 3 2008-05-08 01:37:04 +00:00
macallan
e24aaf48e7 report chip revision 2008-05-08 01:36:03 +00:00
macallan
343b964931 magic number reduction
from Izumi Tsutsui
2008-05-08 01:27:43 +00:00
macallan
5572494305 Make the priority ordering code actually work.
Thanks to Izumi Tsutsui for bugging me repeatedly about the problem.
2008-05-07 00:39:12 +00:00
xtraeme
07c2a78bc8 device_t/softc split for adt7467c(4) and adm1030, and other related
cosmetic changes.
2008-05-04 14:45:01 +00:00
martin
3028e483e4 Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui
78a1d236b6 Split device_t/softc for MI ncr53c9x and some related devices,
with various cleanup.
2008-04-13 04:55:52 +00:00
macallan
3b8eb423c6 actually update the 'battery present' sensor. Doh. 2008-03-30 18:19:53 +00:00
macallan
b996b42f44 free & unmap DMA memory and registers on detach()
Now removing and re-attaching a mediabay works again.
2008-03-30 18:16:25 +00:00
macallan
a78054eebc don't splhigh() in the interrupt handler, instead spltty() in adb_poll() 2008-03-30 17:57:29 +00:00
tsutsui
02cb47cab2 Split softc and device_t for zsc(4) and its children.
XXX we should restructure MI APIs and make it really machine independent.
2008-03-29 19:15:34 +00:00
cube
7aa6248cdf Split device_t and softc for ATA devices, as well as wd(4). Other
cosmetic changes where appropriate.
2008-03-18 20:46:35 +00:00