summaryrefslogtreecommitdiffstats
path: root/sys/alpha/tlsb
Commit message (Collapse)AuthorAgeFilesLines
* First pass at removing Alpha kernel support.jhb2006-05-1118-3528/+0
|
* Make ttyconsolemode() call ttsetwater() so that drivers don't have to.phk2005-10-161-1/+0
|
* Replace __RMAN_RESOURCE_VISIBLE with calls to public entry pointsphk2005-09-251-1/+0
| | | | in rman module.
* Relocate direct map specs into struct alpha_chipset.ticso2005-09-191-6/+5
| | | | | Prepare for PCI Scatter-Gather map. Panic if driver tries alpha_XXX_dmamap() out of range.
* Begin all license/copyright comments with /*- or #-imp2005-01-0512-12/+12
|
* Add new function ttyinitmode() which sets our systemwide defaultphk2004-10-181-6/+1
| | | | | | | | | | | | | | modes on a tty structure. Both the ".init" and the current settings are initialized allowing the function to be used both at attach and open time. The function takes an argument to decide if echoing should be enabled. Echoing should not be enabled for regular physical serial ports unless they are consoles, in which case they should be configured by ttyconsolemode() instead. Use the new function throughout.
* Allocate tty at attach time instead of open time.phk2004-09-171-9/+17
|
* Preparation commit for the tty cleanups that will follow in the nearphk2004-07-151-1/+1
| | | | | | | | | future: rename ttyopen() -> tty_open() and ttyclose() -> tty_close(). We need the ttyopen() and ttyclose() for the new generic cdevsw functions for tty devices in order to have consistent naming.
* Update for the KDB framework:marcel2004-07-101-6/+5
| | | | | | o Remove inclusion of opt_ddb.h. o Call kdb_enter() instead of Debugger(). o Make debugging code conditional upon KDB.
* Catch up with __RMAN_RESOURCE_VISIBLE enough to get GENERIC to buildgallatin2004-07-011-0/+1
|
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-2/+2
| | | | Bump __FreeBSD_version accordingly.
* Machine generated patch which changes linedisc calls from accessingphk2004-06-041-4/+4
| | | | | | linesw[] directly to using the ttyld...() functions The ttyld...() functions ar inline so there is no performance hit.
* Gainfully employ the new ttyioctl in the trivial cases.phk2004-06-011-27/+0
|
* Device megapatch 4/6:phk2004-02-211-1/+2
| | | | | | | | Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION. Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
* Device megapatch 3/6:phk2004-02-211-3/+1
| | | | | | | | | | | | Add missing D_TTY flags to various drivers. Complete asserts that dev_t's passed to ttyread(), ttywrite(), ttypoll() and ttykqwrite() have (d_flags & D_TTY) and a struct tty pointer. Make ttyread(), ttywrite(), ttypoll() and ttykqwrite() the default cdevsw methods for D_TTY drivers and remove the explicit initializations in various drivers cdevsw structures.
* Device megapatch 1/6:phk2004-02-211-2/+0
| | | | | | | Free approx 86 major numbers with a mostly automatically generated patch. A number of strategic drivers have been left behind by caution, and a few because they still (ab)use their major number.
* OK, I messed up /dev/console with what I had hoped would be compatphk2003-09-261-3/+4
| | | | code. Convert remaining console drivers and hope for the best.
* Initialize cn_name instead of cn_devphk2003-09-261-1/+1
|
* Prefer new location of pci include files (which have only been in theimp2003-08-221-1/+1
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* Cleanup <machine/cpu.h> by moving MD prototypes to <machine/md_var.h>marcel2003-08-171-1/+2
| | | | | | | | | | | | | | | like we have on other platforms. Move savectx() to <machine/pcb.h>. A lot of files got these MD prototypes through the indirect inclusion of <machine/cpu.h> and now need to include <machine/md_var.h>. The number of which is unexpectedly large... osf1_misc.c especially is tricky because szsigcode is redefined in one of the osf1 header files. Reordering of the include files was needed. linprocfs.c now needs an explicit extern declaration. Tested with: LINT
* Use __FBSDID().obrien2003-06-108-16/+25
|
* Gigacommit to improve device-driver source compatibility betweenphk2003-03-031-13/+8
| | | | | | | | | | | | | branches: Initialize struct cdevsw using C99 sparse initializtion and remove all initializations to default values. This patch is automatically generated and has been tested by compiling LINT with all the fields in struct cdevsw in reverse order on alpha, sparc64 and i386. Approved by: re(scottl)
* Remove support for running in SimOS. The support has rotted overmarcel2003-02-252-29/+0
| | | | | | | | time and there's no indication that it will improve anytime soon. By removing support for SimOS it is possible to build LINT on Alpha, which is considered more important at the moment. Not objected to on: alpha@
* Change the console interface to pass a "struct consdev *" instead of aphk2003-02-201-9/+9
| | | | | | | | | dev_t to the method functions. The dev_t can still be found at struct consdev *->cn_dev. Add a void *cn_arg element to struct consdev which the drivers can use for retrieving their softc.
* Fix warnings when compiled with SIMOS defined.jhb2002-11-081-4/+14
|
* Change the suser() API to take advantage of td_ucred as well as do ajhb2002-04-011-1/+1
| | | | | | | | | | | | general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag. Discussed on: smp@
* Remove __P(). This was tested on the GENERIC kernel.obrien2002-03-201-7/+7
|
* Make it compile again.mjacob2002-03-011-1/+1
|
* Introduce a standard name for the lock protecting an interrupt controllerjhb2001-12-201-4/+5
| | | | | | | | and it's associated state variables: icu_lock with the name "icu". This renames the imen_mtx for x86 SMP, but also uses the lock to protect access to the 8259 PIC on x86 UP. This also adds an appropriate lock to the various Alpha chipsets which fixes problems with Alpha SMP machines dropping interrupts with an SMP kernel.
* Don't call cdevsw_add().phk2001-11-041-5/+0
|
* cn_tab no longer exists, use cnadd() to add a console device. Note thatjlemon2001-10-241-1/+1
| | | | this may result in duplicate console output in some cases.
* Remove unneeded sys/mutex.h includes.jhb2001-10-191-1/+0
|
* remove unused variable declarationmjacob2001-10-111-1/+1
|
* KSE Milestone 2julian2001-09-121-5/+5
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* Old business: some SMP support.mjacob2001-08-151-8/+16
|
* fix alpha-MD compile errors after the vm_mtx commitgallatin2001-05-201-0/+1
|
* The new order of things is that dwlpxN is now called pcibN- so hack aroundmjacob2001-05-101-2/+4
| | | | | *that* whilst we ponder the best way to decide how to register dwlpx interrupts with TLSB.
* add alpha_pci_route_interrupt methodmjacob2001-05-101-2/+4
|
* Send the remains (such as I have located) of "block major numbers" tophk2001-03-261-1/+0
| | | | the bit-bucket.
* Use the MI ithread helper functions in the alpha hardware interrupt code.jhb2001-02-091-3/+2
|
* remove unneded sys/ucred.h includesalfred2000-11-301-1/+0
|
* Pass in the new-bus flags to alpha_setup_intr().jhb2000-11-011-1/+2
|
* - Heavyweight interrupt threads on the alpha for device I/O interrupts.jhb2000-10-051-3/+6
| | | | | | | | | | | - Make softinterrupts (SWI's) almost completely MI, and divorce them completely from the x86 hardware interrupt code. - The ihandlers array is now gone. Instead, there is a MI shandlers array that just contains SWI handlers. - Most of the former machine/ipl.h files have moved to a new sys/ipl.h. - Stub out all the spl*() functions on all architectures. Submitted by: dfr
* * Completely rewrite the alpha busspace to hide the implementation fromdfr2000-08-282-420/+310
| | | | | | | | | | | | the drivers. * Remove legacy inx/outx support from chipset and replace with macros which call busspace. * Rework pci config accesses to route through the pcib device instead of calling a MD function directly. With these changes it is possible to cleanly support machines which have more than one independantly numbered PCI busses. As a bonus, the new busspace implementation should be measurably faster than the old one.
* 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
|
OpenPOWER on IntegriCloud