Commit Graph

72969 Commits

Author SHA1 Message Date
sekiya
8590eac465 Use the mace interrupt handler for PCI interrupts.
From KIYOHARA Takashi
2004-09-06 07:24:06 +00:00
dsl
4a83eca5d5 Save 2 more bytes (by adjusting the ERR_NO_LBA setup).
Use up all the space by adding a short banner message.
'Fn diskn' for bootsel and 'NetBSB MBR boot' for the non-bootsel code.
2004-09-05 21:42:43 +00:00
jdolecek
6c0c833e0d change the defines for cdev and bdev majors to 162, which is assigned
to vinum now

fixes PR kern/26855 by Andreas Wiese
2004-09-05 15:10:25 +00:00
sekiya
7e244e5e53 Oooops, iaa.iaa_name must be initialized. 2004-09-05 13:32:10 +00:00
sekiya
847a930d95 Use config_found_ia() rather than config_found(). 2004-09-05 11:48:34 +00:00
jdolecek
ec083dc43c linux_sa_get: g/c curproc use, we get the process as one of arguments 2004-09-05 09:38:17 +00:00
jdolecek
4032a79979 improve the (#ifdef DEBUG_LINUX) socketcall argument dump code:
- print the socketcall type
- special case socket(2) call, it's also the only one with first argument
  not being a socket descriptor
- only dump the relevant part of linux_socketcall_dummy_args, instead
  of always the whole structure
2004-09-05 09:09:02 +00:00
jdolecek
bae3c8fbb8 add some newer clone flags 2004-09-05 07:22:20 +00:00
skd
2d0c1ccea9 Fill out correct cap variable so that DMA works again. 2004-09-05 05:07:41 +00:00
manu
85111f912e IPv4 PIM support, based on submission from Pavlin Radoslavov on tech-net@ :
two new files I forgot to add on the first cvs commit.
2004-09-04 23:32:29 +00:00
manu
6e3c639957 IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
2004-09-04 23:29:44 +00:00
manu
35053e0e8d Recognize bundles as mach-O executables 2004-09-04 23:21:26 +00:00
tsutsui
52b46dcf6f - Use ANSI function declarations and make some functions static.
- Some KNF
2004-09-04 13:43:11 +00:00
tsutsui
378871cd27 Include ioconf.h to declare struct cfdriver. 2004-09-04 11:28:32 +00:00
skrll
ab05973128 Use "NULL" instead of "(struct foo *)0". 2004-09-04 07:09:35 +00:00
thorpej
e489b76d88 More complete fix for overriding CPUFLAGS and also apply fix to bootxx,
from Valeriy Ushakov.
2004-09-03 21:55:17 +00:00
thorpej
f340ce91f0 Override CPUFLAGS to empty so that a CPUFLAGS setting in the user's
mk.conf don't affect the C options we need to build the boot loader.
2004-09-03 18:25:04 +00:00
darrenr
02c34673a3 add a per-socket counter for dropped UDP packets when the internal buffers
are full.
2004-09-03 18:14:09 +00:00
leo
86c572bcee Correct typo in copyright notice. (noticed by Hubert Feyrer). 2004-09-03 14:07:57 +00:00
smb
57643d12c5 Don't try and add a state session if the packet has already been checked
and marked as out of window - trying to do the add will result in a failure
and the packet being blocked, incorrectly.

Committed By: darrenr
Tested By: smb
2004-09-03 04:18:09 +00:00
he
6c2143cef0 Make this driver recognize LSI Logic MegaRAID 320-2 RAID controllers.
Fixes PR#26834, patch from that PR.
2004-09-02 21:12:42 +00:00
chs
38f9a8eb8b make this compile on platforms where PAGE_SIZE is not a compile-time constant. 2004-09-02 12:39:56 +00:00
scw
ecadc37220 Fix the rcsid. 2004-09-02 12:23:09 +00:00
scw
db255697d0 Apply suggested changes from PR port-powerpc/24830 arch/powerpc/ibm4xx:
Bad register constraints in copyin(), copyout(), copyinstr(), copyoutstr(),
and delay().
2004-09-02 08:22:58 +00:00
tacha
163c7d245a Make this compile again. 2004-09-02 02:18:38 +00:00
drochner
1bf98e790e one more case: don't use ISACF_* constants internally 2004-09-01 21:30:25 +00:00
drochner
d2d513bdd8 more namespace sanity: ISACF_*_DEFAULT constants are for ISA
frontends, not for general use
2004-09-01 21:26:29 +00:00
drochner
639a892ed1 symbolic constants are good, but this is another namespace 2004-09-01 21:13:44 +00:00
drochner
c6ad150573 use the locator passing config_found/submatch, and limit use of the
"locators.h" header to the .c file
2004-09-01 21:09:09 +00:00
drochner
789b04b977 include locators.h from .c only, avoids unnecessary dependencies 2004-09-01 20:59:30 +00:00
drochner
0b2a837787 use a submatch function for drive attachment, and pass locators
just for sanity
2004-09-01 20:57:58 +00:00
dsl
ab6077db18 Remove the functionality added in rev 1.7.
With no menu items the mbr_bootsel code will wait for the timeout (default
10 seconds) and then boot the default device - usually the active partition.
Forcing the 'active' partition was wrong - jmmv has a system which needs
to boot from hd1 where hd0 has no mbr partition info.
I suspect the problem I though rev 1.7 fixed was actually caused by
disklabel copying sector zero of the disk to sector zero of the partition!
Gains another 9 bytes of free space, mbr_bootsel now has 20 free bytes.
2004-09-01 20:31:20 +00:00
tsutsui
221c318874 - Adapt to the MI wdc driver changes which added the notion of
"shadow registers":
  http://mail-index.netbsd.org/source-changes/2004/05/25/0048.html
- While here, also fix accesses to CTL regsters to use the correct address.

Now the cobalt bootloader works again.

XXX Maybe we should make this SA wdc driver MI...
2004-09-01 15:54:39 +00:00
yamt
175e99933e uvm_pagefree: when orphaning an A->K loaned page,
- decrement uvmexp.anonpages as it's no longer an anon page.
	- null out anon->u.an_page as the anon no longer own the page.
uvm_anfree: add related assertions.
2004-09-01 11:53:38 +00:00
yamt
23c60dbfe0 uvm_anfree: remove a comment which is no longer true. 2004-09-01 10:09:26 +00:00
uwe
af4511cccc Force STRIPFLAG to be empty after bsd.own.mk is included, so that
any value set in /etc/mk.conf is overriden.
2004-08-31 22:57:13 +00:00
simonb
ac20296fee Remove the unused MKTTE macro. 2004-08-31 01:06:12 +00:00
drochner
266668cb7d There is no point in using config_found_sm() if there is no submatch function.
(actually, there should be one...)
2004-08-30 18:28:33 +00:00
drochner
9a623ba311 use the locator-passing variant of autoconf submatch and use constants
from locators.h
2004-08-30 18:27:21 +00:00
thorpej
e9dbc9253e De-__P. 2004-08-30 16:15:03 +00:00
tsutsui
0f0f2c4943 Remove .mdebug.abi32 and .comment sections created by binutils-2.14
on converting kernels into ECOFF.
ARC BIOS may be confused by these sections without valid address.
2004-08-30 16:08:24 +00:00
drochner
070747cba1 remove the (superfluous) definition of "cpu" as an interface attribute 2004-08-30 15:35:20 +00:00
drochner
46289e1fef Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
2004-08-30 15:05:15 +00:00
martti
c72a29a530 Better kernel module for IPF (kern/26112 by Peter Postma) 2004-08-30 11:32:33 +00:00
drochner
5fa053333d add centralized {eisa,isa,pci,agp,mca}busprint() functions which do
what tens of the bus' parents foo{...}bridge_print()s scattered around do
2004-08-30 10:30:38 +00:00
drochner
13e2ec357a there is (appearently) no reason for the "bktr" driver to carry a
"pcibus" attribute, so remove it
2004-08-30 10:10:34 +00:00
drochner
e98c3c2cc3 -change the config_found() macro to use config_sound_sm_loc()
internally (shouldn't make a difference for callers)
-add convenience macros for config_found() and config_search() to
 ease the case where just an interface attribute is specified
2004-08-30 09:53:32 +00:00
drochner
e66ef34b75 split out the check whether a driver supports a given interface
attribure, and add a diagnostic assertion to config_search_loc()
which ensures that a supplied attribute name is correct
2004-08-30 09:48:05 +00:00
drochner
b4b2fd9326 make the software managed bad-sector list optional
(kernel option WD_SOFTBADSECT)
2004-08-30 09:34:41 +00:00
thorpej
e910f9082e - Define a constant to describe the length of a printed UUID string.
- Clean up the namespace of this module and enable the encode/decode
  functions and printing functions.
- Move the code that actually generates the UUID out of the system call
  routine and into its own function.
2004-08-30 02:56:03 +00:00
thorpej
b560f85cc5 Use ANSI function decls, sprinkle static. 2004-08-30 00:34:41 +00:00
jdolecek
6cfdd8bdbf dump socketcall data #ifdef DEBUG_LINUX 2004-08-29 20:45:18 +00:00
jdolecek
0659b2b55e in debug log, data dump is more useful unsigned 2004-08-29 20:10:42 +00:00
thorpej
d1e0f4a2a0 Add openfirm. 2004-08-29 17:40:12 +00:00
thorpej
c409cf7317 Make this compile again. 2004-08-29 17:37:03 +00:00
thorpej
f4d9e6500d Add a local prototype for a called-from-asm function. 2004-08-29 17:36:46 +00:00
tsutsui
4c0e18d694 - rename comcnprobe() and comcninit() to com_mainbus_cnprobe() and
com_mainbus_cninit() and move these cn functions from cobalt/console.c
  to dev/com_mainbus.c
- call cninit() only once
- remove unneeded includes
- use ANSI function decls
2004-08-29 16:14:15 +00:00
jdolecek
466a837559 handle mmap() request with MAP_GROWSDOWN flag (request for stack-like
grow-down auto extend segment) by allocating segment sized at
current stack size limit, and offsetting requested/returned address
as required

due to how normal virtual memory management work, allocating the
full sized stack memory segment up-front actually requires exactly same
amount of VA space and physical memory as the Linux 'grow' scheme and the
'grow' scheme is quite a lot more difficult to use in applications correctly,
so it's not very apparent why Linux introduced this feature at all

this fixes Thomas Klausner's Heroes3 crash, and might also
fix PR 26687 by Jan Schaumann
2004-08-29 14:08:06 +00:00
hannken
5816dad45e While creating a snapshot inodes must be freed from the
snapshot, not from the file system.
ffs_freefile() needs explicit "fs" and "devvp" arguments.
2004-08-29 10:13:48 +00:00
thorpej
6c08646cb8 Garbage-collect pagemove(); nothing use it anymore (YAY!!!) 2004-08-28 22:12:40 +00:00
thorpej
605050704a Use ANSI function decls and static. 2004-08-28 22:06:28 +00:00
thorpej
cfc755477e Minor style nit. 2004-08-28 21:56:00 +00:00
thorpej
606336a153 De-__P 2004-08-28 21:31:07 +00:00
thorpej
63a3547c69 - De-__P.
- Also define DB_ELF_SYMBOLS and DB_ELFSIZE.
2004-08-28 21:24:20 +00:00
thorpej
e3e985a071 De-__P 2004-08-28 19:46:41 +00:00
thorpej
2ae3d56b20 fix typo. 2004-08-28 19:44:29 +00:00
thorpej
3083c70ccc Use ANSI function decls, static, and const. 2004-08-28 19:11:19 +00:00
jdolecek
a95e4d7c87 g/c LINUX_MAP_IGNMASK define - it's not used anywhere 2004-08-28 18:58:57 +00:00
jdolecek
64969161df use uvm_grow() to update stack segment size on stack page fault instead
of MD code
2004-08-28 17:53:00 +00:00
thorpej
8657dbc0c8 Remove the last vestiges of COMPAT_NOLABEL. It's been 10 years; label
your disks already.
2004-08-28 17:45:24 +00:00
thorpej
8ca927b486 Use ANSI function decls, static, and const. 2004-08-28 17:37:00 +00:00
tsutsui
106c596dc1 - Use bus_space(9) to access PCI configuration registers on GT64111.
- Remove unused pci stuff from mainbus.c.
2004-08-28 13:33:31 +00:00
jdolecek
0139d61d6f uvm_grow(): avoid needless arithmetic and make LP64 safe 2004-08-28 12:44:22 +00:00
tsutsui
9f92256852 - Reset timer0 of GT64111 in gt_attach() and start it
in cpu_initclocks(9) via a callback function.
  Fixes the "hardclock(9) is called before cpu_initclocks(9)" problem
  reported by KIYOHARA Takashi on port-cobalt.
- Use bus_space(9) functions to access GT64111 registers and
  add register definitions for GT64111 in gtreg.h.
  (XXX this could be in sys/dev/marvell?)
- Move microtime(9) from machdep.c to clock.c, and read timer0 register
  via a callback function. Also change microtime(9) like other ports
  to guarantee that the time will be greater than the value obtained
  by a previous call.
2004-08-28 12:32:48 +00:00
kent
4f9d67091a add debug code for ac97_write().
It is enabled by defining AC97_IO_DEBUG.
2004-08-28 07:02:11 +00:00
bouyer
80620a83a7 Improve handling of memory shortage, to fix problems like:
sd3(mpt0:0:1:0): unable to allocate scsipi_xfer
sd3: not queued, error 12
Havard Eidnes's analysis of this problem is that the scsipi_xfer pool is
competing for resources with other pools, including the the inode and vnode
pools which can grow quite large.

*_scsipi_cmd(): don't biodone the buffer if scsipi_make_xs() fails, let the
   caller deal with the problem
start function of block devices drivers: dequeue the buffer after the
   scsipi_command() call. If scsipi_command() fails with ENOMEM don't dequeue
   the buffer, and schedule a callout to call the start function after
   some delay.
scsipi_init(): prime the scsipi_xfer_pool with one page. This ensure that
   there is always some scsipi_xfer to play with. If scsipi_command() fails
   because of pool_get(), we're sure there will be resources available later,
   when the pending commands have completed.

Reviewed by Jason Thorpe and Havard Eidnes.
Todo: remove the "unable to allocate scsipi_xfer" and "not queued, error %d"
printfs, but I choose to keep them for now, to help make sure the code does
what it should.
2004-08-27 20:37:28 +00:00
oster
bcb300782d Correct some RF_ASSERTS() that were missed when fixing memory issues
with this code.  Thanks to palle at lyckegaard.dk for pointing them
out.  Addresses PR#26776 (but doesn't use all the suggested fixes).
2004-08-27 15:55:50 +00:00
skrll
685703c354 Do previous slightly differently - just pass a struct lwp * and derive the
struct proc *.

OK'd by Jaromir.
2004-08-27 07:02:45 +00:00
itojun
3b68465490 as we use arc4random(9) for random number, we no longer need to reseed random
number.  noted by rwatson@freebsd
2004-08-27 04:56:16 +00:00
thorpej
523f87a2ce PTDpaddr -> PDPpaddr 2004-08-27 03:51:34 +00:00
lukem
ce0391e266 Minor cosmetic consistency tweaks, from Damien. 2004-08-27 00:02:02 +00:00
thorpej
96663f19df Use ANSI function decls, more static. 2004-08-26 18:38:19 +00:00
drochner
5b0932cc68 kick out the ioasic offset check which happens in submatch() now 2004-08-26 18:07:12 +00:00
drochner
131be74c33 turn the (unused) ioasic_submatch() function into something useful, use
the locator passing variant of config_found(), get rid of the macros
hiding cfdata accesses and include "locators.h" from the .c file only
2004-08-26 18:06:20 +00:00
drochner
73286594a1 some cleanup: use the locator-passing variant of config_found(), get
the macros just hiding cfdata members out of tcvar.h and include
"locators.h" only in the .c file
2004-08-26 17:57:00 +00:00
oster
da1725a116 rf_CheckLabels() needs to die, but for now, we patch it by setting
fatal_error when too_fatal is set, and by setting fatal_error in a
couple other critical cases.
2004-08-26 17:09:18 +00:00
jkunz
6c6c2be95f Remove race conditions caused by the CPU cache of PA7100 CPUs. 2004-08-26 16:56:07 +00:00
jkunz
70b14a8138 Add support for shareing PCI interrupts and PCI-PCI bridges. 2004-08-26 16:52:27 +00:00
jkunz
1035c6af08 Import STI wscons(4) driver from OpenBSD and add new driver for PS/2
keyboard / mouse pots of LASI.
2004-08-26 16:48:06 +00:00
itohy
318777e22f Add njs to some generic config files (I tested on i386 and sparc64). 2004-08-26 14:33:01 +00:00
itohy
bb5bb52e57 Add njs.4 2004-08-26 14:19:55 +00:00
itohy
1d4f1abb08 Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs) 2004-08-26 14:13:46 +00:00
itohy
d1112abfcc Regen from pcidevs rev 1.647. 2004-08-26 13:16:08 +00:00
itohy
2e477d0c91 Add Workbit NinjaSCSI-32 PCI/CardBus products. 2004-08-26 13:14:59 +00:00
junyoung
581cbf8089 As suggested on tech-kern@ days ago:
* Get rid of PTmap, PTD, PTDpde, APTmap, APTD, and APTDpde from locore.S.
* Rename PTDpaddr to PDPpaddr, ptdpaddr in struct cpu_kcore_hdr to pdppaddr for consistency.
2004-08-26 10:12:33 +00:00
reinoud
943622e723 Delay initialisation of shadow registers. Tested on a Shark. 2004-08-25 13:06:16 +00:00
reinoud
b4f746a195 Increase space reserved for symbol space. As of the kernel i build it
needed at least a 255344 bytes while 242000 was reserved. Bumped it a few
kb higher to reduce symbol table fill too soon again.
2004-08-25 12:24:48 +00:00
he
b23dd66ac3 It's atac_pio_cap, not atac_PIO_cap. I wonder how I could get this
to compile earlier...
2004-08-25 10:40:15 +00:00
itojun
9ac7900a84 bug reported by millert@openbsd:
> Call dom_dispose() for any SCM_RIGHTS message that went through the
> read path rather than recv.  Previously, if an fd was passed via
> sendmsg() but was consumed by the receiver via read() the ref count
> was incremented and never decremented and so the ref count would
> never reach zero even when there was no long any processes holding
> the file open (this was especially bad for locked fds).
2004-08-25 09:03:23 +00:00
matt
e4726fc65d Add pmap counters for reclaimed pvos and for the times a pvo could not be
obtained.
Switch to EVCNT_ATTACH_STATIC*
In DEBUG/DIAGNOSTIC, decrement/increment pmap_pvo_enter_depth around pool
calls since they could possibly cause a recursion back into pmap_pvo_enter.
2004-08-24 21:31:49 +00:00
yamt
4fd5a025bf nfs_request: a workaround for servers doing "maproot".
for i/o requests which are expected not to fail due to permission
to mimic unix file open semantics (READ, WRITE, COMMIT),
try two credentials.  namely, the file owner's one and open time one.
remember which credential worked in per-file basis and try it first
next time to minimize number of retries.
ideas from Chuck Silvers.  PR/23716 and PR/24987.
2004-08-24 20:09:44 +00:00
jdolecek
b63de69b76 fix debug printf - lm_addr is not pointer anumore 2004-08-24 17:41:54 +00:00
thorpej
8b2ffcedfc Use ANSI function decls and more use of static. 2004-08-24 00:53:28 +00:00
thorpej
45bd8be9fa Protect against multiple inclusion. 2004-08-23 23:17:54 +00:00
bouyer
89817e7217 Revert 1.12, it cause problems on promise controllers, as reported in
PR kern/26568 by Paul Shupak.
2004-08-23 21:30:35 +00:00
nathanw
05e0a219ae Don't prohibit DDB and KGDB together. 2004-08-23 20:55:03 +00:00
thorpej
8fa139d957 Use the RET macro, rather than "bx lr" unconditionally. Makes this file
compile again for the INTEGRATOR configuration.
2004-08-23 20:53:56 +00:00
bouyer
fabf6fa880 Fix typo pointed out by Patrick Welche on current-users@ 2004-08-23 20:01:10 +00:00
jandberg
b58fddce90 Call wdc_init_shadow_regs() after data structures are filled in.
Idea monkeyed from a commit by <mycroft>; reviewed by <aymeric>.
2004-08-23 19:26:25 +00:00
drochner
baf74cd9d0 it is sufficient to include "locators.h" in cardbus.c 2004-08-23 18:21:51 +00:00
drochner
d9b1d2cfd2 kick out the error-prone handcrafted single-linked list of cardbus
functions; replace by a simple *array[8]
2004-08-23 17:52:45 +00:00
fvdl
e8af4bc978 Keep ioapic in the correct order in the global linked list that stores
them. Fixes cases where the ACPI SCI int has to be guessed, because there
are multiple ioapics in the system.
2004-08-23 17:24:23 +00:00
drochner
b2f07722fc make the "selective probing" work, and minor cleanup
(avoid using the macros which hide cfdata members, this doesn't help
for anything)
2004-08-23 16:41:48 +00:00
lukem
a3135cf216 enable ipw* (Intel PRO/Wireless 2100) 2004-08-23 14:04:45 +00:00
lukem
34a603de29 Add ipw(4) 2004-08-23 12:03:25 +00:00
lukem
6d906be913 NetBSD RCSID 2004-08-23 11:57:35 +00:00
lukem
a91684ce5d ipw(4) - Intel PRO/Wireless 2100 driver.
Written by Damien Bergamini, from http://damien.bergamini.free.fr/ipw/
2004-08-23 11:42:02 +00:00
he
764115cc85 Put an #ifdef _KERNEL around inline functions using panic().
Fixes compile problem for the atactl program for the vax target.
2004-08-23 10:08:48 +00:00
junyoung
b13abba3f6 Include libi386.h for function prototypes. 2004-08-23 09:45:53 +00:00
junyoung
26231e86a1 * Nuke __P().
* No need to use 'extern' for function prototypes.
2004-08-23 09:41:59 +00:00
aymeric
a225650d5c postpone the calling of wdc_init_shadow_regs(), to follow MI changes.
Thanks to Jukka Andberg for finding that bug.
2004-08-23 08:54:39 +00:00
dsl
3a67f25b17 Use := when saving ${.OBJDIR) - then we get the correct value! 2004-08-23 06:54:04 +00:00
dsl
c48b68dc4d Need to use := when evaluating ${.OBJDIR}, then the correct value
is passed into the subdir builds and the 'lib' objects are correctly shared.
Fixes PR/26554
2004-08-23 06:52:04 +00:00
dsl
5084a397e4 Increase space for boot parameters - needed for specifying serial port
IO address and long keyboard translation map.
2004-08-23 06:50:21 +00:00
thorpej
1efb3da0fb Make use of static. 2004-08-23 06:16:06 +00:00
thorpej
8aa1e65090 De-__P 2004-08-23 06:05:30 +00:00
thorpej
41e5f04cfd - Use ANSI function decls and make use of static. 2004-08-23 06:03:19 +00:00
thorpej
3e1286d67c - Use ANSI function decls.
- Sprinkle some static around.
- Sprinkle some const around.
2004-08-23 05:50:02 +00:00
thorpej
1a4f23700c Sprinkle static in a few places. 2004-08-23 05:39:46 +00:00
thorpej
4152bad13d Remove a comment that doesn't really make sense. 2004-08-23 05:38:15 +00:00
thorpej
a1bb10ef89 Use static in a few more places. 2004-08-23 05:37:42 +00:00
thorpej
878ac57b19 Protect against multiple inclusion. 2004-08-23 04:45:18 +00:00
thorpej
b8d3850087 Use ANSI function decls and more use of static. 2004-08-23 04:38:42 +00:00
thorpej
c5ed5cafd4 Protect against multiple inclusion. 2004-08-23 04:30:28 +00:00
chs
34187f4589 fix m_pulldown() usage, it's different from m_pullup().
fixes PRs 26666 and 26701.
2004-08-22 21:38:21 +00:00
jdolecek
c341a3a03a make struct linux_oldmmap members explicitly unsigned (with exception
of lm_fd, which can be -1), rename lm_pos to lm_offset, g/c some unneeded casts

no functional change
2004-08-22 15:40:41 +00:00
jandberg
a380c0363c pcf_io_map() was returning invalid bus space handles.
Generate them with bus_space_map() like suggested by <aymeric>.
2004-08-22 13:15:11 +00:00
junyoung
938fe5a686 Remove trailing spaces. 2004-08-22 06:46:34 +00:00
junyoung
905834c2fb Fix various typos in comments including ones that weren't noticed
for years.
2004-08-22 05:36:42 +00:00
thorpej
d0fcfb4c3a Use ANSI function decls and make use of static. 2004-08-21 23:48:33 +00:00
thorpej
d17a849385 Use ANSI function decls and make use of static. 2004-08-21 22:48:18 +00:00
cgd
61d7e536bd Fix my license notice. Back when hpux_exec.c was cloned from
sys/kern/exec_aout.c back in *1995*, apparently the line from my
license notice:
 *    must display the following acknowledgement:
was accidentally dropped.  This mistake was propagated into
hpux_exec_aout.c when it was split out of hpux_exec.c.
(Thanks to hubertf for noticing!)
2004-08-21 22:27:04 +00:00
thorpej
383b485d9a Make the product table static. 2004-08-21 22:23:13 +00:00
thorpej
83a43d11ff Use ANSI function decls and make use of static. 2004-08-21 22:16:07 +00:00
thorpej
4deb00f885 Use ANSI function decls and make use of static. 2004-08-21 22:02:31 +00:00
nisimura
2ded7c9cd6 Redo the previous adjustment work. 2004-08-21 21:46:54 +00:00
nisimura
e86b49fe3c Remove fluctuation of written name in alphabetical representation of
copyright holder.
2004-08-21 21:44:07 +00:00
thorpej
f6b6634f46 Oops, missed one in last. 2004-08-21 21:30:58 +00:00
thorpej
cb3eb355e7 Const poison scsipi_dtype(). 2004-08-21 21:30:29 +00:00
thorpej
be6339d21a Use ANSI function decls and make use of static. 2004-08-21 21:29:39 +00:00