aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha/tlsb
Commit message (Collapse)AuthorAgeFilesLines
* First pass at removing Alpha kernel support.John Baldwin2006-05-1118-3528/+0
| | | | Notes: svn path=/head/; revision=158458
* Make ttyconsolemode() call ttsetwater() so that drivers don't have to.Poul-Henning Kamp2005-10-161-1/+0
| | | | Notes: svn path=/head/; revision=151388
* Replace __RMAN_RESOURCE_VISIBLE with calls to public entry pointsPoul-Henning Kamp2005-09-251-1/+0
| | | | | | | in rman module. Notes: svn path=/head/; revision=150548
* Relocate direct map specs into struct alpha_chipset.Bernd Walter2005-09-191-6/+5
| | | | | | | | Prepare for PCI Scatter-Gather map. Panic if driver tries alpha_XXX_dmamap() out of range. Notes: svn path=/head/; revision=150323
* Begin all license/copyright comments with /*- or #-Warner Losh2005-01-0512-12/+12
| | | | Notes: svn path=/head/; revision=139727
* Add new function ttyinitmode() which sets our systemwide defaultPoul-Henning Kamp2004-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. Notes: svn path=/head/; revision=136680
* Allocate tty at attach time instead of open time.Poul-Henning Kamp2004-09-171-9/+17
| | | | Notes: svn path=/head/; revision=135376
* Preparation commit for the tty cleanups that will follow in the nearPoul-Henning Kamp2004-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. Notes: svn path=/head/; revision=132226
* Update for the KDB framework:Marcel Moolenaar2004-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. Notes: svn path=/head/; revision=131908
* Catch up with __RMAN_RESOURCE_VISIBLE enough to get GENERIC to buildAndrew Gallatin2004-07-011-0/+1
| | | | Notes: svn path=/head/; revision=131409
* Do the dreaded s/dev_t/struct cdev */Poul-Henning Kamp2004-06-161-2/+2
| | | | | | | Bump __FreeBSD_version accordingly. Notes: svn path=/head/; revision=130585
* Machine generated patch which changes linedisc calls from accessingPoul-Henning Kamp2004-06-041-4/+4
| | | | | | | | | linesw[] directly to using the ttyld...() functions The ttyld...() functions ar inline so there is no performance hit. Notes: svn path=/head/; revision=130077
* Gainfully employ the new ttyioctl in the trivial cases.Poul-Henning Kamp2004-06-011-27/+0
| | | | Notes: svn path=/head/; revision=129944
* Device megapatch 4/6:Poul-Henning Kamp2004-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. Notes: svn path=/head/; revision=126080
* Device megapatch 3/6:Poul-Henning Kamp2004-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. Notes: svn path=/head/; revision=126078
* Device megapatch 1/6:Poul-Henning Kamp2004-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. Notes: svn path=/head/; revision=126076
* OK, I messed up /dev/console with what I had hoped would be compatPoul-Henning Kamp2003-09-261-3/+4
| | | | | | | code. Convert remaining console drivers and hope for the best. Notes: svn path=/head/; revision=120491
* Initialize cn_name instead of cn_devPoul-Henning Kamp2003-09-261-1/+1
| | | | Notes: svn path=/head/; revision=120466
* Prefer new location of pci include files (which have only been in theWarner Losh2003-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. Notes: svn path=/head/; revision=119288
* Cleanup <machine/cpu.h> by moving MD prototypes to <machine/md_var.h>Marcel Moolenaar2003-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 Notes: svn path=/head/; revision=119008
* Use __FBSDID().David E. O'Brien2003-06-108-16/+25
| | | | Notes: svn path=/head/; revision=116160
* Gigacommit to improve device-driver source compatibility betweenPoul-Henning Kamp2003-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) Notes: svn path=/head/; revision=111815
* Remove support for running in SimOS. The support has rotted overMarcel Moolenaar2003-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@ Notes: svn path=/head/; revision=111457
* Change the console interface to pass a "struct consdev *" instead of aPoul-Henning Kamp2003-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. Notes: svn path=/head/; revision=111194
* Fix warnings when compiled with SIMOS defined.John Baldwin2002-11-081-4/+14
| | | | Notes: svn path=/head/; revision=106661
* Change the suser() API to take advantage of td_ucred as well as do aJohn Baldwin2002-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@ Notes: svn path=/head/; revision=93593
* Remove __P(). This was tested on the GENERIC kernel.David E. O'Brien2002-03-201-7/+7
| | | | Notes: svn path=/head/; revision=92816
* Make it compile again.Matt Jacob2002-03-011-1/+1
| | | | Notes: svn path=/head/; revision=91545
* Introduce a standard name for the lock protecting an interrupt controllerJohn Baldwin2001-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. Notes: svn path=/head/; revision=88322
* Don't call cdevsw_add().Poul-Henning Kamp2001-11-041-5/+0
| | | | Notes: svn path=/head/; revision=86018
* cn_tab no longer exists, use cnadd() to add a console device. Note thatJonathan Lemon2001-10-241-1/+1
| | | | | | | this may result in duplicate console output in some cases. Notes: svn path=/head/; revision=85426
* Remove unneeded sys/mutex.h includes.John Baldwin2001-10-191-1/+0
| | | | Notes: svn path=/head/; revision=85185
* remove unused variable declarationMatt Jacob2001-10-111-1/+1
| | | | Notes: svn path=/head/; revision=84819
* KSE Milestone 2Julian Elischer2001-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 Notes: svn path=/head/; revision=83366
* Old business: some SMP support.Matt Jacob2001-08-151-8/+16
| | | | Notes: svn path=/head/; revision=81710
* fix alpha-MD compile errors after the vm_mtx commitAndrew Gallatin2001-05-201-0/+1
| | | | Notes: svn path=/head/; revision=76901
* The new order of things is that dwlpxN is now called pcibN- so hack aroundMatt Jacob2001-05-101-2/+4
| | | | | | | | *that* whilst we ponder the best way to decide how to register dwlpx interrupts with TLSB. Notes: svn path=/head/; revision=76425
* add alpha_pci_route_interrupt methodMatt Jacob2001-05-101-2/+4
| | | | Notes: svn path=/head/; revision=76423
* Send the remains (such as I have located) of "block major numbers" toPoul-Henning Kamp2001-03-261-1/+0
| | | | | | | the bit-bucket. Notes: svn path=/head/; revision=74810
* Use the MI ithread helper functions in the alpha hardware interrupt code.John Baldwin2001-02-091-3/+2
| | | | Notes: svn path=/head/; revision=72241
* remove unneded sys/ucred.h includesAlfred Perlstein2000-11-301-1/+0
| | | | Notes: svn path=/head/; revision=69399
* Pass in the new-bus flags to alpha_setup_intr().John Baldwin2000-11-011-1/+2
| | | | Notes: svn path=/head/; revision=68192
* - Heavyweight interrupt threads on the alpha for device I/O interrupts.John Baldwin2000-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 Notes: svn path=/head/; revision=66698
* * Completely rewrite the alpha busspace to hide the implementation fromDoug Rabson2000-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. Notes: svn path=/head/; revision=65176
* Do the same thing for TurboLaser that was done for Rawhide- make roomMatt Jacob2000-07-101-46/+55
| | | | | | | | for secondary (bridged) PCI busses by making primary PCI instances 16 units apart. Notes: svn path=/head/; revision=62866
* Add $FreeBSD$Peter Wemm2000-05-011-0/+1
| | | | Notes: svn path=/head/; revision=59874
* It's the parent that is a CPU node- not GBus itself.Matt Jacob2000-03-271-5/+4
| | | | Notes: svn path=/head/; revision=58657
* complain when you do not create a TLSB nodeMatt Jacob2000-03-271-1/+3
| | | | Notes: svn path=/head/; revision=58656
* Alpha 8200: Reinsert licence from NetBSD that should have been thereMatt Jacob2000-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. Notes: svn path=/head/; revision=58209
* Alpha 8200: Remove clause 3 of licence. Clean up code slightly.Matt Jacob2000-03-181-11/+6
| | | | Notes: svn path=/head/; revision=58208