Commit Graph

49167 Commits

Author SHA1 Message Date
thorpej d987b42429 More PCnet-PCI/ILACC bits. 2001-08-21 16:39:06 +00:00
thorpej 8b72cec4d8 Add some more PCnet-PCI registers. 2001-08-21 16:37:38 +00:00
pooka 429d846242 regen: psion gold card 2001-08-21 16:13:14 +00:00
pooka e62b69f246 add vendor Psion and product Psion Gold Card 2001-08-21 16:13:03 +00:00
reinoud d7964c6e78 Initial commit for Xserver support for the wscons interface; it isn't fully
functional yet since the keyboard changes are not committed yet but it
should compile and work independently.

Initial support for mouse and screen takeovers / screen hardware scroll
reset is done.
2001-08-21 14:48:54 +00:00
sato 3f9cc29da9 fix vr4181 register offset. 2001-08-21 10:31:26 +00:00
bjh21 1d4ae5d285 Use int_off_save and int_restore rather than int_off and int_on. 2001-08-20 23:28:05 +00:00
bjh21 a180b9a8f4 Add fiq. 2001-08-20 23:15:40 +00:00
bjh21 45b5bdc5e5 Split off the pm_entries array from the rest of struct pmap. This makes
memory allocation for it more efficient (since pm_entries is 4096 bytes long),
and will allow pm_entries to be freed for swapped processes.
2001-08-20 23:12:54 +00:00
bjh21 8ec27f2ebe Implementation of fiq_{get,set}regs.
Also, don't leave space for a FIQ handler in kernels with no FIQing devices.
2001-08-20 23:10:51 +00:00
bjh21 13f36f67c6 Don't initialise a podule's loader multiple times. 2001-08-20 23:09:12 +00:00
bjh21 9aa4896361 More FIQ support. This gives me enough to handle FIQs, and to downgrade them
to IRQs as necessary.  All these interfaces are subject to change in the light
of experience.
2001-08-20 23:08:10 +00:00
bjh21 1061e51a8a One from the vaults: Add lint stubs. 2001-08-20 22:56:10 +00:00
chris 140252be2b Arm has a vac, so we must use pmap_enter/remove for vmapbuf rather than k* versions, otherwise we may not be doing the right caching thing. 2001-08-20 21:52:09 +00:00
thorpej 04a394787e Oops, the "auto" capability was getting masked off by mistake.
Fixes a panic reported by Chuck Silvers.
2001-08-20 20:22:53 +00:00
fvdl b9f24a3dd1 Regen. 2001-08-20 19:29:59 +00:00
fvdl 69906a3032 Add some entries for the AMD 76x chipset for completeness. 2001-08-20 19:29:08 +00:00
matt 078a9a2206 Netwinders have ISC phys, not LXT phys. 2001-08-20 16:17:12 +00:00
ad dacf7e8e3d Don't special case the retry for Media Changed... More later. 2001-08-20 15:45:10 +00:00
wiz c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
wiz 1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
wiz f33f8d5e61 Succeed has two 'c's. 2001-08-20 11:57:34 +00:00
wiz 0f95e3da3c precede, not preceed, and a whitespace fix. 2001-08-20 11:57:02 +00:00
wiz d375535396 Fix typo in comment (suceed). 2001-08-20 11:49:11 +00:00
ad 13499203a2 Two changes submitted by Sergey Svishchev <svs@ropnet.ru>:
- Don't send START UNIT upon open if the drive is playing audio (PR 11768).
- If we receive sense indicating that the media changed, retry (PR 8326).
2001-08-20 11:31:10 +00:00
ad ab54b70cae Cosmetic change. 2001-08-20 11:20:51 +00:00
nisimura a6f7e30eec Nuke fb_devconfig data structure which was found unnecessary to have.
224 byte saving in text+bss, and runtime.
2001-08-20 08:34:39 +00:00
ad 52449ef3bf Medium Not Present has number of defined ASCQs. Pointed out by Sergey
Svishchev <svs@ropnet.ru> in PR 8326.
2001-08-20 07:47:01 +00:00
ad d861b4992a Add descriptions for Medium Not Present ASCQs. 2001-08-20 07:41:14 +00:00
gehenna 0999a72932 The latest EHCI spec is 0.96 2001-08-20 07:16:35 +00:00
mrg b734a361cf allow SHMMAX, SHMMIN, SHMMNI and SHMSEG to be specified in the kernel config file. 2001-08-20 04:51:17 +00:00
mrg dc4e692845 add a commented "options NETATALK" 2001-08-20 04:49:17 +00:00
gehenna fb5869c240 Regen 2001-08-20 03:48:29 +00:00
gehenna f0dd0ada57 Add NEC USB2.0 Host Controller 2001-08-20 03:45:55 +00:00
itojun ef0be725b3 if I'm bridging and got a packet to interface address on if A from if B,
advertise MAC address for if A with ARP reply.
2001-08-20 03:13:45 +00:00
itojun e556ec903d fix ALTQ support. less diff with kame. kjc@csl.sony.co.jp. 2001-08-20 02:18:58 +00:00
itojun ffc3e18ad0 typo 2001-08-20 02:07:27 +00:00
chs 9e8e4c5bdc I was wrong, sh4 does have a VAC.
change vmapbuf()/vmunmapbuf() back to using pmap_enter()/pmap_remove().
2001-08-19 20:44:41 +00:00
chs c489e9bff4 add missing pmap_update(). 2001-08-19 18:09:20 +00:00
chs 72b6b0b123 in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 18:08:30 +00:00
chs eddbcd2f47 use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:45:57 +00:00
chs dd3f84513a typo in previous. 2001-08-19 17:45:15 +00:00
chs 316cd176c8 in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:43:44 +00:00
chs 17d06a7ad7 use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:37:35 +00:00
chs b356420a02 in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:36:28 +00:00
chs 2cdad949d0 use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:34:49 +00:00
chs 3f98593d27 in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:34:01 +00:00
chs ef097c73b0 use pmap_k* in vmapbuf() and vunmapbuf() since there's no VAC on this platform.
in vunmapbuf(), call pmap_*remove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-19 17:33:10 +00:00
bjh21 8b7128e398 Changes in aid of FIQ support:
Add ioc_fiq_setmask().
  Change ioc_irq_status_full() to use the request registers rather than the
  status registers.  This is brings it into line with the Unix baclplane, and
  makes detecting downgraded FIQs possible.
