Commit Graph

189260 Commits

Author SHA1 Message Date
dyoung a75c1e887e Use the PCI BAR type to decide which I/O enables to set.
TBD: Put back the old BAR #definition, s/PCI_BAR(0)/PCI_HME_BASEADDR/.
2010-03-23 21:22:25 +00:00
dyoung 8c6df9756c dmaiot is supposed to be a bus_space_tag_t, not a bus_space_handle_t.
Make it so.
2010-03-23 21:18:23 +00:00
drochner 1982972a07 catch up with the __RENAME of nanosleep(2) a while ago, otherwise we
get the compatibility function which assumes a different struct timespec
2010-03-23 20:35:44 +00:00
drochner 71380b75fd pull in some more headers to get prototypes into scope, and, more
importantly, the __RENAME of pollts(2)
2010-03-23 20:32:13 +00:00
drochner ebfe3c0a28 remove some stray __weak_aliases, where the target functions were
__RENAMEd due to the time_t/dev_t type changes, which caused bogus
references to compat functions
now a libc built with BUILDCOLD is usable
2010-03-23 20:28:58 +00:00
martin d6bdba5871 Properly convert values according to block size differences between the
underlying device (might be a CD drive) and the sun label when carrying
over defaults from a ISO9660 partition.
2010-03-23 20:01:09 +00:00
jakllsch 4af989b1cc Make device node for altq JoBS.
Should fix palindromic PR/43034.
2010-03-23 19:22:41 +00:00
jakllsch 4a4de35bc7 This actually wasn't (completely) replaced by a shell script, restore. 2010-03-23 19:19:03 +00:00
martin ce69648c34 If we find a device in non-2048 byte/block mode and manage to switch
it over, we need to adjust the capacity - so just read it again.
2010-03-23 18:56:18 +00:00
dholland 1021e8e12c bump date for previous 2010-03-23 18:09:16 +00:00
dholland bf1e7b508d The -X option of tar names a file containing exception globs, not
exception filenames, same as in gtar. PR 41168 from Perry.
2010-03-23 17:21:40 +00:00
pgoyette bc480daf7a Additional info in DPRINTF to help debugging efforts 2010-03-23 16:52:02 +00:00
wiz 8cfc95441e Add "The pkgsrc developers" to guide authors. 2010-03-23 16:04:45 +00:00
wiz 96459bba41 New sentence, new line. 2010-03-23 16:03:33 +00:00
jakllsch 165a0cf70b Rework module/builtin code so it works in both cases.
(Tested recently in the module case, slightly less recently as builtin.)

<haad> [if it works] go for it
2010-03-23 15:09:45 +00:00
tsutsui cc3237841a Note atari SMC_TT in SYNOPSIS. 2010-03-23 14:51:49 +00:00
martin 5a5dcf5530 Make cdclose() silent, if we only have the raw partition open (e.g. when
probing for media and not finding any)
2010-03-23 12:42:55 +00:00
njoly 712d8d88f4 Add some missing aprint_naive calls. 2010-03-23 12:13:28 +00:00
kiyohara 0a3072f764 Remove unused Makefile.obs200.inc since 'support OpenBlockS600'. 2010-03-23 10:19:35 +00:00
jruoho b31b01556e Wrap the pkgsrc guide and its URL around .Rs/.Re. 2010-03-23 07:45:58 +00:00
jruoho 55ae768b6c General update. 2010-03-23 07:43:54 +00:00
jruoho c64c357910 Fix the CTL_DDB definitions (DDBCTL_XXX, not DBCTL_XXX). 2010-03-23 05:54:34 +00:00
jruoho 05ddae5e57 Document the following: ddb.maxwidth, ddb.tee_msgbuf, and ddb.commandonenter. 2010-03-23 05:52:43 +00:00
mrg c7d0a3b0b6 only apply the satalink 3112 rev 0.1 and earlier to actual 3112 based
cards, not eg, 3512 cards.

should help performance for 3512 cards, derived from discussions in
PR#42980: satalink DMA fails under amd64.
2010-03-23 03:24:53 +00:00
skrll 8967096e0f Wrap long line. 2010-03-22 23:29:11 +00:00
skrll b5666630f1 Whitespace / comment formatting. 2010-03-22 23:27:05 +00:00
skrll 37e6252e6f Improve the output from frame_sanity_check. 2010-03-22 23:26:06 +00:00
dyoung 62b209d568 A lot of good it does to printf() a bus_space_tag_t. Don't do it. 2010-03-22 23:21:29 +00:00
dyoung 5b5c3a7fb8 pckbc.c, vga.c: It doesn't appear to be helpful to compare two
bus_space_tag_t's in pckbc_is_console() and vga_is_console(), and MI
    code should never do such a thing, so don't do it.

