summaryrefslogtreecommitdiffstats
path: root/sys/alpha/tlsb
Commit message (Collapse)AuthorAgeFilesLines
* Do the same thing for TurboLaser that was done for Rawhide- make roommjacob2000-07-101-46/+55
| | | | | for secondary (bridged) PCI busses by making primary PCI instances 16 units apart.
* Add $FreeBSD$peter2000-05-011-0/+1
|
* It's the parent that is a CPU node- not GBus itself.mjacob2000-03-271-5/+4
|
* complain when you do not create a TLSB nodemjacob2000-03-271-1/+3
|
* Alpha 8200: Reinsert licence from NetBSD that should have been theremjacob2000-03-181-95/+740
| | | | | | | | | | to begin with. Redo newbus attachment code so that all the DMA mapping and further pci attachment is done right. Insert config space functions (jeez- how do you do type 1 cycles?). Do the interrupt setups, etc. Basically, this is the core I/O module for 8200s, even though logically it's the 3rd level down from the nominal principle backplane bus (turbolaser). Still to be done here: S/G code isn't done yet, so we better live with 2GB or less primary memory.
* Alpha 8200: Remove clause 3 of licence. Clean up code slightly.mjacob2000-03-181-11/+6
|
* Alpha 8200: Remove clause 3 of licence. Redo KFTXX bus attachmentmjacob2000-03-181-26/+27
| | | | | | | code (merge in progress made in NetBSD since the initial import to FreeBSD). Create dwlpx as the child device. Of course, if we had more h/w and time, we could find out whether the child device was a FutureBus module, etc...Anyone ever actually seen one?
* Alpha 8200: Remove clause 3 of licence and and some KFTXX defines.mjacob2000-03-181-4/+6
|
* Alpha 8200: minor formatting tweaks; removal of clause 3 of licence.mjacob2000-03-181-6/+2
|
* Alpha 8200: Rework to get working properly with real h/w. This isn't amjacob2000-03-181-115/+179
| | | | | | clean MI/MD driver, but it *does* actually work at this time. Updated to use new make_dev stuff. A CONS_DRIVER declaration is also put in so that this can be the real console for the 8200s.
* Alpha 8200: Ooops on last delta- real changes include redoing bus attachmentmjacob2000-03-181-1/+0
| | | | code and interrupt mapping code.
* Alpha 8200: Some minor formatting tweaks and removal of clause 3 of licence.mjacob2000-03-181-153/+130
|
* Alpha 8200: add a dummy driver for TLSB CPU nodes. Not so dummy, actually,mjacob2000-03-181-0/+121
| | | | as you have to hook a GBus into it.
* Alpha 8200: Add in variables and defines for DWLPX PCI controllers.mjacob2000-03-181-0/+92
|
* Alpha8200: Update this stub memory board driver for using newbus.mjacob2000-03-181-39/+33
|
* update copyrightmjacob2000-01-291-3/+1
|
* Wrong patch had been applied.mjacob2000-01-291-3/+1
|
* Update copyright and pull some newer definitions from NetBSD version.mjacob2000-01-291-5/+63
|
* Put tslb_device structure in this file. Put a pointer to to primarymjacob2000-01-291-1/+13
| | | | CPU's structure.
* Clean up some compilation warnings and errors.mjacob2000-01-291-13/+2
|
* Remove the 'ivars' arguement to device_add_child() andmdodd1999-12-034-6/+12
| | | | | | | | | | | | | | | | device_add_child_ordered(). 'ivars' may now be set using the device_set_ivars() function. This makes it easier for us to change how arbitrary data structures are associated with a device_t. Eventually we won't be modifying device_t to add additional pointers for ivars, softc data etc. Despite my best efforts I've probably forgotten something so let me know if this breaks anything. I've been running with this change for months and its been quite involved actually isolating all the changes from the rest of the local changes in my tree. Reviewed by: peter, dfr
* Move Alpha conflicting entries (98,99) to 135,136. Renumber the zscpeter1999-11-181-1/+1
| | | | CDEV_MAJOR entry to match.. Is "ipr" in the tree? I can't find it.
* Take a shot at using cdevsw_add() to get it working again. This reallypeter1999-11-081-1/+3
| | | | needs to use make_dev().
* Removal of sys/device.hn_hibma1999-10-051-1/+1
| | | | | | | | | | | | | - Move intrhook stuff into kernel.h - Remove all occurrences of #device <device.h> - Add kernel.h were necessary (nowhere) - delete device.h This file contained the structures for cfdata (old style config) and is no longer used. It was included by most drivers. It confuses the remote debugger as the definition of 'struct device' in device.h is found before the one in bus_private.h.
* Introduce ttyread() and ttywrite() which do the canonical thing.phk1999-09-281-18/+2
| | | | | | Use them in many tty drivers. Reviewed by: julian, bde
* Remove five now unused fields from struct cdevsw. They should neverphk1999-09-251-5/+0
| | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags
* This patch clears the way for removing a number of tty relatedphk1999-09-251-14/+6
| | | | | | | | | | | | | | | | | | | | | fields in struct cdevsw: d_stop moved to struct tty. d_reset already unused. d_devtotty linkage now provided by dev_t->si_tty. These fields will be removed from struct cdevsw together with d_params and d_maxio Real Soon Now. The changes in this patch consist of: initialize dev->si_tty in *_open() initialize tty->t_stop remove devtotty functions rename ttpoll to ttypoll a few adjustments to these changes in the generic code a bump of __FreeBSD_version add a couple of FreeBSD tags
* $Id$ -> $FreeBSD$ (some mangled and/or hidden ones)peter1999-08-282-2/+2
|
* $Id$ -> $FreeBSD$peter1999-08-2811-11/+11
|
* Merge the cons.c and cons.h to the best of my ability. alpha may orphk1999-08-091-2/+2
| | | | may not compile, I can't test it.
* Alter the behavior of sys/kern/subr_bus.c:device_print_child()mdodd1999-07-294-23/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - device_print_child() either lets the BUS_PRINT_CHILD method produce the entire device announcement message or it prints "foo0: not found\n" Alter sys/kern/subr_bus.c:bus_generic_print_child() to take on the previous behavior of device_print_child() (printing the "foo0: <FooDevice 1.1>" bit of the announce message.) Provide bus_print_child_header() and bus_print_child_footer() to actually print the output for bus_generic_print_child(). These functions should be used whenever possible (unless you can just use bus_generic_print_child()) The BUS_PRINT_CHILD method now returns int instead of void. Modify everything else that defines or uses a BUS_PRINT_CHILD method to comply with the above changes. - Devices are 'on' a bus, not 'at' it. - If a custom BUS_PRINT_CHILD method does the same thing as bus_generic_print_child(), use bus_generic_print_child() - Use device_get_nameunit() instead of both device_get_name() and device_get_unit() - All BUS_PRINT_CHILD methods return the number of characters output. Reviewed by: dfr, peter
* Remove cmaj and bmaj args from DEV_DRIVER_MODULE.phk1999-07-041-3/+2
|
* This commit should be a extensive NO-OP:phk1999-05-301-5/+20
| | | | | | | | | | | | | Reformat and initialize correctly all "struct cdevsw". Initialize the d_maj and d_bmaj fields. The d_reset field was not removed, although it is never used. I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way. Vinum and i4b not modified, patches emailed to respective authors.
* Add support for multiple PCI "hoses" used on various alpha platforms.gallatin1999-05-201-7/+7
| | | | | | | | | The specific intent of this commit is to pave the way for importing Compaq XP1000 support. These changes should not affect the i386 port. Reviewed by: Doug Rabson <dfr@nlsystems.com> (actually, he walked me through most of it & deserves more than reviewd-by credit )
* Add support for clock calibration.dfr1999-05-181-1/+2
|
* Adjust console stuff now that makedev is no longer a macro.dfr1999-05-101-2/+3
|
* Unconfuse DEV_MODULE() and DEV_DRIVER_MODULE() about the difference betweenphk1999-05-091-2/+2
| | | | a major number for a dev_t.
* Move the declaration of the interrupt type from the driver structuredfr1999-05-086-16/+9
| | | | to the BUS_SETUP_INTR call.
* Continue where Julian left off in July 1998:phk1999-05-071-3/+3
| | | | | | | | | | | | | | Virtualize bdevsw[] from cdevsw. bdevsw() is now an (inline) function. Join CDEV_MODULE and BDEV_MODULE to DEV_MODULE (please pay attention to the order of the cmaj/bmaj arguments!) Join CDEV_DRIVER_MODULE and BDEV_DRIVER_MODULE to DEV_DRIVER_MODULE (ditto!) (Next step will be to convert all bdev dev_t's to cdev dev_t's before they get to do any damage^H^H^H^H^H^Hwork in the kernel.)
* Suser() simplification:phk1999-04-271-2/+2
| | | | | | | | | | | | | | | | | | | 1: s/suser/suser_xxx/ 2: Add new function: suser(struct proc *), prototyped in <sys/proc.h>. 3: s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/ The remaining suser_xxx() calls will be scrutinized and dealt with later. There may be some unneeded #include <sys/cred.h>, but they are left as an exercise for Bruce. More changes to the suser() API will come along with the "jail" code.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-161-2/+2
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* Use suser() to check for super user rather than examining cr_uid directly.phk1999-01-301-3/+4
| | | | | | Use TTYDEF_SPEED rather than 9600 a couple of places. Reviewed by: bde, with a few grumbles.
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-041-1/+2
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* * Add hooks to allow the X server to access I/O ports and memory.dfr1998-11-155-28/+38
| | | | | | | | | * Update drivers to the latest version of the bus interface. The ISA drivers' use of the new resource api is minimal. Garrett has some much cleaner drivers which should be more easily shared between i386 and alpha. This has only been tested on cia based machines. It should work on lca and apecs but I might have broken something.
* Make SimOS work again.dfr1998-09-041-38/+57
|
* Lots of changes, including:dfr1998-08-101-2/+2
| | | | | | | | | | * Support for AlphaStation 200, 250, 255, 400 * Untested support for UDB, Multia, AXPpci33 (Noname) * Support for Personal Workstation 433a/433au, 500a/500au, 600a/600au (Miata) * Some minor fixes and improvements to interrupt handling. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> (AS200, Miata) Obtained from: NetBSD (some code for AS200, Miata, Noname)
* Cosmetic change to driver registration.dfr1998-07-312-4/+4
|
* Simplify access to PCI config registers.dfr1998-07-161-33/+36
|
* Update to new interrupt api.dfr1998-07-125-14/+35
|
* Support channel B as well as channel A.dfr1998-07-052-35/+76
|
OpenPOWER on IntegriCloud