2001-08-19 15:27:44 +00:00
yamt 75ed9ccf7f fix scsipi_target_detach with wildcard target. 2001-08-19 14:05:13 +00:00
matt 4bc8190b62 Change local offset/label for irqhandlers to Lirqhandlers. Because in
ELF _C_LABEL(irqhandlers) == irqhandlers so we were getting self-referential
pointer which causes the IRQ to fall on itself.  [With this change the
netwinder kernel can now be *ELF* and boots to multiuser]
2001-08-19 07:29:26 +00:00
matt 7cab3778d5 Make EXEC_ELF32 support std now, 2001-08-19 05:51:09 +00:00
wdk 12a212bc5c Add support for WD33C93 controller and assosiated SCSI devices, and enable
by default.
2001-08-19 03:20:36 +00:00
wdk 0ac0d0d4e4 Initial implementation of WD33C9x SCSI driver for SGI IP22 platforms.
Based on mvme68k and Atari drivers for the same chipset with the
addition of bus_space support.  Attempts have been made to seperate out the
machine dependent dma components and more work is required in this area.

Tested on SGI R4K Indy, but has little testing on other platforms.
2001-08-19 03:16:21 +00:00
thorpej 173f6058ab Add Chip ID register values for various AMD PCnet parts. 2001-08-18 21:16:34 +00:00
wiz e320555c3b if_il.c lives in dev/qbus now, and is mentioned in dev/qbus/files.uba.
Remove commented out line for it.
2001-08-18 14:52:37 +00:00
enami b605664b49 Include bsd.own.mk a bit earlier so that make cleandir works. 2001-08-18 12:53:58 +00:00
enami cebeb402de Fix white space usage. 2001-08-18 12:48:59 +00:00
wiz a5226c0bb5 Remove files describing hp300/HPBSD.
Can still be found in sys/arch/hp300/DOC as Debug.tips and HPMMU.notes.
Okay'd by is.
2001-08-18 10:07:35 +00:00
chs 2233d77cac when fetching an object page to loan out, do so synchronously. 2001-08-18 05:51:44 +00:00
kanaoka 13f671edcf Improve intr_ack code to support for 3c556,3c556B.
Some cards don't have an interrupt acknowledge
  register in PCI config space, so we map and write
  it, such as CardBus driver does.
