Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-22 | Constify the what/name parameter of pci_intr_establish(). | Michael Knudsen | |
Tested by myself, sthen, oga, kettenis, and jasper. Input from sthen and jasper. ok kettenis (Manpage follows shortly.) | |||
2009-05-03 | Get rid of pci_addr_fixup machinery; set up the appropriate extents and pass | Mark Kettenis | |
them along when we attach pci(4). Simplify the rbus code by using extents too. | |||
2009-03-29 | bzero pci attach args | Mark Kettenis | |
2009-03-29 | make various strings ("can't map mem space" and similar) more consistent | Stuart Henderson | |
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod. | |||
2009-03-01 | Don't let an mmio area replace the frame buffer if they are the same size. | Mark Kettenis | |
Seen on a Tech Source Raptor. ok miod@ | |||
2008-09-23 | Plug more uninitialized variables. | Miod Vallat | |
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2008-04-25 | neccessary -> necessary; from Pierre Riteau | Jason McIntyre | |
2008-03-25 | Make pci_intr_map(9) fail if the interrupt line register is set to 0xff. | Mark Kettenis | |
Prevents crashes later on when we try to estabish the interrupt. ok miod@, deraadt@ | |||
2008-01-23 | Cleanup cn_pri. Change constants to more meaningful names, rather than | Joel Sing | |
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@ | |||
2007-11-05 | fix and use DEVICE_IS_VGA_PCI, makes vgafb_pci_match() much simpler | Martin Reindl | |
ok oga@ brad@ | |||
2007-05-08 | correct dmesg output | Theo de Raadt | |
2007-03-01 | If the kauai is not found in openfirmware, abort the config. ok deraadt | Dale Rahn | |
2007-02-05 | Map the pci space registers, so that the MEMORY enable gets turned on, | Dale Rahn | |
otherwise if openfirmware has not touched the device yet, the kernel faults on the alternate mappings that are created. ok dlg@ | |||
2006-12-17 | Remove unnecessary <dev/wscons/wscons_raster.h> inclusion. | Miod Vallat | |
2006-12-14 | Make pci subsystem aware of domains. Each host bridge gets assigned a unique | Mark Kettenis | |
domain number such that we can distinguish between busses with the same bus number that are behind different host bridges. Domains can be accessed by using different device nodes. ok deraadt@ | |||
2006-12-05 | Implement an alternative workaround for the extent lies out of region panic | Gordon Willem Klok | |
on old world macppc machines, if the compat property of the device is bandit skip the pci_addr_fixup() call. This acomplishes what the changes in rev 1.33 that were reverted attempted to do without breaking currently supported machines. A positive side effect to this change is also working PCI cards as well as onboard devices. ok drahn@ | |||
2006-11-29 | Add a new member to struct wsemuldisplaydev_attach_args, for a frame buffer | Miod Vallat | |
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting. | |||
2006-10-27 | Partially revert 1.33 the range calculation change for bandit | Gordon Willem Klok | |
unfourtunately breaks some machines found the hard way by xsa@ and mbalmer@. ok mbalmer@ | |||
2006-10-23 | Change bandit as found in many old world macs to use configuration type 1. | Gordon Willem Klok | |
Alter range calculation to handle bandits dual non contiguous PCI memory spaces. Finally fix a bug whereby if the "AAPL,Interrupts" property is defined the variable intr isn't assigned a value and garbage may be written to the PCI interrupt register. tested by jolan, pedro, drahn and myself, and in snaps for a week. ok drahn, deraadt | |||
2006-07-14 | change pcibr_flags back to 0 (turn off verbose mode). If anyone has a | Theo de Raadt | |
problem with a new kernel in the next while, please revert this specific commit and mail the results to kettenis, drahn, and me. | |||
2006-07-13 | Switch to a three-phase pci resource fixup: | Mark Kettenis | |
1. Reserve resources for enabled devices. 2. Reserve resources for disabled devices. 3. Allocate resources. This way we no longer need to enable/disable devices during fixup. Based on an earlier patch by drahn@. ok deraadt@, drahn@ | |||
2006-06-19 | Be more strict in the probe routines and actually check ca_nintr and | Miod Vallat | |
ca_nreg are large enough for our greedy needs; tweaks and ok kettenis@ | |||
2006-05-30 | The aperture that is needed in legacy vga space is even larger for | Matthieu Herrb | |
the mac mini's ATI graphics card. The full 0xa0000-0xfffff range is used here. | |||
2006-05-10 | Use a macro in the MI powerpc PCI header for pci_intr_line() instead | Brad Smith | |
of a function in the MD macppc host bridge code. ok drahn@ | |||
2006-05-02 | The r128 driver also need the 0xb0000-0xc0000 address range. found by Jolan@. | Matthieu Herrb | |
2006-04-28 | In mapped mode, when allowaperture != 0,also allow mmapping of the | Matthieu Herrb | |
PC-style 0xa0000-0xb0000 region, as the nv X driver uses it. Noticed and patch tested by xsa@ and aanriot@. | |||
2006-04-10 | typo by brad | Theo de Raadt | |
2006-04-10 | Intrepid 2 host bridges. | Brad Smith | |
2006-04-10 | recognize the Intrepid 2 ATA controller. | Brad Smith | |
2006-04-09 | On macppc and sparc64, if allowaperture=0 only allow mmap()-ing of | Matthieu Herrb | |
the framebuffer memory in WSDISPLAYIO_MODE_DUMBFB mode. | |||
2006-03-15 | Remove dead code (SUPPORTS_NON_CONSOLE and MD_DISPLAY_ISA_IOT) | Matthieu Herrb | |
ok miod@, drahn@, dim@. | |||
2006-03-13 | * Add "pcitag_t *pba_bridgetag" to pci_attach_args. This is set to | Brad Smith | |
NULL for root PCI busses. For busses behind a bridge, it points to a persistent copy of the bridge's pcitag_t. This can be very useful for machine-dependent PCI bus enumeration code. From NetBSD ok grange@ kettenis@ | |||
2006-02-14 | Put quotation marks around the names of unconfigured devices. | Mark Kettenis | |
ok drahn@ | |||
2006-02-11 | remove unused srom_crc32() function. | Brad Smith | |
ok drahn@ | |||
2006-02-03 | Implement interrupt mapping according to the OFW Interrupt Mapping recommended | Mark Kettenis | |
practice. tested by many, ok drahn@ | |||
2006-01-02 | remove last traces of __BROKEN_INDIRECT_CONFIG. | Brad Smith | |
Thanks to aanriot@ and Michael Knudsen for checking that alpha/i386/macppc kernels still compile. | |||
2006-01-01 | Let cons_init() and cons_init_bell() initialize the whole consdev structure, | Miod Vallat | |
thus removing the need for drivers to initialize cn_pri to CN_DEAD when hardware probe fails. | |||
2005-12-16 | Missing splx in setfault() error path. | Miod Vallat | |
2005-12-14 | Prevent access to PCI config space for function >0 on bus 0. | Mark Kettenis | |
Fixes Xorg PCI scan. ok drahn@ | |||
2005-12-12 | Pass interrupt type and level in the correct order. | Mark Kettenis | |
ok drahn@, deraadt@ | |||
2005-11-17 | go loud with autoconfig messages again, we are gonna try to write drivers soon | Theo de Raadt | |
2005-11-13 | Map the config space area based on sc_maxdevs. (removes panic) | Dale Rahn | |
2005-11-07 | remove vtophys() on *ppc. | Brad Smith | |
ok drahn@ | |||
2005-10-26 | Mach-macro wipeout | Martin Reindl | |
'do it' deraadt@ | |||
2005-10-22 | Make sure we use the corrrect interrupt line on Shasta. | Mark Kettenis | |
ok drahn@ | |||
2005-10-16 | Allow PCI_INTERRUPT_PIN_NONE for the interrupt pin. | Mark Kettenis | |
HyperTransport delivers interrupts via messages and does not define any interrupt pins. (The documentation even warns that some operating systems will not function correctly without a non-zero value in its Interrupt Pin configuration space register.) ok deraadt@ | |||
2005-10-08 | if find_node_intr() doesn't find a match, try to use the contents of | Dale Rahn | |
'interrupts'. Also fix a bug where a signed value with -1 in it is compared against 'sizeof(....)'. | |||
2005-10-08 | Disable caching on vga buffer on 64bit machines. currently it causes | Dale Rahn | |
hangs. | |||
2005-10-07 | match uata devices found on more modern (ie. G5) machines. parts | Theo de Raadt | |
from kettenis, ok drahn |