Commit Graph

188504 Commits

Author SHA1 Message Date
dyoung
4ce33933f8 Cardbus_free_tag() and cardbus_free_tag() are no-ops, so get rid of them
to simplify the code a bit.
2010-02-25 00:47:39 +00:00
darran
bb7c1e9274 DTrace: fix CTF tools for non-toolchain build. 2010-02-25 00:18:44 +00:00
darran
84501f8fef DTrace: have DTrace build with out requiring MKZFS=yes. 2010-02-25 00:14:10 +00:00
dyoung
6f92774f38 Use device_suspensor_t. 2010-02-24 23:52:49 +00:00
dyoung
7fbd1e3f5b Update the doco, just in case somebody adds a new CardBus driver
before I've finished tucking CardBus under the PCI abstraction,
unlikely though that is.
2010-02-24 23:49:34 +00:00
dyoung
7c4be3328d Start to tuck Cardbus under the PCI abstraction. Step #1, textual
substitution: for all practical purposes, pcitag_t and cardbustag_t are
interchangeable, so just use pcitag_t.  Ditto pcireg_t and cardbusreg_t.

Poison new uses of cardbusreg_t and cardbustag_t by deleting the type
definitions.
2010-02-24 23:38:40 +00:00
pgoyette
c138fa58da Fix handling of 6bit VID register (6th bit takes place of 12VIn sensor).
Move VID out of sysctl tree - make it a separate sensor of type INTEGER.

Clean-up some of the chip-descriptors.
2010-02-24 23:37:45 +00:00
dyoung
197d9d4ff8 Use device_private(). 2010-02-24 23:03:00 +00:00
dyoung
66bdd36fe9 Use device_t, device_private(). 2010-02-24 22:58:45 +00:00
dyoung
c1b390d493 A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.
2010-02-24 22:37:54 +00:00
darran
89300bd9df DTrace: Get the CTF tools building as part of the toolchain. 2010-02-24 21:53:26 +00:00
darran
ec591d7fd5 DTrace: add CTF tools to the toolchain (not built yet). 2010-02-24 21:34:57 +00:00
dyoung
7e2170d1cd KNF: change spaces to tabs. 2010-02-24 21:34:23 +00:00
dyoung
71e3c83259 Don't bother to #define PCI_PREFER_IOSPACE, nothing uses it. 2010-02-24 21:25:51 +00:00
dyoung
440f38e104 Change 'typedef void *pci_chipset_tag_t' to 'typedef struct
pci_chipset_tag *pci_chipset_tag_t' for an improvement in type safety.
(Back when I did the same for cardbus_chipset_tag_t, it helped to turn
up some bugs!)
2010-02-24 21:24:20 +00:00
dyoung
e43ae59b99 Rename to 'pc' all variables 'pci_chipset_tag'. 2010-02-24 21:22:01 +00:00
darran
9f15b3a450 Fix a bug in the dtrace_state_deadman() thread; return should have been
a continue (thanks Frank!).
2010-02-24 21:08:54 +00:00
dyoung
8089c2dc69 Start to tuck Cardbus under the PCI abstraction. Step #1, textual
substitution: for all practical purposes, pcitag_t and cardbustag_t
are interchangeable, so just use pcitag_t.  Ditto pcireg_t and
cardbusreg_t.

