summaryrefslogtreecommitdiffstats
path: root/sys/alpha
Commit message (Collapse)AuthorAgeFilesLines
* Pull in the core bus drivers based on the machine type rather thanpeter1999-09-133-44/+39
| | | | | | | | | | requiring the user to figure it out. So, if you comment out all but the machine type you are using, you automatically get the bus code just for your system. (eg DEC_EB164 implies cia, etc). Multiple machine types still pulls in the appropriate busses. This means, take things like 'controller cia0' out of your config. Reviewed by: dfr (in principle)
* Correction: mem.c devices are "D_MEM" (and D_MEM is added.)green1999-09-121-1/+1
| | | | Taken issue with by: phk
* Make the d_flags of mem devices D_DISK to signify that they are disk-likegreen1999-09-121-1/+1
| | | | | | random-seekable devices. This lets dd(1) know it can seek on them. It also affects spec_vnopen() (IIRC), but only makes the path of execution smaller, and does not change its behavior. This is when securelevel >= 2.
* Make unused tape bmajors in past tense.phk1999-09-081-2/+2
|
* Make sa/bdev, gd/bdev and gd/cdev as past-tense.phk1999-09-081-3/+3
|
* Restore old sio driver for Bruce. We'll fix the bus problems in nsiopeter1999-09-081-0/+1
| | | | instead.
* Repo copy isa/sio* to dev/sio/sio* in preperation for extra bus methodspeter1999-09-061-1/+0
| | | | | including pci. Also, eliminate NSIOTOT and do it dynamically where it matters.
* This commit adds driver support for PCI fast ethernet NICs based onwpaul1999-09-062-0/+2
| | | | | | | | | | | | | | | | the Davicom DM9100 and DM9102 chipsets, including the Jaton Corporation XPressNet. Datasheet is available from www.davicom8.com. The DM910x chips are still more tulip clones. The API is reproduced pretty faithfully, unfortunately the performance is pretty bad. The transmitter seems to have a lot of problems DMAing multi-fragment packets. The only way to make it work reliably is to coalesce transmitted packets into a single contiguous buffer. The Linux driver (written by Davicom) actually does something similar to this. I can't recomment this NIC as anything more than a "connectivity solution." This driver uses newbus and miibus and is supported on both i386 and alpha platforms.
* This commit adds driver support for the Silicon Integrated Systemswpaul1999-09-052-2/+4
| | | | | | | | | | | | SiS 900 and SiS 7016 PCI fast ethernet chipsets. Full manuals for the SiS chips can be found at www.sis.com.tw. This is a fairly simple chipset. The receiver uses a 128-bit multicast hash table and single perfect entry for the station address. Transmit and receive DMA and FIFO thresholds are easily tuneable. Documentation is pretty decent and performance is not bad, even on my crufty 486. This driver uses newbus and miibus and is supported on both the i386 and alpha architectures.
* Don't install stubs, make a compat symlink at buildworld time.peter1999-09-041-6/+0
| | | | All internal references to <machine/soundcard.h> are (hopefully :-) gone.
* Make <machine/soundcard.h> a stub which includes <sys/soundcard.h>dfr1999-09-041-0/+6
|
* Implementation of the modify_ldt syscall. Use the sysarch() interface to domarcel1999-09-021-1/+0
| | | | | | | the actual work. When USER_LDT is not defined for a kernel, sysarch returns EOPNOTSUPP. Display a message in that case and return ENOSYS to userland. Reviewed by: luoqi
* This represents essentially a complete rewrite of the ISA PnP code. Thedfr1999-09-011-2/+9
| | | | | | | | new system is integrated with the ISA bus code more cleanly and allows the future addition of more enumerators such as PnPBIOS and ACPI. This commit also enables the new pcm driver since it is somewhat tied to the new PnP code.
* Make multiuser boots the default instead of singlue user.dfr1999-08-311-1/+1
|
* Merge alpha and pc98 changes into i386 MBR handling code and replace allphk1999-08-292-472/+1
| | | | three copies with one copy in MI land.
* Sort the easy part of this file. It should be all sorted.phk1999-08-291-43/+43
|
* We don't need to pass the diskname argument all over the diskslice/labelphk1999-08-281-14/+14
| | | | code, we can find the name from any convenient dev_t
* Implement the OSS_GETVERSION ioctl. The version returned can be changed throughmarcel1999-08-281-0/+2
| | | | | | | the sysctl variable `compat.linux.oss_version'. PR: 12917 Originator: Dean Lombardo <dlombardo@excite.com>
* $Id$ -> $FreeBSD$ (some mangled and/or hidden ones)peter1999-08-284-4/+4
|
* $Id$ -> $FreeBSD$peter1999-08-28163-163/+163
|
* Fix the child's return path from fork so that fork will return 0gallatin1999-08-271-4/+4
| | | | | | | | | in the child. This corrects a problem where linux/alpha binaries see the child's return value of fork as the parent's pid. This happens because linux/alpha binaries apparently check the return value directly, rather than looking for a non-zero value in a4, as *BSD & OSF/1 do. Reviewed by:dfr@nlsystems.com
* Add PHK's make_dev() into more places where DEVFS used to bejulian1999-08-271-49/+10
| | | | | | | | | hooked in directly. Alpha change checked by: Matthew Jacob <mjacob@feral.com> i4b ISDN changes checked by: Udo Schweigert <ust@cert.siemens.de> and Hellmuth Michaelis <hm@hcs.de> PC98 changes checked by: Takahashi Yoshihiro <nyan@FreeBSD.org>
* what is a devuce?mjacob1999-08-252-4/+4
|
* Fix lingo: 'is not implemented or obsoleted' is not the same as 'is obsoletedmarcel1999-08-251-2/+2
| | | | or not implemented'.
* Change all UNIMPL syscalls to STD and add them to linux_dummy. Now we alwaysmarcel1999-08-252-5/+43
| | | | | | | | | | | | know if and when an unimplemented or obsoleted syscall is being used. Make the message more end-user friendly. And as long as we're here, rename some unimplemeted syscalls (linux_phys -> linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86). Change prototype for linux_newuname from `struct linux_newuname_t *' into `struct linux_new_utsname *'. This change is reflected in linux.h and linux_misc.c.
* Change all UNIMPL syscalls to STD and add them to linux_dummy. Now we alwaysmarcel1999-08-251-86/+87
| | | | | | | | | | | | | | know if and when an unimplemented or obsoleted syscall is being used. Make the message more end-user friendly. And as long as we're here, rename some unimplemeted syscalls (linux_phys -> linux_umount2, linux_vm86 -> linux_vm86old, linux_new_vm86 -> linux_vm86). Change prototype for linux_newuname from `struct linux_newuname_t *' into `struct linux_new_utsname *'. This change is reflected in linux.h and linux_misc.c. Lastly, make line-continuation and indentation more uniform.
* Some very minor changes to the ISA dma code.dfr1999-08-251-3/+3
|
* Fix a small typo (missing comma) to make the alpha kernel build againgallatin1999-08-221-2/+2
|
* Catch an at_shutdown I didn't think of in the last batch.msmith1999-08-221-4/+5
| | | | | | Note to self: port to AS2100 so as to have a test system. Submitted by: jkh
* This commit adds device driver support for the Sundance Technologies ST201wpaul1999-08-212-2/+10
| | | | | | | | | | | | | PCI fast ethernet controller. Currently, the only card I know that uses this chip is the D-Link DFE-550TX. (Don't ask me where to buy these: the only cards I have are samples sent to me by D-Link.) This driver is the first to make use of the miibus code once I'm sure it all works together nicely, I'll start converting the other drivers. The Sundance chip is a clone of the 3Com 3c90x Etherlink XL design only with its own register layout. Support is provided for ifmedia, hardware multicast filtering, bridging and promiscuous mode.
* Fix a nasty kld bug where modules with objects of type GLOB_DAT which hadgallatin1999-08-201-1/+2
| | | | non-zero addends were being loaded incorrectly
* Update for MI switch code, and trim a heap of unused (I believe) entries.peter1999-08-191-44/+1
|
* Use MI switch code for process selection. This gets run queues entirelypeter1999-08-192-148/+10
| | | | | | out of the asm code, and as a bonus implements rtprio and idprio for the Alpha. Previously if you ran an idprio process, you were assured of a deadlock.
* Add definitions for Interlink VersaPad.yokota1999-08-171-1/+25
|
* Implement vfork() syscall.marcel1999-08-161-2/+2
|
* Major rewrite.marcel1999-08-151-239/+50
| | | | | | | | | | | | | | | | | The first reason for this rewrite is KNF conformance. The second reason is to avoid redundancy. Each function printed the same string, with only the syscall name being different. The actual printing is now performed by a single function, which gets the syscall name as an argument. The third reason is that of convenience. It's now very easy to add a new dummy implementation. Just add ``DUMMY(foo);'' to the file. It's also a lot easier now to see if a syscall has a dummy implementation or not. The dummies are ordered on syscall number. Please maintain this when adding new dummies (there're 32 candidates at the time of writing :-) Reviewed by: bde
* Provide wrappers for sched_{s|g}etscheduler. We need to convert the policymarcel1999-08-151-1/+6
| | | | | | | argument. PR: 12006 Originator: Jean-Claude MICHOT <jcmichot@teaser.fr>
* Provide wrappers for sched_{s|g}etscheduler. We need to convert the policymarcel1999-08-151-3/+4
| | | | | | argument. PR: 12006
* Give if_tun the "almost clone" makeover.phk1999-08-153-6/+6
|
* Extend the number of syscalls to include those present in Linux 2.2.10. Thesemarcel1999-08-141-1/+9
| | | | | are syscalls 183 to 190. Also implement syscall 183: linux_getcwd. This is needed to support a RH 6.0 environment.
* Implementation of linux_rt_sigaction and linux_rt_sigprocmask syscalls. Bothmarcel1999-08-141-1/+15
| | | | | | | | | | functions use the new sigset_t and sigaction_t which allows support for more than 32 signals. Only the lower 32 signals are supported for now. linux_rt_sigaction, linux_sigaction and linux_signal use linux_do_sigaction to do the actual work. That way unnecessary redundancy is avoided. The same has been done for linux_rt_sigprocmask and linux_sigprocmask. They call linux_do_sigprocmask to do the actual work.
* Implementation of linux_rt_sigaction and linux_rt_sigprocmask syscalls. Thesemarcel1999-08-141-3/+9
| | | | syscalls are needed to support a RH 6.0 environment.
* Spring cleaning around strategy and disklabels/slices:phk1999-08-141-14/+11
| | | | | | | | | | | | | | Introduce BUF_STRATEGY(struct buf *, int flag) macro, and use it throughout. please see comment in sys/conf.h about the flag argument. Remove strategy argument from all the diskslice/label/bad144 implementations, it should be found from the dev_t. Remove bogus and unused strategy1 routines. Remove open/close arguments from dssize(). Pick them up from dev_t. Remove unused and unfinished setgeom support from diskslice/label/bad144 code.
* Fix warnings. (Initializer of promcons did miss an element in the start.)dt1999-08-131-3/+1
|
* Implementation of the CDROMSUBCHNL ioctl.marcel1999-08-131-1/+4
|
* Use a wrapper for the link syscall that does name translations.marcel1999-08-121-2/+2
| | | | | PR: 12749 Submitted by: Boris Nikolaus <boris@cs.tu-berlin.de>
* Now that all chipsets support S/G DMA (which is required for ISA devices)gallatin1999-08-112-8/+6
| | | | we can enable the floppy disk
* Enable S/G IO. Based on Doug's changes to cia.cgallatin1999-08-111-1/+65
|
* _pmap_allocpte:alc1999-08-111-6/+3
| | | | | If the pte page isn't PQ_NONE, panic rather than silently covering up the problem.
* Do not map {s|g}etrlimit onto FreeBSD syscalls. The arguments don't match.marcel1999-08-111-1/+15
| | | | | | | | The linux syscalls translate the arguments first before invoking the FreeBSD native syscalls. PR: kern/9591 Originator: John Plevyak <jplevyak@inktomi.com>
OpenPOWER on IntegriCloud