tcic2.c: #if 0 some diagnostic code that compares two bus_space_tag_t's.
2010-03-22 23:08:34 +00:00
dyoung 51ff4e6509 ex_softc.ex_bustype is written but never read. Just get rid of it. 2010-03-22 23:03:30 +00:00
dyoung 3feffcb736 Set/test sc_csr_memmapped instead of comparing bus_space_tag_t's. 2010-03-22 23:01:10 +00:00
dyoung e4be36cf6a sc_csr_memmapped is true iff the device registers are memory-mapped. 2010-03-22 23:00:47 +00:00
dyoung 6b732a0da7 MI code should not compare bus_space_tag_t! Introduce tags_are_equal()
for "comparing" two bus_space_tag_t's.  It is always true.

Everywhere that com(4) compares two tags, it compares to I/O base
addresses, too; comparing the base addresses should suffice.

TBD Clean this up more thoroughly.
2010-03-22 23:00:08 +00:00
christos f576147073 https://bugzilla.redhat.com/show_bug.cgi?id=575383
Handle EINTR properly.
2010-03-22 22:59:06 +00:00
dyoung 775885a345 MI code must not printf() a bus_space_tag_t, so don't do that. 2010-03-22 22:41:59 +00:00
dyoung 04ac8ab807 Activate PCI memory-mapped I/O access in the PCI Control and Status
Register if the PCI BAR is the memory-mapped type.  The driver used to
decide whether to activate memory-mapped access by testing the truth of
pci_attach_args.pa_memt; that isn't MI, and it doesn't make sense.
2010-03-22 22:39:48 +00:00
dyoung 4d3f510cc9 #if 0 some diagnostic code that compares two bus_space_tag_t's.
MI code should not compare an opaque type such as bus_space_tag_t!
2010-03-22 22:36:07 +00:00
dyoung 8b0029011b isadma.c: #if 0 some diagnostic code that compares two bus_space_tag_t's.
pcdisplay.c: #if 0 some code that compares two bus_space_tag_t's
    in order to see if pcdisplay0 is console.  It does not seem to
    be helpful to compare the tags; maybe the author intended to
    compare some other bus property?

MI code should not compare an opaque type such as bus_space_tag_t!
2010-03-22 22:30:58 +00:00
dyoung f5423e5e40 Do not disestablish the interrupt handler inside of the interrupt
handler!  Stops a crash on the HP Pavilion N3270.

Cosmetic: sc->ih is a pointer, so set to NULL instead of 0.  Compare
with NULL instead of testing truth.
2010-03-22 22:25:26 +00:00
dyoung 401bfe53f2 #if 0 some diagnostic code that compares two bus_space_tag_t's. MI code
should not compare an opaque type such as bus_space_tag_t!
2010-03-22 22:22:57 +00:00
drochner 713b10dc38 When choosing the start address of a dynamic (ie relocatable) executable,
respect the alignment in the ELF phdr.
Also, for correctness, use the maximum alignment of the PT_LOAD
sections rather than just the first one found.
Also, use more meaningful types.
2010-03-22 22:10:10 +00:00
bouyer 5b2d9a3c1c bus_dmamem_alloc() may not get a boundary smaller than size, but
it's perfectly valid for bus_dmamap_create() to do so (a contigous
transfers will then split in multiple segment).
Fix _xen_bus_dmamem_alloc_range() and _bus_dmamem_alloc_range() to
allow a boundary limit smaller than size:
- compute appropriate boundary for uvm_pglistalloc(), wich doesn't
  accept boundary < size
- also take care of boundary when deciding to start a new segment.
While there, remove useless boundary argument to _xen_alloc_contig().
Fix the boundary-related issue of PR port-amd64/42980
2010-03-22 22:03:30 +00:00
joerg e382e1d38b Use .In instead of .Aq Pa and variantes for header files. 2010-03-22 22:00:37 +00:00
joerg f63b030c15 Use .In instead of .Ar Pa for header files. 2010-03-22 21:58:31 +00:00
joerg f70c7c0422 Use .In instead of .Ar Pa 2010-03-22 21:56:05 +00:00
joerg 3c70878e9a Use .In instead of .Ar Pa for headers. 2010-03-22 21:55:06 +00:00
pooka 07cd2d7f41 Use DIOCTUR to test if a newly configured CD drive is ready instead
of playing a random waiting game.
2010-03-22 20:37:26 +00:00
joerg 1c3412fa2f Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00
joerg 5e015e5e29 Use .In instead of .Aq Pa for header files. 2010-03-22 18:58:31 +00:00
joerg d76767ed61 - Use .Li for head line in .Bl too.
- Do not use headers as example for .Aq, they should be marked up with
  .In
- Drop the use of .Xo/.Xc
- Make sure to quote .Sh as argument to .Bl. groff warns about the list
  otherwise and the size computation was off anyway as the string is
  used as literal later.
2010-03-22 18:51:32 +00:00