While I'm here, don't make a copy (sc_intrline) of
cardbus_attach_args.ca_intrline unless we use it, later.
2010-02-24 19:52:51 +00:00
reinoud
e1abb93a90 Rename metadata partition parameters to be less generic and add the flags. 2010-02-24 19:20:13 +00:00
reinoud
a8903501c1 Extract UDF metadata partition parameters as already done for VAT and sparable
partitions.
2010-02-24 19:14:12 +00:00
skrll
952a515d7e Typo in comment. 2010-02-24 19:12:12 +00:00
drochner
aaf6e48436 map some more punctuation to more or less good replacements in the IBM
character set
2010-02-24 18:33:45 +00:00
dyoung
3def77969b Start to tuck Cardbus under the PCI abstraction. Step #1, textual
substitution: for all practical purposes, pcitag_t and cardbustag_t
are interchangeable, so just use pcitag_t.
2010-02-24 18:16:50 +00:00
dyoung
9e575a840e Mark some suspicious ENODEV returns (should be ENXIO?) with comments. 2010-02-24 17:59:33 +00:00
plunky
c672648cd8 print end of line before getting the descriptor as it sleeps 2010-02-24 17:34:56 +00:00
plunky
7e131adc8e use # for include directive, just because.. 2010-02-24 17:00:25 +00:00
uebayasi
af0ced746a Merge more indirect functions. Some comments. 2010-02-24 15:58:26 +00:00
tron
3d553f9ca7 Disable stack protection warnings for more sources which use dynamically
sized stack buffers.
2010-02-24 15:40:54 +00:00
tsutsui
2232ac2075 Use roundup2() in <sys/param.h> rather than a conditional. 2010-02-24 15:18:15 +00:00
tsutsui
48df35bd24 Now dp8390_config() calculates mem_ring correctly so
no longer need to override it in ne2000_attach().
2010-02-24 15:13:34 +00:00
pooka
1142233da6 Expose rump_schedule() and rump_unschedule(). These can be used
for wrapping application space calls to the rump kernel without
having to do heavyweight interface specification with ifspec.
2010-02-24 14:56:04 +00:00
hannken
626b19f88a Dont pass option -x down to fsck_xxxfs.
Hi christos ...
2010-02-24 13:56:07 +00:00
tsutsui
07b15f7d28 Fix a wrong calculation bug around RX ring buffer memory address
slipped in about sixteen years ago.  Fortunately, it had been working
for ages because some devices used address zero and other devices
ignored wrong higher bits.

Tested on we(4) (SMC Elite Ultra) and ne(4) (NE2000 compatible
named UL0001) on ISA.
Note FreeBSD also uses the same correct value in their ed(4) driver.
2010-02-24 13:10:26 +00:00
drochner
d32fd438b1 document wsyncup/wsyncdown/wcursyncup 2010-02-24 13:02:13 +00:00
tron
ab396280fe Disable stack protection warnings for sources which use dynamically
sized stack buffers.
2010-02-24 12:51:05 +00:00
kiyohara
5401ccaba6 Fix porting miss.
However this change in between #ifdef notyet and #endif.
  Thanks for fukaumi.
2010-02-24 12:29:47 +00:00
tron
00ff80736e Include "bsd.own.mk" before checking "MKDTRACE" to allow setting it
in "/etc/mk.conf".
2010-02-24 12:18:37 +00:00
tron
235f29a8f3 Disable stack protection warnings for "zdb_il.c" which uses a dynamically
sized array on the stack.
2010-02-24 11:56:35 +00:00
pooka
bc1cf39b94 Add -h, which makes output of bytes counts "humanized" (e.g. -bih)
(netstat had -h some 15 years ago, but since then it has been just
a fancy way of calling usage())
2010-02-24 11:00:27 +00:00
tron
2897183305 Fix build of the "dtrace" kernel module. 2010-02-24 10:18:19 +00:00
mrg
321846985a check for TLB_V bit for valid tte entries, not against zero.
KASSERT() the 3rd call to pseg_get() in pmap_page_cache() like the other 2.
2010-02-24 10:11:53 +00:00
mrg
becc426fb8 when handing back page table pages to UVM, flush them from the dcache
on all CPUs.

idea from skrll@, and makes my disk-based SB2000 stable.

tested on U60, SB2000 and SB2500.
2010-02-24 09:49:36 +00:00
wiz
506778b851 New sentence, new line; remove trailing whitespace. 2010-02-24 08:22:58 +00:00
skrll
243d3947d4 s/printf/db_printf/ in a few places. 2010-02-24 06:38:53 +00:00
skrll
6a02363785 Typo in comment 2010-02-24 06:34:55 +00:00
uebayasi
f736e76fa5 uvm_fault_upper_lookup, uvm_fault_upper_neighbor: There is no point to call
pmap_update() without calling pmap_enter().

(Probably calling only once after loop (as done in uvm_fault_lower_lookup())
is enough.  If done so, other threads see entered neighbor pages as reflected
a little latter.)
2010-02-24 06:18:19 +00:00
mrg
d098c87db8 fix MULTIPROCESSOR build for previous. 2010-02-24 06:05:35 +00:00
uebayasi
efa838c11f Minor clean up. 2010-02-24 05:26:28 +00:00
uebayasi
a9659a6dfb Revert a thinko. 2010-02-24 05:00:55 +00:00
mrg
87eb5c0788 move the tlb flush routines into cache.h to avoid machine/pmap.h polution. 2010-02-24 04:48:28 +00:00