2001-08-18 05:49:28 +00:00
chs c60e896954 undo the part of the last revision that made user block device access
use the UBC interfaces.  too many problems with that yet.
2001-08-18 05:34:46 +00:00
thorpej 2d4c311492 Regen; added Avance Logic ALS4000. 2001-08-18 05:00:51 +00:00
thorpej 563f369b78 Add Avance Logic ALS4000 Audio. 2001-08-18 05:00:21 +00:00
eeh 94751b6adc Make the kernel a tad bigger. 2001-08-18 04:55:29 +00:00
simonb 11362870f4 Reorder some function prototypes more logically. 2001-08-18 04:13:28 +00:00
eeh 20df032dec Make lint happier. 2001-08-18 03:47:18 +00:00
simonb 02f580ae38 Fix lint problem introduced in last change - if `lint' is defined,
#define away __alignof__.  Still produces some warnings, but at least
they're not fatal anymore.

Problem noted by Rafal Boni in private mail.
2001-08-18 03:27:02 +00:00
chs 92140aa25f make this compile. 2001-08-18 00:41:38 +00:00
augustss 317073f06f Install if_bridgevar.h. 2001-08-17 23:16:14 +00:00
matt 864924f7f3 regen. 2001-08-17 23:14:40 +00:00
matt 211070f3bd Add Apple Uni-N (as used in QuickSilver) product IDs. 2001-08-17 23:14:00 +00:00
thorpej 9b50223a16 Only report expire time for DYNAMIC forwarding table entries. 2001-08-17 22:10:20 +00:00
thorpej c82b0994e7 Permit weaker interface matches for incoming ARP packets if the packet was
received on an interface that is part of a bridge and we find an ifaddr on
an interface that is part of the same bridge.
2001-08-17 21:47:57 +00:00
thorpej 460da35f85 Add support for building Ethernet bridges, based on Jason Wright's
bridge driver from OpenBSD, although the bridge code has been *heavily*
modified by me (the 802.1D code remains mostly unchanged from the
original).
2001-08-17 21:37:27 +00:00
fredette e5769f5f01 Sometimes the ec board reports a packet length that's too large.
Try to deal with this by clipping the packet length, and, under
DEBUG, printf when we do.  Also zero out the packet status in
the buffer before we give it back to the board.
2001-08-17 20:27:12 +00:00
is de14426106 Ansification by Petri Koistinen 2001-08-17 19:56:51 +00:00
ur e6c008bb48 Disable PCI expansion ROM for normal operation.
It fixes memory mapped I/O problems on some devices.
(from port-arc ML)
2001-08-17 11:11:57 +00:00
simonb 0667c562f6 Describe the widths of various coprocessor 0 registers (for mips1,
mips3, mips32 and mips64).
2001-08-17 07:53:33 +00:00
simonb dd6c57e790 Fix for single-byte mbufs. 2001-08-17 07:21:07 +00:00
simonb b2b2f7ccfa Fix va_arg() problem when adjusting argument pointer when a structure is
passed which is larger than an int but has int alignment.  As well as
fixing the described problem, this is the same way it is handled in the
Irix and Ultrix header files.

Problem and suggested solution by Uros Prestor in port-mips mailling
list.
2001-08-17 07:15:16 +00:00
chs dda1ba2993 implement pmap_k{enter_pa,remove}() correctly.
remove various checks for impossible conditions.
other misc cleanup.
tested by tohru.
2001-08-17 06:39:53 +00:00
chs f0af9f581b add getpages/putpages entries for spec vnodes. 2001-08-17 05:54:36 +00:00
chs 2c441082d4 allow mappings of VBLK vnodes. 2001-08-17 05:53:02 +00:00
chs 37f6c5155d call VOP_MMAP() before allowing mappings of vnodes to allow
filesystems which do not support memory mapped access to cause
mmap() of their vnodes to fail.
2001-08-17 05:52:46 +00:00
chs f051fe3125 add definitions for UBCification of block devices. 2001-08-17 05:52:07 +00:00
chs 103d879bd7 initialize the UVM vnode size for block devices.
UBCify user access to block devices.
2001-08-17 05:51:53 +00:00
chs 5a4fdb6ddb make genfs get/put work for block devices as well:
- the "fs bshift" for block devices is always DEV_BSHIFT.
 - retrieve the device vnode from VOP_BMAP() and use that to set b_dev
   in page i/o buffers.
2001-08-17 05:51:29 +00:00
lukem 1b81d6353d remove third argument (`int ns') from ffs_sb_swap(), and let ffs_sb_swap()
determine the endianness of the `struct fs *o' superblock from o->fs_magic
and set needswap as necessary, rather than trusting the caller to get
it right.  invariably, almost every caller of ffs_sb_swap() was calling it
with ns set to the wrong value for ns anyway!
ansi KNF ffs_bswap.c declarations whilst here.

this fixes all sorts of problems when trying to use other-endian file systems,
notably the kernel trying to access memory *way* off, possibly corrupting or
panicing, and userland programs SEGVing and/or corrupting things (e.g,
"fsck_ffs -B"  to swap a file system endianness).

whilst the previous rev of ffs_bswap.c (1.10, 2000/12/23) made this problem
worse, i suspect that the problem was always there and previous versions
just happened not to trash things at the wrong time.

FFS_EI should now be a lot more stable.
2001-08-17 02:18:46 +00:00
thorpej fae2a1befd Add `show malloc' to dump the internal state of the MALLOC_DEBUG code. 2001-08-17 01:00:10 +00:00
thorpej bbd3d01db5 Artur Grabowski's simple brute-force malloc debugger, which uses
guard pages.  Can only debug one malloc type at a time, and nothing
larger than 1 page.  But can be useful for debugging certain types
of "data modified on freelist" type problems.

