Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
a6eeec41
Commit
a6eeec41
authored
Mar 18, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
4112c3d3
d700fab6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
13 deletions
+74
-13
arch/sparc64/defconfig
arch/sparc64/defconfig
+60
-6
arch/sparc64/kernel/pci_iommu.c
arch/sparc64/kernel/pci_iommu.c
+2
-4
arch/sparc64/kernel/sparc64_ksyms.c
arch/sparc64/kernel/sparc64_ksyms.c
+2
-0
drivers/video/pm2fb.c
drivers/video/pm2fb.c
+3
-3
include/asm-sparc64/pci.h
include/asm-sparc64/pci.h
+7
-0
No files found.
arch/sparc64/defconfig
View file @
a6eeec41
...
@@ -39,6 +39,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y
...
@@ -39,6 +39,7 @@ CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_OBSOLETE_MODPARM=y
CONFIG_MODVERSIONS=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y
#
#
# General setup
# General setup
...
@@ -112,7 +113,8 @@ CONFIG_FW_LOADER=m
...
@@ -112,7 +113,8 @@ CONFIG_FW_LOADER=m
# Graphics support
# Graphics support
#
#
CONFIG_FB=y
CONFIG_FB=y
# CONFIG_FB_PM2 is not set
CONFIG_FB_PM2=y
# CONFIG_FB_PM2_FIFO_DISCONNECT is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_BW2 is not set
# CONFIG_FB_BW2 is not set
...
@@ -123,7 +125,10 @@ CONFIG_FB_CG6=y
...
@@ -123,7 +125,10 @@ CONFIG_FB_CG6=y
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON_OLD is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
CONFIG_FB_ATY=y
CONFIG_FB_ATY_CT=y
CONFIG_FB_ATY_GX=y
# CONFIG_FB_ATY_XL_INIT is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_KYRO is not set
...
@@ -209,8 +214,8 @@ CONFIG_OBP_FLASH=m
...
@@ -209,8 +214,8 @@ CONFIG_OBP_FLASH=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_NBD=m
CONFIG_BLK_DEV_CARMEL=m
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
#
#
# ATA/ATAPI/MFM/RLL support
# ATA/ATAPI/MFM/RLL support
...
@@ -261,7 +266,9 @@ CONFIG_BLK_DEV_SC1200=m
...
@@ -261,7 +266,9 @@ CONFIG_BLK_DEV_SC1200=m
CONFIG_BLK_DEV_PIIX=m
CONFIG_BLK_DEV_PIIX=m
CONFIG_BLK_DEV_NS87415=m
CONFIG_BLK_DEV_NS87415=m
CONFIG_BLK_DEV_PDC202XX_OLD=m
CONFIG_BLK_DEV_PDC202XX_OLD=m
# CONFIG_PDC202XX_BURST is not set
CONFIG_BLK_DEV_PDC202XX_NEW=m
CONFIG_BLK_DEV_PDC202XX_NEW=m
# CONFIG_PDC202XX_FORCE is not set
CONFIG_BLK_DEV_SVWKS=m
CONFIG_BLK_DEV_SVWKS=m
CONFIG_BLK_DEV_SIIMAGE=m
CONFIG_BLK_DEV_SIIMAGE=m
CONFIG_BLK_DEV_SLC90E66=m
CONFIG_BLK_DEV_SLC90E66=m
...
@@ -297,6 +304,12 @@ CONFIG_SCSI_REPORT_LUNS=y
...
@@ -297,6 +304,12 @@ CONFIG_SCSI_REPORT_LUNS=y
CONFIG_SCSI_CONSTANTS=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_LOGGING is not set
#
# SCSI Transport Attributes
#
CONFIG_SCSI_SPI_ATTRS=m
CONFIG_SCSI_FC_ATTRS=m
#
#
# SCSI low-level drivers
# SCSI low-level drivers
#
#
...
@@ -320,6 +333,7 @@ CONFIG_SCSI_SATA_SVW=m
...
@@ -320,6 +333,7 @@ CONFIG_SCSI_SATA_SVW=m
CONFIG_SCSI_ATA_PIIX=m
CONFIG_SCSI_ATA_PIIX=m
CONFIG_SCSI_SATA_PROMISE=m
CONFIG_SCSI_SATA_PROMISE=m
CONFIG_SCSI_SATA_VIA=m
CONFIG_SCSI_SATA_VIA=m
CONFIG_SCSI_SATA_VITESSE=m
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_CPQFCTS is not set
CONFIG_SCSI_DMX3191D=m
CONFIG_SCSI_DMX3191D=m
...
@@ -663,6 +677,7 @@ CONFIG_NET_SCH_TEQL=m
...
@@ -663,6 +677,7 @@ CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_DELAY=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_ESTIMATOR=y
...
@@ -811,6 +826,11 @@ CONFIG_TMD_HERMES=m
...
@@ -811,6 +826,11 @@ CONFIG_TMD_HERMES=m
CONFIG_PCI_HERMES=m
CONFIG_PCI_HERMES=m
CONFIG_ATMEL=m
CONFIG_ATMEL=m
CONFIG_PCI_ATMEL=m
CONFIG_PCI_ATMEL=m
#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
CONFIG_PRISM54=m
CONFIG_NET_WIRELESS=y
CONFIG_NET_WIRELESS=y
#
#
...
@@ -819,6 +839,7 @@ CONFIG_NET_WIRELESS=y
...
@@ -819,6 +839,7 @@ CONFIG_NET_WIRELESS=y
# CONFIG_TR is not set
# CONFIG_TR is not set
CONFIG_NET_FC=y
CONFIG_NET_FC=y
CONFIG_SHAPER=m
CONFIG_SHAPER=m
CONFIG_NETCONSOLE=m
#
#
# Wan interfaces
# Wan interfaces
...
@@ -943,6 +964,10 @@ CONFIG_BT_HCIUART_BCSP_TXCRC=y
...
@@ -943,6 +964,10 @@ CONFIG_BT_HCIUART_BCSP_TXCRC=y
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBCM203X=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIBFUSB=m
CONFIG_BT_HCIVHCI=m
CONFIG_BT_HCIVHCI=m
CONFIG_NETPOLL=y
# CONFIG_NETPOLL_RX is not set
# CONFIG_NETPOLL_TRAP is not set
CONFIG_NET_POLL_CONTROLLER=y
#
#
# ISDN subsystem
# ISDN subsystem
...
@@ -1043,11 +1068,13 @@ CONFIG_SERIO_PCIPS2=m
...
@@ -1043,11 +1068,13 @@ CONFIG_SERIO_PCIPS2=m
CONFIG_INPUT_KEYBOARD=y
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_KEYBOARD_SUNKBD=y
CONFIG_KEYBOARD_SUNKBD=y
CONFIG_KEYBOARD_LKKBD=m
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_SERIAL=y
CONFIG_MOUSE_SERIAL=y
CONFIG_MOUSE_VSXXXAA=m
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_MISC=y
...
@@ -1091,24 +1118,32 @@ CONFIG_I2C_VIAPRO=m
...
@@ -1091,24 +1118,32 @@ CONFIG_I2C_VIAPRO=m
CONFIG_I2C_VOODOO3=m
CONFIG_I2C_VOODOO3=m
#
#
#
I2C
Hardware Sensors Chip support
# Hardware Sensors Chip support
#
#
CONFIG_I2C_SENSOR=m
CONFIG_I2C_SENSOR=m
CONFIG_SENSORS_ADM1021=m
CONFIG_SENSORS_ADM1021=m
CONFIG_SENSORS_ASB100=m
CONFIG_SENSORS_ASB100=m
CONFIG_SENSORS_
EEPROM
=m
CONFIG_SENSORS_
DS1621
=m
CONFIG_SENSORS_FSCHER=m
CONFIG_SENSORS_FSCHER=m
CONFIG_SENSORS_GL518SM=m
CONFIG_SENSORS_GL518SM=m
CONFIG_SENSORS_IT87=m
CONFIG_SENSORS_IT87=m
CONFIG_SENSORS_LM75=m
CONFIG_SENSORS_LM75=m
CONFIG_SENSORS_LM78=m
CONFIG_SENSORS_LM78=m
CONFIG_SENSORS_LM80=m
CONFIG_SENSORS_LM83=m
CONFIG_SENSORS_LM83=m
CONFIG_SENSORS_LM85=m
CONFIG_SENSORS_LM85=m
CONFIG_SENSORS_LM90=m
CONFIG_SENSORS_LM90=m
CONFIG_SENSORS_VIA686A=m
CONFIG_SENSORS_VIA686A=m
CONFIG_SENSORS_W83781D=m
CONFIG_SENSORS_W83781D=m
CONFIG_SENSORS_W83L785TS=m
CONFIG_SENSORS_W83L785TS=m
CONFIG_SENSORS_W83627HF=m
#
# Other I2C Chip support
#
CONFIG_SENSORS_EEPROM=m
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
# CONFIG_I2C_DEBUG_CHIP is not set
...
@@ -1227,6 +1262,7 @@ CONFIG_NCP_FS=m
...
@@ -1227,6 +1262,7 @@ CONFIG_NCP_FS=m
# CONFIG_NCPFS_EXTRAS is not set
# CONFIG_NCPFS_EXTRAS is not set
CONFIG_CODA_FS=m
CONFIG_CODA_FS=m
# CONFIG_CODA_FS_OLD_API is not set
# CONFIG_CODA_FS_OLD_API is not set
CONFIG_INTERMEZZO_FS=m
CONFIG_AFS_FS=m
CONFIG_AFS_FS=m
CONFIG_RXRPC=m
CONFIG_RXRPC=m
...
@@ -1387,6 +1423,10 @@ CONFIG_SOUND=m
...
@@ -1387,6 +1423,10 @@ CONFIG_SOUND=m
#
#
CONFIG_SND=m
CONFIG_SND=m
CONFIG_SND_BIT32_EMUL=m
CONFIG_SND_BIT32_EMUL=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_OSSEMUL=y
...
@@ -1400,6 +1440,9 @@ CONFIG_SND_SEQUENCER_OSS=y
...
@@ -1400,6 +1440,9 @@ CONFIG_SND_SEQUENCER_OSS=y
#
#
# Generic devices
# Generic devices
#
#
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_DUMMY=m
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTPAV is not set
...
@@ -1409,7 +1452,12 @@ CONFIG_SND_VIRMIDI=m
...
@@ -1409,7 +1452,12 @@ CONFIG_SND_VIRMIDI=m
#
#
# PCI devices
# PCI devices
#
#
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AZT3328=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
CONFIG_SND_BT87X=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX=m
...
@@ -1417,6 +1465,7 @@ CONFIG_SND_CS46XX=m
...
@@ -1417,6 +1465,7 @@ CONFIG_SND_CS46XX=m
CONFIG_SND_CS4281=m
CONFIG_SND_CS4281=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_KORG1212=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_NM256=m
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME96 is not set
...
@@ -1432,9 +1481,11 @@ CONFIG_SND_ES1938=m
...
@@ -1432,9 +1481,11 @@ CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_ES1968=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801_TEA575X=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1712=m
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_SONICVIBES=m
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX is not set
CONFIG_SND_VX222=m
CONFIG_SND_VX222=m
...
@@ -1472,6 +1523,7 @@ CONFIG_USB_DEVICEFS=y
...
@@ -1472,6 +1523,7 @@ CONFIG_USB_DEVICEFS=y
# USB Host Controller Drivers
# USB Host Controller Drivers
#
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
...
@@ -1508,7 +1560,9 @@ CONFIG_USB_HIDDEV=y
...
@@ -1508,7 +1560,9 @@ CONFIG_USB_HIDDEV=y
CONFIG_USB_WACOM=m
CONFIG_USB_WACOM=m
CONFIG_USB_KBTAB=m
CONFIG_USB_KBTAB=m
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_POWERMATE is not set
CONFIG_USB_MTOUCH=m
# CONFIG_USB_XPAD is not set
# CONFIG_USB_XPAD is not set
CONFIG_USB_ATI_REMOTE=m
#
#
# USB Imaging devices
# USB Imaging devices
...
@@ -1543,6 +1597,7 @@ CONFIG_USB_USBNET=m
...
@@ -1543,6 +1597,7 @@ CONFIG_USB_USBNET=m
#
#
# USB Host-to-Host Cables
# USB Host-to-Host Cables
#
#
CONFIG_USB_ALI_M5632=y
CONFIG_USB_AN2720=y
CONFIG_USB_AN2720=y
CONFIG_USB_BELKIN=y
CONFIG_USB_BELKIN=y
CONFIG_USB_GENESYS=y
CONFIG_USB_GENESYS=y
...
@@ -1614,7 +1669,6 @@ CONFIG_USB_EMI26=m
...
@@ -1614,7 +1669,6 @@ CONFIG_USB_EMI26=m
CONFIG_USB_AUERSWALD=m
CONFIG_USB_AUERSWALD=m
CONFIG_USB_RIO500=m
CONFIG_USB_RIO500=m
CONFIG_USB_LEGOTOWER=m
CONFIG_USB_LEGOTOWER=m
# CONFIG_USB_BRLVGER is not set
CONFIG_USB_LCD=m
CONFIG_USB_LCD=m
CONFIG_USB_LED=m
CONFIG_USB_LED=m
CONFIG_USB_SPEEDTOUCH=m
CONFIG_USB_SPEEDTOUCH=m
...
...
arch/sparc64/kernel/pci_iommu.c
View file @
a6eeec41
...
@@ -352,8 +352,7 @@ dma_addr_t pci_map_single(struct pci_dev *pdev, void *ptr, size_t sz, int direct
...
@@ -352,8 +352,7 @@ dma_addr_t pci_map_single(struct pci_dev *pdev, void *ptr, size_t sz, int direct
bad:
bad:
spin_unlock_irqrestore
(
&
iommu
->
lock
,
flags
);
spin_unlock_irqrestore
(
&
iommu
->
lock
,
flags
);
BUG
();
return
PCI_DMA_ERROR_CODE
;
return
0
;
}
}
/* Unmap a single streaming mode DMA translation. */
/* Unmap a single streaming mode DMA translation. */
...
@@ -580,8 +579,7 @@ int pci_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int nelems, int
...
@@ -580,8 +579,7 @@ int pci_map_sg(struct pci_dev *pdev, struct scatterlist *sglist, int nelems, int
bad:
bad:
spin_unlock_irqrestore
(
&
iommu
->
lock
,
flags
);
spin_unlock_irqrestore
(
&
iommu
->
lock
,
flags
);
BUG
();
return
PCI_DMA_ERROR_CODE
;
return
0
;
}
}
/* Unmap a set of streaming mode DMA translations. */
/* Unmap a set of streaming mode DMA translations. */
...
...
arch/sparc64/kernel/sparc64_ksyms.c
View file @
a6eeec41
...
@@ -214,7 +214,9 @@ EXPORT_SYMBOL(sbus_unmap_single);
...
@@ -214,7 +214,9 @@ EXPORT_SYMBOL(sbus_unmap_single);
EXPORT_SYMBOL
(
sbus_map_sg
);
EXPORT_SYMBOL
(
sbus_map_sg
);
EXPORT_SYMBOL
(
sbus_unmap_sg
);
EXPORT_SYMBOL
(
sbus_unmap_sg
);
EXPORT_SYMBOL
(
sbus_dma_sync_single_for_cpu
);
EXPORT_SYMBOL
(
sbus_dma_sync_single_for_cpu
);
EXPORT_SYMBOL
(
sbus_dma_sync_single_for_device
);
EXPORT_SYMBOL
(
sbus_dma_sync_sg_for_cpu
);
EXPORT_SYMBOL
(
sbus_dma_sync_sg_for_cpu
);
EXPORT_SYMBOL
(
sbus_dma_sync_sg_for_device
);
#endif
#endif
EXPORT_SYMBOL
(
outsb
);
EXPORT_SYMBOL
(
outsb
);
EXPORT_SYMBOL
(
outsw
);
EXPORT_SYMBOL
(
outsw
);
...
...
drivers/video/pm2fb.c
View file @
a6eeec41
...
@@ -434,14 +434,14 @@ static void reset_config(struct pm2fb_par* p)
...
@@ -434,14 +434,14 @@ static void reset_config(struct pm2fb_par* p)
pm2_RDAC_WR
(
p
,
PM2I_RD_BLUE_KEY
,
0
);
pm2_RDAC_WR
(
p
,
PM2I_RD_BLUE_KEY
,
0
);
}
}
static
void
set_aperture
(
struct
pm2fb_par
*
p
)
static
void
set_aperture
(
struct
pm2fb_par
*
p
,
u32
depth
)
{
{
WAIT_FIFO
(
p
,
4
);
WAIT_FIFO
(
p
,
4
);
#ifdef __LITTLE_ENDIAN
#ifdef __LITTLE_ENDIAN
pm2_WR
(
p
,
PM2R_APERTURE_ONE
,
0
);
pm2_WR
(
p
,
PM2R_APERTURE_ONE
,
0
);
pm2_WR
(
p
,
PM2R_APERTURE_TWO
,
0
);
pm2_WR
(
p
,
PM2R_APERTURE_TWO
,
0
);
#else
#else
switch
(
p
->
depth
)
{
switch
(
depth
)
{
case
8
:
case
8
:
case
24
:
case
24
:
pm2_WR
(
p
,
PM2R_APERTURE_ONE
,
0
);
pm2_WR
(
p
,
PM2R_APERTURE_ONE
,
0
);
...
@@ -744,7 +744,7 @@ static int pm2fb_set_par(struct fb_info *info)
...
@@ -744,7 +744,7 @@ static int pm2fb_set_par(struct fb_info *info)
pm2_WR
(
par
,
PM2VR_RD_INDEX_HIGH
,
0
);
pm2_WR
(
par
,
PM2VR_RD_INDEX_HIGH
,
0
);
}
}
set_aperture
(
par
);
set_aperture
(
par
,
depth
);
DEFRW
();
DEFRW
();
WAIT_FIFO
(
par
,
19
);
WAIT_FIFO
(
par
,
19
);
...
...
include/asm-sparc64/pci.h
View file @
a6eeec41
...
@@ -213,6 +213,13 @@ pci_dac_dma_sync_single_for_device(struct pci_dev *pdev, dma64_addr_t dma_addr,
...
@@ -213,6 +213,13 @@ pci_dac_dma_sync_single_for_device(struct pci_dev *pdev, dma64_addr_t dma_addr,
*/
*/
}
}
#define PCI_DMA_ERROR_CODE (~(dma_addr_t)0x0)
static
inline
int
pci_dma_error
(
dma_addr_t
dma_addr
)
{
return
(
dma_addr
==
PCI_DMA_ERROR_CODE
);
}
/* Return the index of the PCI controller for device PDEV. */
/* Return the index of the PCI controller for device PDEV. */
extern
int
pci_domain_nr
(
struct
pci_bus
*
bus
);
extern
int
pci_domain_nr
(
struct
pci_bus
*
bus
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment