aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/puc
Commit message (Collapse)AuthorAgeFilesLines
* Pseudo-MFC rev 1.58:Marcel Moolenaar2006-09-041-0/+11
| | | | | | | Add SIIG 4 port serial card based on the Oxford OX16PCI954. Notes: svn path=/stable/6/; revision=162009
* Add entry for VScom PCI-200LiPoul-Henning Kamp2006-08-151-0/+10
| | | | | | | (Not quite a MFC becuase of the good work Marcel did here in -current) Notes: svn path=/stable/6/; revision=161316
* MFC: src/sys/dev/puc/puc_ebus.c 1.6, sys/dev/uart/uart_bus_ebus.c 1.9,Marius Strobl2006-02-151-2/+3
| | | | | | | | | | | | | | | | sys/dev/uart/uart_cpu_sparc64.c 1.20, 1.22 - Add support for using LOM (Lights Out Management) and RSC (Remote System Control) devices as console. - Add my copyright to uart_cpu_sparc64.c. - Recognize the SAB82532 in USIII machines. This is MFC'ed for consistency as one part of the original commit, sys/dev/uart/uart_bus_ebus.c rev. 1.7, was already MFC'ed to RELENG_6 (in rev. 1.6.2.2). Approved by: re (scottl) Notes: svn path=/stable/6/; revision=155710
* Account for ebus(4) defaulting to SYS_RES_MEMORY for memory resourcesMarius Strobl2005-06-041-1/+1
| | | | | | | since ebus.c rev. 1.22. Notes: svn path=/head/; revision=146966
* Sort Oxford Semi entires. Add entry for OXCB950, a PCI/CardBusWarner Losh2005-04-221-13/+22
| | | | | | | | | | | 16C950. Adding it here doesn't unlock any of the cool 16C950 features (like the 128 byte fifo, the different prescalor, etc), but it does seem to get it working for me in light testing. Card Provided by: Ihsan Dogan Notes: svn path=/head/; revision=145391
* Use BUS_PROBE_DEFAULT for pci probe return valueWarner Losh2005-03-051-1/+1
| | | | Notes: svn path=/head/; revision=143158
* - sparc64/fhc/fhc.c:Marius Strobl2005-03-041-9/+0
| | | | | | | | | | | | | | | | | | | | Change fhc(4) to use IRQ numbers instead of RIDs for allocating the IRQs of children. This works similar to e.g. sbus(4), i.e. add the IRQ resources as fully specified to the resource lists of the children, allocate them like normal. When establishing the interrupt search the interrupt maps of the children for a matching INO to determine which map we need to write the fully specified interrupt number to and to enable the mapping (before the RID was used to indicate which interrupt map to use). - dev/puc/puc.c: Revert rev. 1.38, with the above change fhc(4) no longer needs special treatment for allocating IRQs. Thanks to: joerg for providing access to an E3500 Notes: svn path=/head/; revision=143142
* Declare the sbus(4) front-end of puc(4) also for fhc(4), allowingMarius Strobl2005-02-261-0/+1
| | | | | | | | | | | | | | | | uart(4) to support the Zilog 8530 SCCs which hang off of a FireHose bus on Sun E4000/E5000 class machines. Beside the fact that a puc_fhc.c would just be a copy of puc_sbus.c with s,sbus,fhc,g the reason why the declaration for fhc(4) was sticked into puc_sbus.c is that both of these front-ends for puc(4) will go away once there is a scc(4). Discussed with: marcel Tested by: hrs, kris MFC after: 3 days Notes: svn path=/head/; revision=142532
* Add a stopgap allowing puc(4) to allocate IRQs on fhc(4). Given thatMarius Strobl2005-02-261-0/+9
| | | | | | | | | | | | | both a scc(4) is under way and fhc(4) will be change to use INOs this shouldn't stay in HEAD for too long but we need a MFC-able solution for FreeBSD 5.4. Discussed with: marcel Tested by: hrs, kris MFC after: 3 days Notes: svn path=/head/; revision=142531
* Remove duplicate FBSDID.Marius Strobl2005-02-261-3/+0
| | | | Notes: svn path=/head/; revision=142529
* fail gracefully rather than using an invalid array index if unableSam Leffler2005-02-251-2/+6
| | | | | | | | | | to allocate a bar; it's unclear whether this can happen in practice Noticed by: Coverity Prevent analysis tool Discussed with: marcel Notes: svn path=/head/; revision=142502
* add support for NetMos NM9805 1284 Printer portWilko Bulte2005-02-091-0/+9
| | | | | | | | | Submitted by: Willy Offermans <W.K.Offermans@TUe.nl> MFC after: 2 weeks Notes: svn path=/head/; revision=141582
* Revert rev. 1.5.Marcel Moolenaar2005-01-311-1/+1
| | | | | | | | | | It should be safe to attach to all Z8530 controllers again. In fact, the keyboard works on Ultra 2 machines. MFC after: 5 days Notes: svn path=/head/; revision=141080
* Add PCI ID for Dell RAC IV/ERA Virtual UART (PowerEdge 1850).Bruce M Simpson2005-01-271-2/+9
| | | | | | | | | | Trim name of existing Dell RAC devices. Trim comments. With help from: dpk at dpk dot net MFC after: 1 week Notes: svn path=/head/; revision=140882
* Add device description for the Dell Remote Access Card (DRAC) III and IVBruce M Simpson2005-01-201-0/+9
| | | | | | | | | | | | virtual COM port. This makes the use of the Dell OpenManage tools on FreeBSD considerably easier, and is based on Chuck Cranor's original patch for 4.6. Reviewed by: imp Tested by: dpk at dpk dot net MFC after: 1 week Notes: svn path=/head/; revision=140513
* Revert part of last commit that was unintentionalWarner Losh2005-01-111-1/+1
| | | | Notes: svn path=/head/; revision=140046
* Use the standard FreeBSD licenseWarner Losh2005-01-113-37/+37
| | | | Notes: svn path=/head/; revision=140040
* Start each of the license/copyright comments with /*-, minor shuffle of linesWarner Losh2005-01-066-6/+6
| | | | Notes: svn path=/head/; revision=139749
* Add support for Chase/Perle PCI FAST-4 4 port serial cards which appearWilko Bulte2005-01-051-0/+36
| | | | | | | | | | | | to be the same as Boca Research Turbo Serial 654 (4 serial port). While add the 8 port variants as well. Submitted by: sten@blinkenlights.nl PR: kern/75793 MFC after: 1 week Notes: svn path=/head/; revision=139728
* Apply a bandaid to avoid hangs on Ultra 2 machines. The second Z8530Marcel Moolenaar2004-11-151-1/+1
| | | | | | | | | connects to the keyboard and mouse and needs some special treatment. Until this is fully understood, implemented and tested, simply avoid probing the second Z8530. This is also what the zs(4) driver does. Notes: svn path=/head/; revision=137712
* - Introduce an ofw_bus kobj-interface for retrieving the OFW node and aMarius Strobl2004-08-122-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | subset ("compatible", "device_type", "model" and "name") of the standard properties in drivers for devices on Open Firmware supported busses. The standard properties "reg", "interrupts" und "address" are not covered by this interface because they are only of interest in the respective bridge code. There's a remaining standard property "status" which is unclear how to support properly but which also isn't used in FreeBSD at present. This ofw_bus kobj-interface allows to replace the various (ebus_get_node(), ofw_pci_get_node(), etc.) and partially inconsistent (central_get_type() vs. sbus_get_device_type(), etc.) existing IVAR ones with a common one. This in turn allows to simplify and remove code-duplication in drivers for devices that can hang off of more than one OFW supported bus. - Convert the sparc64 Central, EBus, FHC, PCI and SBus bus drivers and the drivers for their children to use the ofw_bus kobj-interface. The IVAR- interfaces of the Central, EBus and FHC are entirely replaced by this. The PCI bus driver used its own kobj-interface and now also uses the ofw_bus one. The IVARs special to the SBus, e.g. for retrieving the burst size, remain. Beware: this causes an ABI-breakage for modules of drivers which used the IVAR-interfaces, i.e. esp(4), hme(4), isp(4) and uart(4), which need to be recompiled. The style-inconsistencies introduced in some of the bus drivers will be fixed by tmm@ in a generic clean-up of the respective drivers later (he requested to add the changes in the "new" style). - Convert the powerpc MacIO bus driver and the drivers for its children to use the ofw_bus kobj-interface. This invloves removing the IVARs related to the "reg" property which were unused and a leftover from the NetBSD origini of the code. There's no ABI-breakage caused by this because none of these driver are currently built as modules. There are other powerpc bus drivers which can be converted to the ofw_bus kobj-interface, e.g. the PCI bus driver, which should be done together with converting powerpc to use the OFW PCI code from sparc64. - Make the SBus and FHC front-end of zs(4) and the sparc64 eeprom(4) take advantage of the ofw_bus kobj-interface and simplify them a bit. Reviewed by: grehan, tmm Approved by: re (scottl) Discussed with: tmm Tested with: Sun AX1105, AXe, Ultra 2, Ultra 60; PPC cross-build on i386 Notes: svn path=/head/; revision=133589
* Remove duplicate FreeBSD idWarner Losh2004-07-011-3/+0
| | | | Notes: svn path=/head/; revision=131419
* While this file still needs __RMAN_RESOURCE_VISIBLE to get the size ofWarner Losh2004-07-011-6/+9
| | | | | | | | the struct resource for a malloc, it no longer needs it for the r_ elements of struct resource with this commit. Notes: svn path=/head/; revision=131418
* Remove extra RMAN_RESOURCE_VISISBLEWarner Losh2004-06-301-1/+0
| | | | Notes: svn path=/head/; revision=131372
* puc needs to peek into struct resource too.Warner Losh2004-06-301-0/+1
| | | | Notes: svn path=/head/; revision=131371
* This needs __RMAN_RESOURCE_VISIBLEPoul-Henning Kamp2004-06-301-1/+1
| | | | Notes: svn path=/head/; revision=131370
* Add missing <sys/module.h> includes currently relying on nested includePoul-Henning Kamp2004-06-032-0/+2
| | | | | | | in <sys/kernel.h> Notes: svn path=/head/; revision=130026
* Add missing <sys/module.h> includesPoul-Henning Kamp2004-05-302-0/+2
| | | | Notes: svn path=/head/; revision=129879
* Add description of Cronyx Omega2-PCI (8x port serial adapter).Roman Kurakin2004-05-171-0/+15
| | | | Notes: svn path=/head/; revision=129337
* Add IC Book Labs Gunboat x2 and x4 series of serial adapters.Maxim Sobolev2004-04-241-0/+45
| | | | | | | | Hardware provided by: IC Book Labs MFC After: 2 weeks Notes: svn path=/head/; revision=128602
* Moved the function pointer in struct puc_device_description to the endBruce Evans2004-04-183-93/+2
| | | | | | | | | | | of the struct, so that a placeholder for it (or unportable C99 initializers) are not needed for entries that don't use it. Use a C99 initializer for the 1 entry that uses it. Removed 91 placeholders. This also restores API compatibility with NetBSD and RELENG_4 for most entries. Notes: svn path=/head/; revision=128404
* Miscellaneous style fixes, including yet another attempt to get theBruce Evans2004-04-181-21/+23
| | | | | | | 0x1393/0x1041 entry and its bad templates right. Notes: svn path=/head/; revision=128394
* Fixed some style bugs in rev.1.1 (only 2 entries were misformatted).Bruce Evans2004-04-181-11/+11
| | | | Notes: svn path=/head/; revision=128392
* Fixed some style bugs (perfect tab lossage on every line) in rev.1.4.Bruce Evans2004-04-181-11/+11
| | | | Notes: svn path=/head/; revision=128391
* Fixed some style bugs (misformatting) in rev.1.9.Bruce Evans2004-04-181-2/+2
| | | | Notes: svn path=/head/; revision=128390
* Oops, fixed some more style bugs (tab lossage) in rev.1.28. Fixed theBruce Evans2004-04-181-12/+12
| | | | | | | same style bug in revs.1.20, 1.18, 1.15 and 1.12. Notes: svn path=/head/; revision=128389
* Fixed some style bugs in rev.1.24. Almost every line was misformatted,Bruce Evans2004-04-181-7/+7
| | | | | | | and Oxford was misspelled. Notes: svn path=/head/; revision=128387
* Fixed some style bugs (formatting errors) in rev.1.25.Bruce Evans2004-04-181-5/+5
| | | | Notes: svn path=/head/; revision=128386
* Fixed some style bugs (tab lossage) in rev.1.26.Bruce Evans2004-04-181-2/+2
| | | | | | | | | | | | | | Removed the requirement for a particular subvendor/subproduct in rev.1.26 (VScom PCI-800L card). While the BARs, etc., may depend on the sub-ids, this is not known to be so, and I think it is better to guess that they don't. The decision to check sub-id checks in this file is apparently random; for VScom cards they were checked in 3 of 8 cases. Reviewed by: timeout by committer (joerg) after 6 months Notes: svn path=/head/; revision=128383
* Fixed some style bugs in rev.1.28. Almost every line was misindented.Bruce Evans2004-04-181-9/+9
| | | | Notes: svn path=/head/; revision=128381
* Fixed a style bug (insertion sort error) in rev.1.29. This file shouldBruce Evans2004-04-181-10/+10
| | | | | | | | be sorted in the same order as misc/pci_vendors (on vendor/device id), and already partly is. Notes: svn path=/head/; revision=128380
* Fixed some style bugs in previous commit. Almmost every line wasBruce Evans2004-04-181-11/+13
| | | | | | | misformatted. Notes: svn path=/head/; revision=128379
* Add support for Exsys EX-41098 cards.Colin Percival2004-04-171-0/+14
| | | | | | | | | | PR: kern/65040 Submitted by: Stefan Grundmann <sg-sendpr@waset.de> Tested by: buildkernel "Just commit it" by: phk Notes: svn path=/head/; revision=128354
* Ever since rev 1.27 of puc.c, the port number that was exposed by puc(4)Marcel Moolenaar2004-04-051-1/+1
| | | | | | | | | | | | and used by uart(4) for the channel conflicted with the port offset for the Z8530. The Z8530 has the channels reversed (i.e. channel B is at offset 0 and channel A is at offset 4). Assign the port offsets in the right order so that uart(4) will properly attach to the channels. Submitted by: Marius Strobl <marius@alchemy.franken.de> Notes: svn path=/head/; revision=127872
* Convert callers to the new bus_alloc_resource_any(9) API.Nate Lawson2004-03-171-3/+3
| | | | | | | | Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde Notes: svn path=/head/; revision=127135
* Expand the mask for the Avlab Technology, PCI IO 2S entry to cover theJohn Baldwin2004-02-041-1/+1
| | | | | | | | | | | 2S-650 and 2S-850 variants. PR: kern/45285 Submitted by: Andrey Zakharchenko <avz AT jscc.ru> MFC after: 1 week Notes: svn path=/head/; revision=125453
* Add support for an non-branded SUN1889-based 2 port PCI serial card.John Baldwin2003-12-311-0/+10
| | | | | | | | | PR: kern/55159 Submitted by: Yeasah Pell <yeasah@apocalypse.org> MFC after: 1 week Notes: svn path=/head/; revision=124024
* Add support for Moxa Technologies' Smartio CP-104UL/PCI 4S RS232 card.David E. O'Brien2003-12-091-0/+13
| | | | | | | Submitted by: Guido Falsi <mad@madpilot.net> Notes: svn path=/head/; revision=123360
* Sometimes cardbus attachments don't attach, so while we track downWarner Losh2003-11-281-0/+1
| | | | | | | | | | | this problem put these lines back in. While they should be unnecessary, they appear to be sometimes necessary. Reviewed in concept: dfr Approved by: re (scottl@) Notes: svn path=/head/; revision=123019
* Remove explicit cardbus attachments from drivers where this is identicalDoug Rabson2003-11-031-1/+0
| | | | | | | | | | to the pci attachment. Cardbus is a derived class of pci so all pci drivers are automatically available for matching against cardbus devices. Reviewed by: imp Notes: svn path=/head/; revision=121939