Modified from code in OpenBSD.
2001-08-17 00:48:29 +00:00
fredette 1094f3c8dc When asked to set the transfer mode, just call back
immediately, because we don't support that.
2001-08-17 00:24:09 +00:00
fredette 8b21bb0078 Under DEBUG, have a global buserr_reg that stores the
last value read out of the bus error register.
2001-08-17 00:00:26 +00:00
eeh 73ff12bf97 Bump version. 2001-08-16 23:57:08 +00:00
fredette ba289d7421 Now treat the bus error register as 16-bits wide, even
though it has nothing in the top half.  Reading it as
only 8 bits can sometimes give erroneous values.  Under
DEBUG, also stash the value read in the buserr_reg global,
since the value is only latched until read.
2001-08-16 23:54:31 +00:00
fredette 3a6e3c55cb Added the crucial "packed" attribute to the type 8 frame structure. 2001-08-16 23:45:12 +00:00
augustss a8415c10db Clear busy flag on write error. From PR 13731, IWAMOTO Toshihiro. 2001-08-16 22:31:24 +00:00
itojun 74ad87bc53 gif interface now uses generic software interrupt
(on archs that support it).  also, make gif ALTQ-capable on outgoing.
sync with kame, comments from thorpej.
2001-08-16 17:45:25 +00:00
tv 57c096de20 KNF on previous. 2001-08-16 15:37:06 +00:00
ragge adc0050e52 Trying to get these files out of Attic. 2001-08-16 14:56:30 +00:00