Commit Graph

44280 Commits

Author SHA1 Message Date
manu
ad16681a92 Clarified comments about the LINUX_SCERR_SIGN macro 2001-02-12 21:25:08 +00:00
manu
472596699d Removed a copyright for code I have removed in a previous commit 2001-02-12 21:20:32 +00:00
fvdl
a008ea27c9 Instead of storing the filehandle in the mount structure, store the
vnode pointer. This avoids a locking problem with nfs_nget, and
can be done because we always have a reference on the root vnode
of the filesystem.
2001-02-12 20:02:30 +00:00
fvdl
6b7a7448f5 Cast 32bit sunos_nfs_arg member to (char *)(long) to avoid warning
after sunos.h change (cast is safe; a SunOS binary will pas a 32 bit
pointer).
2001-02-12 19:49:20 +00:00
jdolecek
f9fd3eae06 ntfs_ntlookupfile(): if the file is not found using normal scan, do full
scan of all directory entries; the mangled file name we return to
  userland on getdents(2) may end up being unsearchable otherwise

This change is useful even through we will soon change to encode the
NTFS file names to utf-8 - we want to support recoding of filenames to
national 8bit charsets eventually.

while here, remove some unnecessary casts, change NTFS_U28() macro so that
the mangled filename doesn't contain control characters and use malloc()/free()
instead MALLOC()/FREE() for rdbuf buffer
2001-02-12 19:17:05 +00:00
fvdl
f12c24a45c Oops, removal unintenionally commited debug code. 2001-02-12 19:12:10 +00:00
ad
469b91fce0 Don't put the request onto the `worklist' in ccb_submit(), since it may
still be on the pending queue.
2001-02-12 19:04:35 +00:00
thorpej
ec0ab7054b Add a "stop_card", which is the opposite of "init_card", and
call it from dp8390_stop().
2001-02-12 18:56:26 +00:00
thorpej
b17ef220b5 Print the Ethernet address before attaching media. 2001-02-12 18:52:22 +00:00
thorpej
043e519d55 Adjust the way that media is initialized on DP8390-compatible
chips.  The dp8390_softc now has media_init and media_fini
function pointers that do the work.
2001-02-12 18:49:03 +00:00
tshiozak
faec1fc4fc some improvement for cmpci; SPDIF supports, etc. 2001-02-12 18:47:12 +00:00
uch
85fcf16be0 fix flag. 2001-02-12 17:55:09 +00:00
fvdl
dd32618956 Format arg nit. 2001-02-12 17:41:49 +00:00
mrg
f9c371eea3 type cleanups. 2001-02-12 16:07:38 +00:00
briggs
180bf3d3ac Clean up a couple of printf-format warnings. 2001-02-12 15:49:19 +00:00
tshiozak
17c5f7060a add CMI8738B. 2001-02-12 14:45:04 +00:00
tsutsui
f3b589fc41 - Add options NTP (sync with GENERIC)
- Fix ident (s/GENERIC/TCWSCONS/)
2001-02-12 12:55:18 +00:00
minoura
1f30e6db74 Correct typo (s/unit/unix/). 2001-02-12 12:32:23 +00:00
pk
dca7b5b472 SWAP_DUMPDEV,SWAP_OFF cases: make sure to release the vnode being operated on. 2001-02-12 11:50:50 +00:00
shin
fb20946774 keep V0 value (system call number) and restore it in exception frame,
when error is ERESTART. otherwise, user process will re-issue syscall
with broken system call number and get SIGSYS signal and terminate.

patch made by Jason R Thorpe <thorpej@zembu.com>. tested by me.
2001-02-12 10:32:14 +00:00
mrg
6ee70851f1 backout the parts of the previous change (7 months ago) that were *not* part
of the sys/vm removal, but some (fortunately disabled) work-in-progress.
2001-02-12 09:14:53 +00:00
briggs
433553dc94 Deal with a lack of the proper type of memory. For example, if a bridge
only supports 16-bit I/O addresses, do not configure it with addresses
having the upper 16-bits non-zero.
2001-02-12 06:24:24 +00:00
briggs
7d1c46375d Switch from commented-out ncr* at pci? to commented-out siop* at pci?
Add option PCI_NETBSD_CONFIGURE to cause NetBSD to configure the PCI bus.
2001-02-12 06:12:18 +00:00
briggs
2e4e3c3f6f Include MII files. 2001-02-12 06:10:42 +00:00
briggs
0b356043df Make this look more like other PPC bus_dma.cs 2001-02-12 06:02:25 +00:00
briggs
89a374bf89 Supply a pci_bus_dma_tag.
Use intr_establish()/intr_distestablish() instead of calling through ISA
routines.
Supply a pci_conf_interrupt() function to assign interrupt lines for the
bus configuration.
2001-02-12 06:01:46 +00:00
briggs
a738974d0c Do PCI bus configuration before we config_found() on mainbus. 2001-02-12 05:58:55 +00:00
nathanw
eb65359d14 The card_attach_now flag hasn't been necessary or useful for some time.
Garbage collect the code and corresponding documentation.
2001-02-12 04:52:48 +00:00
nathanw
54caa65cf6 Correct the ri_xorigin calculation for the RI_CENTER case again.
Original calculation (bits += (ri_stride - ri_emustride) / 2) was
incorrect because stride may be wider than visible width.

