summaryrefslogtreecommitdiffstats
path: root/sys/dev/puc
Commit message (Collapse)AuthorAgeFilesLines
* Expand the mask for the Avlab Technology, PCI IO 2S entry to cover thejhb2004-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
* Add support for an non-branded SUN1889-based 2 port PCI serial card.jhb2003-12-311-0/+10
| | | | | | PR: kern/55159 Submitted by: Yeasah Pell <yeasah@apocalypse.org> MFC after: 1 week
* Add support for Moxa Technologies' Smartio CP-104UL/PCI 4S RS232 card.obrien2003-12-091-0/+13
| | | | Submitted by: Guido Falsi <mad@madpilot.net>
* Sometimes cardbus attachments don't attach, so while we track downimp2003-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@)
* Remove explicit cardbus attachments from drivers where this is identicaldfr2003-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
* const char ** needs to be passed, not char **.imp2003-10-271-1/+1
|
* Add support for another multiple serial port card based on OX16PCI954 deviceambrisko2003-10-241-0/+13
| | | | | | id 0x950a. MFC: after 4.9 release.
* Make the port number available to the sub-device with PUC_IVAR_PORT.marcel2003-09-262-4/+10
|
* Add an entry for the VScom (Titan?) PCI-800L 8-port serial multiportjoerg2003-09-191-0/+24
| | | | | | | | | card. Thanks to bde for his help in configuring the undocumented bars in this driver... MFC after: 1 month
* Enhance puc(4) to support uart(4). This includes:marcel2003-09-066-77/+334
| | | | | | | | | | | | | | | | | | | | | | | | | o Introduce PUC_PORT_TYPE_UART so that we can attach to uart(4), o Introduce port sub-types (eg PUC_PORT_UART_NS8250, PUC_PORT_UART_Z8530) to handle different hardware and determine resource sizes. o Introduce two new IVARs: PUC_IVAR_SUBTYPE and PUC_IVAR_REGSHFT. Both are used by uart(4) to get sufficient information to talk to the HW. o Introduce PUC_FLAGS_ALTRES to tell puc(4) to try memory mapped I/O if I/O port space cannot be allocated, or vice versa. o Have ports of type PUC_PORT_TYPE_COM attach to uart(1) if attaching to sio(4) fails (due to not having the sio driver). o Put struct puc_device_description in struct puc_softc instead of having a pointer to a device description in the softc. This allows us to create device descriptions on the fly without having to use malloc() or otherwise have them staticly defined. o Move puc_find_description() from puc.c to puc_pci.c as it's specific to PCI. o Add EBUS and SBUS frontends for use on sparc64. Note that the P in puc stands for PCI, so we kinda mess things up here. It's too soon to worry about it though. We'll know what to do about it in time. NOTE: This commit changes the behaviour of puc(4) to not quieten the device probe and attach for child devices. The uart(4) driver provides additional device description that is valuable to have.
* - Rename PCIx_HEADERTYPE* to PCIx_HDRTYPE* so the constants aren't so long.jhb2003-08-281-1/+1
| | | | | | | | | | | - Add a new PCIM_HDRTYPE constant for the field in PCIR_HDRTYPE that holds the header type. - Replace several magic numbers with appropriate constants for the header type register and a couple of PCI_FUNCMAX. - Merge to amd64 the fix to the i386 bridge code to skip devices with unknown header types. Requested by: imp (1, 2)
* Use __FBSDID().obrien2003-08-243-1/+9
| | | | Also some minor style cleanups.
* Add in a missing device entry that I thought was already in there. Thisambrisko2003-08-211-0/+10
| | | | | | is from the same PR. Prompted by the reporter of the PR. PR: 38372
* Add support for the newer Moxa PCI 8-port, 16550-compatible basedpb2003-08-141-0/+17
| | | | | | | | | | CP-168U board. It initializes and attaches in the same way as the older (but higher performance) C168H. The only difference is the board ID, which is 0x1681. PR: kern/53548 Submitted by: regnauld@catpipe.net MFC after: 1 week
* Support the Titan VScom PCI-200HV2 2 port serial card.bde2003-08-021-0/+10
| | | | MFC after: 3 days
* Add printer support to puc(4) driver.ambrisko2003-08-011-2/+15
| | | | | | | | | | | - Move isa/ppc* to sys/dev/ppc (repo-copy) - Add an attachment method to ppc for puc - In puc we need to walk the chain of parents. Still to do, is to make ppc(4) & puc(4) work on other platforms. Testers wanted. PR: 38372 (in spirit done differently) Verified by: Make universe (if I messed up a platform please fix)
* add support for NetMos 4S0P PCI: 4S, 0Pwilko2003-05-141-0/+13
| | | | | | | tested on -current: ceri tested on -stable: wilko approved: re (scottl)
* Add support for IC Book Ironclad Pro/Lite 8-port cards.sobomax2003-04-302-2/+36
| | | | | Sponsired by: IC Book Labs MFC After: 2 weeks
* Correct typos.murray2003-04-071-2/+2
| | | | | | PR: kern/50619 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> MFC after: 3 days
* Add support for Moxa Technologies Co., Ltd. PCI I/O Card 4S RS232phk2003-04-031-0/+13
| | | | Submitted by: sst@cybercity.dk
* - Add minimal support for TI16754 4xUART chip into sio(4) driver and removesobomax2003-03-153-40/+113
| | | | | | | | | | | | now unnecessary hack from the previous commit; - Add support for Interrupt Latch Register (ILR) into puc(4). So far only ILRs compatible with specifications from Digi International are supported. Support for other types of ILRs could be easily added later; - Correct clock frequency for IC Book Labs Dreadnought x16 Lite board; - Enable ILR detection/usage for IC Book Labs Dreadnought x16 boards. Sponsored by: IC Book Labs MFC after: 2 weeks
* Correct clock frequency for the IC Book Labs' cards, so that it's possiblesobomax2003-03-121-32/+32
| | | | | | | to use speeds higher than 115200. Sponsored by: IC Book Labs MFC after: 2 weeks
* Add initial support for IC Book Labs Dreadnought x16 Pro 16-ports card. Sincesobomax2003-03-121-0/+24
| | | | | | | | | | this card is based on 16750 UART, modify sio(4) a bit to ignore 16750-specific 7th bit of MCR when probing card. This allows card to be detected and attached as 16550A-compatible device. More work needs to be done in order to enable nice 16750-specific features such as larger fifo buffer and higher speeds. Sponsored by: IC Book Labs MFC after: 2 weeks
* Back out M_* changes, per decision of the TRB.imp2003-02-191-1/+1
| | | | Approved by: trb
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-211-1/+1
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* MFp4: Add support for memory mapped UARTs, but don't add any devicesmarcel2003-01-182-9/+18
| | | | | | | yet that depend on it because sio(4) needs support for it before it can be used. There's no reason why zs(4) couldn't attach to puc(4) in the (near?) future (in principle), so don't make memory mapped I/O support in sio(4) a precondition for this change.
* Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/schweikh2002-12-301-1/+1
| | | | Add FreeBSD Id tag where missing.
* fix build (make LINT)sam2002-12-301-0/+1
|
* Add support for IC Book Labs Dreadnought x16 Lite.sobomax2002-12-282-1/+24
| | | | Approved by: re
* Add "missing scratch-pad register" to the first of the two portsphk2002-09-271-2/+2
| | | | | | on the Argosy SP-320 dual-port async PCcard. An amazing piece of hardware seen from an ISO9000 point of view.
* Add a field so we can specify flags per port to the underlying device driver.phk2002-09-272-0/+3
|
* Don't let children attach fast interrupts if the parent interrupt is normal.phk2002-09-041-2/+2
| | | | Submitted by: bde
* Bring back the PUC_FASTINTR option, and implement it correctly so thatphk2002-09-042-2/+13
| | | | | | child devices also know if they are fast or normal. Requested by: bde
* Remove a debug printf.phk2002-09-031-2/+2
| | | | Correctly identify the ARGOSY SP320 dual port serial PCMCIA card.
* Fix interrupt registration:phk2002-09-031-10/+3
| | | | | | PUC devices live on pccard or pci so INTR_FAST is never really an option. Don't try to register the interrupt as fast and don't allow the children to do so either.
* Style: fix a function whitespace stuff-up. Remove a debugging printf.phk2002-09-031-2/+3
|
* Style: move a global variable up to the top of the file.phk2002-09-031-3/+2
|
* Stylistic fixes for the inclusion of the opt_puc.h header, so it comes from thejmallett2002-09-013-7/+6
| | | | | | | right places, and so it's sorted consistently with how all the other N-hundreds of files ding this do it. Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* More cleaning up and unhacking:phk2002-08-315-152/+249
| | | | | | | | | | | | | | | | | | | Don't expect all RIDs to be PCI rids. The previous code made at least 1 mistake, even for PCI. Give the card definitions a chance to specify a init function. Use this instead of the gross superio hack. Move the win877 init function to puc_pci.c where it belongs. RIDs can actually be zero, don't set badmuxed if so. Set a less incorrect end for the construct SYS_RES_IOPORT entries, I guess both sio and lpt happen to use 8 IO ports, but that shouldn't really be hardcoded this way. Fixup puc_pccard.c to match. We're getting closer.
* Don't enable PUC_DEBUG by accidentphk2002-08-312-2/+0
|
* Split the puc driver in pci specific and generic parts.phk2002-08-314-98/+299
| | | | | | | Add a pccard frontend for it as well. The PCcard stuff does not work yet because there is still some PCImagic left in puc.c
* Add an entry for Avlab's low profile 4 serial port card.jhay2002-08-221-0/+12
| | | | | | PR: 41146 Submitted by: Shinsuke Matsui <smatsui@internet-inc.co.jp> Obtained from: NetBSD
* Add an entry for VScom PCI-200L 2 port serial card.jhay2002-08-221-0/+10
| | | | | | PR: 41142 Submitted by: Shinsuke Matsui <smatsui@internet-inc.co.jp> Obtained from: OpenBSD
* cardbus attachment.imp2002-07-211-0/+1
|
* Add support for Comtrol RocketPort 550 PCi models: 4 RJ45, 4 Quadcable,obrien2002-06-181-0/+87
| | | | | | 8 RJ11, 8 Octacable, and 8 (used with RocketPort I/F box). Note: untested due to lack of hardware
* Support the Comtrol RocketPort 550 PCi 16 (used with RocketPort I/F box).obrien2002-06-182-1/+29
| | | | Sponsored by: Feral Software
* Add another chip id for the new LAVA 4-port serial card.jhay2002-04-241-0/+10
| | | | | | PR: 37333 Submitted by: Ari Suutari <ari.suutari@syncrontech.com> MFC after: 4 days
* Ignore the multifunction bit in the PCIR_HEADERTYPE.jhay2002-04-241-1/+1
| | | | | | PR: 37333 Submitted by: Ari Suutari <ari.suutari@syncrontech.com> MFC after: 4 days
* Add an entry for "PCCOM dual port RS232/422/485".jhay2002-04-011-0/+9
| | | | | Submitted by: Daniel O'Connor <doconnor@gsoft.com.au> MFC after: 1 week
* Add an entry for Decision Computer Inc, PCCOM 4-port serial cards.murray2002-03-281-0/+12
| | | | | | PR: kern/36302 Submitted by: Thomas Zenker <thz@Lennartz-electronic.de> MFC after: 1 week
OpenPOWER on IntegriCloud