Fix in 1.33 (bits += (ri_width - ri_emustride) / 2) was incorrect
because units do not match; "bits" and "ri_emustride" are in bytes,
but "width" is in pels. Works by accident for 8bpp displays.

Change to bits += ((ri_width * bpp / 8) - ri_emustride) / 2
to correctly account for visible width and bpp.
2001-02-12 04:33:36 +00:00
hpeyerl
2dcf59c673 Fix for kern/12114 and kern/12158 Advansys DMA errors.
Reported by Bob Bernstein who heard from Kenneth Westerback that this
might be the problem.  Tested by HP.
2001-02-11 23:40:03 +00:00
jhawk
35483d9169 alphabetize db_command tables 2001-02-11 21:12:24 +00:00
manu
16bc5b4004 Moved the fix for negative errno returned to userland on the PowerPC to a
more machine independent fashion
2001-02-11 20:24:49 +00:00
nathanw
65321bff54 Make tga_rop_vtov deal with copies of <256 byte granularity, necessary
for proper console text handling (especially in-line insertion) on
8-bit displays.

From Christian Groessler <cpg@aladdin.de>.
Tested on 32-bit TGA by me.
2001-02-11 19:34:58 +00:00
ragge
4e155d4593 Check page reference in pmap_clear_reference(). Fixes vax hang problem
with ubc, tested by Chuck Silvers.
2001-02-11 19:25:55 +00:00
chs
2ff77ab154 fix REALBASEMEM/REALEXTMEM and defopt them while we're at it. from jason. 2001-02-11 19:03:47 +00:00
bouyer
0653304779 Avoid sending new commands to the device if it has sense pending:
- run request sense command without disconnect
- don't restart the script before siop_scsicmd_end has been called if the
  cmd didn't complete with good status.
- reserve slot 0 for request sense, to make sure it'll be sent first.
2001-02-11 18:04:49 +00:00
tsutsui
1e70b3b673 Add a missing colon in comment. 2001-02-11 17:56:43 +00:00
tsutsui
90fc74c95b space/tab cosmetics 2001-02-11 17:49:08 +00:00
bjh21
a4e55e0f13 Shared ARM ptrace(2) implementation. Mostly the same as the arm32
version, but with some #ifdefs for arm26.

Also, don't define PT_STEP, since we don't implement it.  This should
reduce code size a little.
2001-02-11 17:03:04 +00:00
pk
203c10194b Supply a kernel link script that puts `etext' at the end of all
read-only sections. Modelled after a similar change in the i386 port.
2001-02-11 16:16:58 +00:00
ad
b0eba3a40d Match an upcoming product. 2001-02-11 15:37:13 +00:00
ad
65f7a36374 Regen. 2001-02-11 15:33:53 +00:00
ad
853ce24872 Add another 3ware product. 2001-02-11 15:33:25 +00:00
bjh21
9826a76781 Common <arm/reg.h> (and hence common struct reg) for ARM.
This is theoretically backward-incompatible on arm26, but GDB doesn't work there
yet anyway.
2001-02-11 14:51:55 +00:00
bjh21
60af6ce7ca Don't trust function return to restore IRQ disable flag, since it won't
in APCS-32.
2001-02-11 14:46:11 +00:00
mycroft
d3f45f8053 Update to the current state of the world. 2001-02-11 10:40:51 +00:00
is
15d041fe54 Be a bit more helpful in the error case. 2001-02-11 09:54:48 +00:00
itojun
f99a50f858 protect router list management by splsoftnet properly. sync with kame 2001-02-11 07:12:01 +00:00
itojun
1bc6ca28a1 make sure to clean ln_byhint on reachability confirmation. 2001-02-11 07:00:03 +00:00
itojun
1442c06fae wrap kernel-only #define (kame cross-bsd portability) into _KERNEL. 2001-02-11 06:50:59 +00:00